![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/Ccsds/SdlsSaRouter/config/SdlsSaRouterConfig/SaMapArrayAc.hpp>
Public Types | |
| enum | { SIZE = 2, ELEMENT_SERIALIZED_SIZE = Svc::Ccsds::SaMapEntry::SERIALIZED_SIZE, SERIALIZED_SIZE = SIZE * ELEMENT_SERIALIZED_SIZE } |
| using | ElementType = Svc::Ccsds::SaMapEntry |
| The element type. More... | |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| SaMap () | |
| Constructor (default value) More... | |
| SaMap (const ElementType(&a)[SIZE]) | |
| Constructor (primitive array) More... | |
| SaMap (const ElementType &e) | |
| Constructor (single element) More... | |
| SaMap (const std::initializer_list< ElementType > &il) | |
| Constructor (initializer list) More... | |
| SaMap (const SaMap &obj) | |
| Copy constructor. More... | |
| ElementType & | operator[] (const FwSizeType i) |
| Subscript operator. More... | |
| const ElementType & | operator[] (const FwSizeType i) const |
| Const subscript operator. More... | |
| SaMap & | operator= (const SaMap &obj) |
| Copy assignment operator (object) More... | |
| SaMap & | operator= (const ElementType(&a)[SIZE]) |
| Copy assignment operator (primitive array) More... | |
| SaMap & | operator= (const std::initializer_list< ElementType > &il) |
| Copy assignment operator (initializer list) More... | |
| SaMap & | operator= (const ElementType &e) |
| Copy assignment operator (single element) More... | |
| bool | operator== (const SaMap &obj) const |
| Equality operator. More... | |
| bool | operator!= (const SaMap &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 | |
| 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... | |
Compile-time map from security association index to downstream port index. Projects may define sparse or non-linear SA ranges that map down to a compact, linear port array. Port indices must be in [0, SaRouterPortCount).
This default configuration maps SA 0 to the plain-text (no security) port; the second entry maps SA 1 to a port that standard topologies may leave unconnected.
Definition at line 26 of file SaMapArrayAc.hpp.
The element type.
Definition at line 37 of file SaMapArrayAc.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 45 of file SaMapArrayAc.hpp.
| SdlsCfg::SaMap::SaMap | ( | ) |
Constructor (default value)
Definition at line 17 of file SaMapArrayAc.cpp.
| SdlsCfg::SaMap::SaMap | ( | const ElementType(&) | a[SIZE] | ) |
|
explicit |
Constructor (single element)
| e | The element |
Definition at line 32 of file SaMapArrayAc.cpp.
| SdlsCfg::SaMap::SaMap | ( | const std::initializer_list< ElementType > & | il | ) |
Constructor (initializer list)
| il | The initializer list |
Definition at line 39 of file SaMapArrayAc.cpp.
| SdlsCfg::SaMap::SaMap | ( | const SaMap & | obj | ) |
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 162 of file SaMapArrayAc.cpp.
| bool SdlsCfg::SaMap::operator!= | ( | const SaMap & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 125 of file SaMapArrayAc.cpp.
Copy assignment operator (object)
| obj | The source object |
Definition at line 71 of file SaMapArrayAc.cpp.
| SaMap & SdlsCfg::SaMap::operator= | ( | const ElementType(&) | a[SIZE] | ) |
Copy assignment operator (primitive array)
| a | The source array |
Definition at line 82 of file SaMapArrayAc.cpp.
| SaMap & SdlsCfg::SaMap::operator= | ( | const std::initializer_list< ElementType > & | il | ) |
Copy assignment operator (initializer list)
| il | The initializer list |
Definition at line 91 of file SaMapArrayAc.cpp.
| SaMap & SdlsCfg::SaMap::operator= | ( | const ElementType & | e | ) |
Copy assignment operator (single element)
| e | The element |
Definition at line 105 of file SaMapArrayAc.cpp.
| bool SdlsCfg::SaMap::operator== | ( | const SaMap & | obj | ) | const |
| SaMap::ElementType & SdlsCfg::SaMap::operator[] | ( | const FwSizeType | i | ) |
| const SaMap::ElementType & SdlsCfg::SaMap::operator[] | ( | const FwSizeType | i | ) | const |
Const subscript operator.
| i | The subscript index |
Definition at line 64 of file SaMapArrayAc.cpp.
| FwSizeType SdlsCfg::SaMap::serializedSize | ( | ) | const |
Get the dynamic serialized size of the array.
Definition at line 178 of file SaMapArrayAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 146 of file SaMapArrayAc.cpp.