![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Array of queue depths for Fw::Buffer types. More...
#include <Svc/ComQueue/BuffQueueDepthArrayAc.hpp>
Public Types | |
| enum | { SIZE = 1 , ELEMENT_SERIALIZED_SIZE = sizeof(U32) , SERIALIZED_SIZE = SIZE * ELEMENT_SERIALIZED_SIZE } |
| using | ElementType = U32 |
| The element type. | |
Public Types inherited from Fw::Serializable | |
| using | SizeType = NATIVE_UINT_TYPE |
Public Member Functions | |
| BuffQueueDepth () | |
| Constructor (default value) | |
| BuffQueueDepth (const ElementType(&a)[SIZE]) | |
| Constructor (user-provided value) | |
| BuffQueueDepth (const ElementType &e1) | |
| Constructor (multiple elements) | |
| BuffQueueDepth (const BuffQueueDepth &obj) | |
| Copy Constructor. | |
| ElementType & | operator[] (const U32 i) |
| Subscript operator. | |
| const ElementType & | operator[] (const U32 i) const |
| Const subscript operator. | |
| BuffQueueDepth & | operator= (const BuffQueueDepth &obj) |
| Copy assignment operator (object) | |
| BuffQueueDepth & | operator= (const ElementType(&a)[SIZE]) |
| Copy assignment operator (raw array) | |
| BuffQueueDepth & | operator= (const ElementType &e) |
| Copy assignment operator (single element) | |
| bool | operator== (const BuffQueueDepth &obj) const |
| Equality operator. | |
| bool | operator!= (const BuffQueueDepth &obj) const |
| Inequality operator. | |
| Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
| Serialization. | |
| Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
| Deserialization. | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. | |
| virtual | ~Serializable () |
| destructor | |
Array of queue depths for Fw::Buffer types.
Definition at line 18 of file BuffQueueDepthArrayAc.hpp.
| using Svc::BuffQueueDepth::ElementType = U32 |
The element type.
Definition at line 29 of file BuffQueueDepthArrayAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SIZE | The size of the array. |
| ELEMENT_SERIALIZED_SIZE | The serialized size of each element. |
| SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 37 of file BuffQueueDepthArrayAc.hpp.
| Svc::BuffQueueDepth::BuffQueueDepth | ( | ) |
Constructor (default value)
Definition at line 16 of file BuffQueueDepthArrayAc.cpp.
| Svc::BuffQueueDepth::BuffQueueDepth | ( | const ElementType(&) | a[SIZE] | ) |
Constructor (user-provided value)
| a | The array |
Definition at line 26 of file BuffQueueDepthArrayAc.cpp.
| Svc::BuffQueueDepth::BuffQueueDepth | ( | const ElementType & | e1 | ) |
Constructor (multiple elements)
| e1 | Element 1 |
Definition at line 35 of file BuffQueueDepthArrayAc.cpp.
| Svc::BuffQueueDepth::BuffQueueDepth | ( | const BuffQueueDepth & | obj | ) |
Copy Constructor.
| obj | The source object |
Definition at line 42 of file BuffQueueDepthArrayAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 145 of file BuffQueueDepthArrayAc.cpp.
| bool Svc::BuffQueueDepth::operator!= | ( | const BuffQueueDepth & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 111 of file BuffQueueDepthArrayAc.cpp.
| BuffQueueDepth & Svc::BuffQueueDepth::operator= | ( | const BuffQueueDepth & | obj | ) |
Copy assignment operator (object)
| obj | The source object |
Definition at line 69 of file BuffQueueDepthArrayAc.cpp.
| BuffQueueDepth & Svc::BuffQueueDepth::operator= | ( | const ElementType & | e | ) |
Copy assignment operator (single element)
| e | The element |
Definition at line 91 of file BuffQueueDepthArrayAc.cpp.
| BuffQueueDepth & Svc::BuffQueueDepth::operator= | ( | const ElementType(&) | a[SIZE] | ) |
Copy assignment operator (raw array)
| a | The source array |
Definition at line 82 of file BuffQueueDepthArrayAc.cpp.
| bool Svc::BuffQueueDepth::operator== | ( | const BuffQueueDepth & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 100 of file BuffQueueDepthArrayAc.cpp.
| BuffQueueDepth::ElementType & Svc::BuffQueueDepth::operator[] | ( | const U32 | i | ) |
Subscript operator.
| i | The subscript index |
Definition at line 55 of file BuffQueueDepthArrayAc.cpp.
| const BuffQueueDepth::ElementType & Svc::BuffQueueDepth::operator[] | ( | const U32 | i | ) | const |
Const subscript operator.
| i | The subscript index |
Definition at line 62 of file BuffQueueDepthArrayAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 132 of file BuffQueueDepthArrayAc.cpp.