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];
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];
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++) {
149 for (U32 index = 0; index <
SIZE; index++) {
164 #if FW_SERIALIZABLE_TO_STRING 166 void BuffQueueDepth ::
179 for (U32 index = 0; index <
SIZE; index++) {
181 tmp.
format(
"%" PRIu32
"", this->elements[index]);
Serialization/Deserialization operation was successful.
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer) const
Serialization.
PlatformSizeType FwSizeType
bool operator==(const BuffQueueDepth &obj) const
Equality operator.
FwSizeType serializedSize() const
Get the dynamic serialized size of the array.
U32 ElementType
The element type.
SerializeStatus
forward declaration for string
SizeType maxLength() const
Get the maximum length of a string that the buffer can hold (which is capacity - 1) ...
Array of queue depths for Fw::Buffer types.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer)
Deserialization.
SizeType length() const
Get length of string.
BuffQueueDepth & operator=(const BuffQueueDepth &obj)
Copy assignment operator (object)
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
BuffQueueDepth()
Constructor (default value)
The size of the serial representation.
RateGroupDivider component implementation.
SerializeStatus serializeFrom(U8 val)
serialize 8-bit unsigned int
ElementType & operator[](const U32 i)
Subscript operator.
bool operator!=(const BuffQueueDepth &obj) const
Inequality operator.
SerializeStatus deserializeTo(U8 &val)
deserialize 8-bit unsigned int