58 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
59 return this->elements[i];
65 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
66 return this->elements[i];
74 this->elements[index] = obj.elements[index];
84 this->elements[index] = a[index];
90 operator=(
const std::initializer_list<ElementType>& il)
96 for (
const auto& e : il) {
97 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
98 this->elements[i] = e;
108 this->elements[index] = e;
117 if (!((*
this)[index] == obj[index])) {
127 return !(*
this == obj);
132 std::ostream& operator<<(std::ostream& os,
const ComQueueDepth& obj) {
177 #if FW_SERIALIZABLE_TO_STRING 179 void ComQueueDepth ::
194 tmp.
format(
"%" PRIu32
"", this->elements[index]);
Serialization/Deserialization operation was successful.
PlatformSizeType FwSizeType
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer) const
Serialization.
ComQueueDepth & operator=(const ComQueueDepth &obj)
Copy assignment operator (object)
The size of the serial representation.
Array of queue depths for Fw::Com types.
SerializeStatus
forward declaration for string
SizeType maxLength() const
Get the maximum length of a string that the buffer can hold (which is capacity - 1) ...
bool operator==(const ComQueueDepth &obj) const
Equality operator.
ElementType & operator[](const FwSizeType i)
Subscript operator.
FwSizeType serializedSize() const
Get the dynamic serialized size of the array.
bool operator!=(const ComQueueDepth &obj) const
Inequality operator.
ComQueueDepth()
Constructor (default value)
SizeType length() const
Get length of string.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
RateGroupDivider component implementation.
SerializeStatus serializeFrom(U8 val)
serialize 8-bit unsigned int
U32 ElementType
The element type.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer)
Deserialization.
SerializeStatus deserializeTo(U8 &val)
deserialize 8-bit unsigned int