![]() |
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 default map from security association index to downstream port index. SA ranges may be sparse or non-linear; port indices must be in [0, SaRouterPortCount).
CCSDS 355.0-B-2 reserves SPI 0 and 65535 for Extended Procedures; an SA is simplex (sect. 2.3.1.1), so each direction needs its own SPI and routing table.
Maps the uplink SPI to the plain-text port and Extended Procedures to a port standard topologies leave unconnected. A deployment with one router per direction – as ComCcsdsSdls has – must give each its own table via SdlsSaRouter::configure(); sharing one lets each direction accept the other's SPI, defeating SA verification (sect. 4.2.4.3).
Definition at line 30 of file SaMapArrayAc.hpp.
The element type.
Definition at line 41 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 49 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.