31 for (U32 index = 0; index <
SIZE; index++) {
32 this->elements[index] = a[index];
40 for (U32 index = 0; index <
SIZE; index++) {
41 this->elements[index] = e;
52 this->elements[0] = e1;
53 this->elements[1] = e2;
60 for (U32 index = 0; index <
SIZE; index++) {
61 this->elements[index] = obj.elements[index];
73 return this->elements[i];
80 return this->elements[i];
90 for (U32 index = 0; index <
SIZE; index++) {
91 this->elements[index] = obj.elements[index];
99 for (U32 index = 0; index <
SIZE; index++) {
100 this->elements[index] = a[index];
108 for (U32 index = 0; index <
SIZE; index++) {
109 this->elements[index] = e;
117 for (U32 index = 0; index <
SIZE; index++) {
118 if (!((*
this)[index] == obj[index])) {
128 return !(*
this == obj);
133 std::ostream& operator<<(std::ostream& os,
const ComQueueDepth& obj) {
150 for (U32 index = 0; index <
SIZE; index++) {
151 status = buffer.
serialize((*
this)[index]);
163 for (U32 index = 0; index <
SIZE; index++) {
172 #if FW_SERIALIZABLE_TO_STRING
174 void ComQueueDepth ::
177 static const char *formatString =
"[ "
PlatformAssertArgType FwAssertArgType
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
Array of queue depths for Fw::Com types.
ElementType & operator[](const U32 i)
Subscript operator.
bool operator==(const ComQueueDepth &obj) const
Equality operator.
@ SIZE
The size of the array.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialization.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialization.
ComQueueDepth & operator=(const ComQueueDepth &obj)
Copy assignment operator (object)
ComQueueDepth()
Constructor (default value)
bool operator!=(const ComQueueDepth &obj) const
Inequality operator.
U32 ElementType
The element type.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.