![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Array of queue depths for Fw::Com types. More...
#include <Svc/ComQueue/ComQueueDepthArrayAc.hpp>
Public Types | |
| enum | { SIZE = 2, ELEMENT_SERIALIZED_SIZE = sizeof(U32), SERIALIZED_SIZE = SIZE * ELEMENT_SERIALIZED_SIZE } |
| using | ElementType = U32 |
| The element type. More... | |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| ComQueueDepth () | |
| Constructor (default value) More... | |
| ComQueueDepth (const ElementType(&a)[SIZE]) | |
| Constructor (primitive array) More... | |
| ComQueueDepth (const ElementType &e) | |
| Constructor (single element) More... | |
| ComQueueDepth (const std::initializer_list< ElementType > &il) | |
| Constructor (initializer list) More... | |
| ComQueueDepth (const ComQueueDepth &obj) | |
| Copy constructor. More... | |
| ElementType & | operator[] (const FwSizeType i) |
| Subscript operator. More... | |
| const ElementType & | operator[] (const FwSizeType i) const |
| Const subscript operator. More... | |
| ComQueueDepth & | operator= (const ComQueueDepth &obj) |
| Copy assignment operator (object) More... | |
| ComQueueDepth & | operator= (const ElementType(&a)[SIZE]) |
| Copy assignment operator (primitive array) More... | |
| ComQueueDepth & | operator= (const std::initializer_list< ElementType > &il) |
| Copy assignment operator (initializer list) More... | |
| ComQueueDepth & | operator= (const ElementType &e) |
| Copy assignment operator (single element) More... | |
| bool | operator== (const ComQueueDepth &obj) const |
| Equality operator. More... | |
| bool | operator!= (const ComQueueDepth &obj) const |
| Inequality operator. More... | |
| Fw::SerializeStatus | serializeTo (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const |
| Serialization. More... | |
| Fw::SerializeStatus | deserializeFrom (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) |
| Deserialization. More... | |
| FwSizeType | serializedSize () const |
| Get the dynamic serialized size of the array. More... | |
Public Member Functions inherited from Fw::Serializable | |
| Serializable & | operator= (const Serializable &src)=default |
| TODO: this operator should be deleted, this must be done after RawTime is modified though. More... | |
| DEPRECATED (SerializeStatus serialize(SerialBufferBase &buffer) const, "Use serializeTo(SerialBufferBase& buffer) instead") | |
| DEPRECATED (SerializeStatus deserialize(SerialBufferBase &buffer), "Use deserializeFrom(SerialBufferBase& buffer) instead") | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
Array of queue depths for Fw::Com types.
Definition at line 20 of file ComQueueDepthArrayAc.hpp.
| using Svc::ComQueueDepth::ElementType = U32 |
The element type.
Definition at line 31 of file ComQueueDepthArrayAc.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 39 of file ComQueueDepthArrayAc.hpp.
| Svc::ComQueueDepth::ComQueueDepth | ( | ) |
Constructor (default value)
Definition at line 17 of file ComQueueDepthArrayAc.cpp.
| Svc::ComQueueDepth::ComQueueDepth | ( | const ElementType(&) | a[SIZE] | ) |
Constructor (primitive array)
| a | The array |
Definition at line 24 of file ComQueueDepthArrayAc.cpp.
|
explicit |
Constructor (single element)
| e | The element |
Definition at line 31 of file ComQueueDepthArrayAc.cpp.
| Svc::ComQueueDepth::ComQueueDepth | ( | const std::initializer_list< ElementType > & | il | ) |
Constructor (initializer list)
| il | The initializer list |
Definition at line 38 of file ComQueueDepthArrayAc.cpp.
| Svc::ComQueueDepth::ComQueueDepth | ( | const ComQueueDepth & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 45 of file ComQueueDepthArrayAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 161 of file ComQueueDepthArrayAc.cpp.
| bool Svc::ComQueueDepth::operator!= | ( | const ComQueueDepth & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 124 of file ComQueueDepthArrayAc.cpp.
| ComQueueDepth & Svc::ComQueueDepth::operator= | ( | const ComQueueDepth & | obj | ) |
Copy assignment operator (object)
| obj | The source object |
Definition at line 70 of file ComQueueDepthArrayAc.cpp.
| ComQueueDepth & Svc::ComQueueDepth::operator= | ( | const ElementType(&) | a[SIZE] | ) |
Copy assignment operator (primitive array)
| a | The source array |
Definition at line 81 of file ComQueueDepthArrayAc.cpp.
| ComQueueDepth & Svc::ComQueueDepth::operator= | ( | const std::initializer_list< ElementType > & | il | ) |
Copy assignment operator (initializer list)
| il | The initializer list |
Definition at line 90 of file ComQueueDepthArrayAc.cpp.
| ComQueueDepth & Svc::ComQueueDepth::operator= | ( | const ElementType & | e | ) |
Copy assignment operator (single element)
| e | The element |
Definition at line 104 of file ComQueueDepthArrayAc.cpp.
| bool Svc::ComQueueDepth::operator== | ( | const ComQueueDepth & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 113 of file ComQueueDepthArrayAc.cpp.
| ComQueueDepth::ElementType & Svc::ComQueueDepth::operator[] | ( | const FwSizeType | i | ) |
Subscript operator.
| i | The subscript index |
Definition at line 56 of file ComQueueDepthArrayAc.cpp.
| const ComQueueDepth::ElementType & Svc::ComQueueDepth::operator[] | ( | const FwSizeType | i | ) | const |
Const subscript operator.
| i | The subscript index |
Definition at line 63 of file ComQueueDepthArrayAc.cpp.
| FwSizeType Svc::ComQueueDepth::serializedSize | ( | ) | const |
Get the dynamic serialized size of the array.
Definition at line 177 of file ComQueueDepthArrayAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 145 of file ComQueueDepthArrayAc.cpp.