![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Types/StructSerializable.hpp>
Public Types | |
enum | { SERIALIZED_SIZE = sizeof(T) + sizeof(I32) } |
Public Member Functions | |
StructSerializable () | |
StructSerializable (const T &val) | |
StructSerializable (const T *val) | |
const T & | operator= (const T &val) |
virtual | ~StructSerializable () |
void | set (const T &val) |
const T & | get (void) |
Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
serialize contents More... | |
Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
deserialize to contents More... | |
Additional Inherited Members | |
![]() | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Definition at line 9 of file StructSerializable.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE |
Definition at line 12 of file StructSerializable.hpp.
Fw::StructSerializable< T >::StructSerializable |
Definition at line 6 of file StructSerializable.cpp.
Fw::StructSerializable< T >::StructSerializable | ( | const T & | val | ) |
Definition at line 9 of file StructSerializable.cpp.
Fw::StructSerializable< T >::StructSerializable | ( | const T * | val | ) |
Definition at line 13 of file StructSerializable.cpp.
|
virtual |
Definition at line 23 of file StructSerializable.cpp.
|
virtual |
deserialize to contents
Implements Fw::Serializable.
Definition at line 41 of file StructSerializable.cpp.
const T & Fw::StructSerializable< T >::get | ( | void | ) |
Definition at line 30 of file StructSerializable.cpp.
const T & Fw::StructSerializable< T >::operator= | ( | const T & | val | ) |
Definition at line 18 of file StructSerializable.cpp.
|
virtual |
serialize contents
Implements Fw::Serializable.
Definition at line 34 of file StructSerializable.cpp.
void Fw::StructSerializable< T >::set | ( | const T & | val | ) |
Definition at line 26 of file StructSerializable.cpp.