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];
70 operator[](
const U32 i)
73 return this->elements[i];
77 operator[](
const U32 i)
const
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;
114 bool ComQueueDepth ::
117 for (U32 index = 0; index < SIZE; index++) {
118 if (!((*
this)[index] == obj[index])) {
125 bool ComQueueDepth ::
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.
@ SIZE
The size of the array.
ComQueueDepth()
Constructor (default value)
U32 ElementType
The element type.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.