F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Data Structure for custom version Tlm. More...
#include <Svc/Version/CustomVersionDbSerializableAc.hpp>
Public Types | |
enum | { SERIALIZED_SIZE } |
Public Types inherited from Fw::Serializable | |
using | SizeType = NATIVE_UINT_TYPE |
Public Member Functions | |
CustomVersionDb () | |
Constructor (default value) More... | |
CustomVersionDb (Svc::VersionCfg::VersionEnum::T version_enum, const Fw::StringBase &version_value, Svc::VersionStatus::T version_status) | |
Member constructor. More... | |
CustomVersionDb (const CustomVersionDb &obj) | |
Copy constructor. More... | |
CustomVersionDb & | operator= (const CustomVersionDb &obj) |
Copy assignment operator. More... | |
bool | operator== (const CustomVersionDb &obj) const |
Equality operator. More... | |
bool | operator!= (const CustomVersionDb &obj) const |
Inequality operator. More... | |
Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
Serialization. More... | |
Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
Deserialization. More... | |
Svc::VersionCfg::VersionEnum::T | getversion_enum () const |
Get member version_enum. More... | |
Fw::ExternalString & | getversion_value () |
Get member version_value. More... | |
const Fw::ExternalString & | getversion_value () const |
Get member version_value (const) More... | |
Svc::VersionStatus::T | getversion_status () const |
Get member version_status. More... | |
void | set (Svc::VersionCfg::VersionEnum::T version_enum, const Fw::StringBase &version_value, Svc::VersionStatus::T version_status) |
Set all members. More... | |
void | setversion_enum (Svc::VersionCfg::VersionEnum::T version_enum) |
Set member version_enum. More... | |
void | setversion_value (const Fw::StringBase &version_value) |
Set member version_value. More... | |
void | setversion_status (Svc::VersionStatus::T version_status) |
Set member version_status. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Data Structure for custom version Tlm.
Definition at line 20 of file CustomVersionDbSerializableAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 30 of file CustomVersionDbSerializableAc.hpp.
Svc::CustomVersionDb::CustomVersionDb | ( | ) |
Constructor (default value)
Definition at line 16 of file CustomVersionDbSerializableAc.cpp.
Svc::CustomVersionDb::CustomVersionDb | ( | Svc::VersionCfg::VersionEnum::T | version_enum, |
const Fw::StringBase & | version_value, | ||
Svc::VersionStatus::T | version_status | ||
) |
Member constructor.
Definition at line 26 of file CustomVersionDbSerializableAc.cpp.
Svc::CustomVersionDb::CustomVersionDb | ( | const CustomVersionDb & | obj | ) |
Copy constructor.
obj | The source object |
Definition at line 40 of file CustomVersionDbSerializableAc.cpp.
|
virtual |
Deserialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 117 of file CustomVersionDbSerializableAc.cpp.
|
inline |
Get member version_enum.
Definition at line 120 of file CustomVersionDbSerializableAc.hpp.
|
inline |
Get member version_status.
Definition at line 138 of file CustomVersionDbSerializableAc.hpp.
|
inline |
Get member version_value.
Definition at line 126 of file CustomVersionDbSerializableAc.hpp.
|
inline |
Get member version_value (const)
Definition at line 132 of file CustomVersionDbSerializableAc.hpp.
bool Svc::CustomVersionDb::operator!= | ( | const CustomVersionDb & | obj | ) | const |
Inequality operator.
obj | The other object |
Definition at line 75 of file CustomVersionDbSerializableAc.cpp.
CustomVersionDb & Svc::CustomVersionDb::operator= | ( | const CustomVersionDb & | obj | ) |
Copy assignment operator.
obj | The source object |
Definition at line 54 of file CustomVersionDbSerializableAc.cpp.
bool Svc::CustomVersionDb::operator== | ( | const CustomVersionDb & | obj | ) | const |
Equality operator.
obj | The other object |
Definition at line 65 of file CustomVersionDbSerializableAc.cpp.
|
virtual |
Serialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 96 of file CustomVersionDbSerializableAc.cpp.
void Svc::CustomVersionDb::set | ( | Svc::VersionCfg::VersionEnum::T | version_enum, |
const Fw::StringBase & | version_value, | ||
Svc::VersionStatus::T | version_status | ||
) |
Set all members.
Definition at line 172 of file CustomVersionDbSerializableAc.cpp.
void Svc::CustomVersionDb::setversion_enum | ( | Svc::VersionCfg::VersionEnum::T | version_enum | ) |
Set member version_enum.
Definition at line 184 of file CustomVersionDbSerializableAc.cpp.
void Svc::CustomVersionDb::setversion_status | ( | Svc::VersionStatus::T | version_status | ) |
Set member version_status.
Definition at line 196 of file CustomVersionDbSerializableAc.cpp.
void Svc::CustomVersionDb::setversion_value | ( | const Fw::StringBase & | version_value | ) |
Set member version_value.
Definition at line 190 of file CustomVersionDbSerializableAc.cpp.
|
protected |
Definition at line 170 of file CustomVersionDbSerializableAc.hpp.
|
protected |
Definition at line 169 of file CustomVersionDbSerializableAc.hpp.
|
protected |
Definition at line 172 of file CustomVersionDbSerializableAc.hpp.
|
protected |
Definition at line 171 of file CustomVersionDbSerializableAc.hpp.