30 for (U32 index = 0; index <
SIZE; index++) {
31 this->elements[index] = a[index];
39 this->elements[0] = e1;
46 for (U32 index = 0; index <
SIZE; index++) {
47 this->elements[index] = obj.elements[index];
59 return this->elements[i];
66 return this->elements[i];
76 for (U32 index = 0; index <
SIZE; index++) {
77 this->elements[index] = obj.elements[index];
85 for (U32 index = 0; index <
SIZE; index++) {
86 this->elements[index] = a[index];
94 for (U32 index = 0; index <
SIZE; index++) {
95 this->elements[index] = e;
103 for (U32 index = 0; index <
SIZE; index++) {
104 if (!((*
this)[index] == obj[index])) {
114 return !(*
this == obj);
119 std::ostream& operator<<(std::ostream& os,
const BuffQueueDepth& obj) {
136 for (U32 index = 0; index <
SIZE; index++) {
137 status = buffer.
serialize((*
this)[index]);
149 for (U32 index = 0; index <
SIZE; index++) {
158 #if FW_SERIALIZABLE_TO_STRING
160 void BuffQueueDepth ::
163 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::Buffer types.
@ SIZE
The size of the array.
U32 ElementType
The element type.
bool operator==(const BuffQueueDepth &obj) const
Equality operator.
bool operator!=(const BuffQueueDepth &obj) const
Inequality operator.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialization.
BuffQueueDepth()
Constructor (default value)
BuffQueueDepth & operator=(const BuffQueueDepth &obj)
Copy assignment operator (object)
ElementType & operator[](const U32 i)
Subscript operator.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialization.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.