34 for (U32 index = 0; index <
SIZE; index++) {
35 this->elements[index] = a[index];
43 this->elements[0] = e1;
50 for (U32 index = 0; index <
SIZE; index++) {
51 this->elements[index] = obj.elements[index];
63 return this->elements[i];
70 return this->elements[i];
80 for (U32 index = 0; index <
SIZE; index++) {
81 this->elements[index] = obj.elements[index];
89 for (U32 index = 0; index <
SIZE; index++) {
90 this->elements[index] = a[index];
98 for (U32 index = 0; index <
SIZE; index++) {
99 this->elements[index] = e;
107 for (U32 index = 0; index <
SIZE; index++) {
108 if (!((*
this)[index] == obj[index])) {
118 return !(*
this == obj);
123 std::ostream& operator<<(std::ostream& os,
const BuffQueueDepth& obj) {
140 for (U32 index = 0; index <
SIZE; index++) {
141 status = buffer.
serialize((*
this)[index]);
153 for (U32 index = 0; index <
SIZE; index++) {
162 #if FW_ARRAY_TO_STRING
164 void BuffQueueDepth ::
167 static const char *formatString =
"[ "
PlatformAssertArgType FwAssertArgType
#define FW_ARRAY_TO_STRING_BUFFER_SIZE
Size of string to store toString() string output.
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
Array of queue depths for Fw::Buffer types.
U32 ElementType
The element type.
@ SIZE
The size of the array.
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.