F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Svc::CustomVersionDb Class Reference

Data Structure for custom version Tlm. More...

#include <Svc/Version/CustomVersionDbSerializableAc.hpp>

Inheritance diagram for Svc::CustomVersionDb:
Fw::Serializable

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...
 
CustomVersionDboperator= (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::ExternalStringgetversion_value ()
 Get member version_value. More...
 
const Fw::ExternalStringgetversion_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...
 

Protected Attributes

Svc::VersionCfg::VersionEnum m_version_enum
 
char m___fprime_ac_version_value_buffer [Fw::StringBase::BUFFER_SIZE(80)]
 
Fw::ExternalString m_version_value
 
Svc::VersionStatus m_version_status
 

Additional Inherited Members

- Protected Member Functions inherited from Fw::Serializable
 Serializable ()
 Default constructor. More...
 
virtual ~Serializable ()
 destructor More...
 

Detailed Description

Data Structure for custom version Tlm.

Definition at line 20 of file CustomVersionDbSerializableAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representation.

Definition at line 30 of file CustomVersionDbSerializableAc.hpp.

Constructor & Destructor Documentation

◆ CustomVersionDb() [1/3]

Svc::CustomVersionDb::CustomVersionDb ( )

Constructor (default value)

Definition at line 16 of file CustomVersionDbSerializableAc.cpp.

◆ CustomVersionDb() [2/3]

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.

◆ CustomVersionDb() [3/3]

Svc::CustomVersionDb::CustomVersionDb ( const CustomVersionDb obj)

Copy constructor.

Parameters
objThe source object

Definition at line 40 of file CustomVersionDbSerializableAc.cpp.

Member Function Documentation

◆ deserialize()

Fw::SerializeStatus Svc::CustomVersionDb::deserialize ( Fw::SerializeBufferBase buffer)
virtual

Deserialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 117 of file CustomVersionDbSerializableAc.cpp.

◆ getversion_enum()

Svc::VersionCfg::VersionEnum::T Svc::CustomVersionDb::getversion_enum ( ) const
inline

Get member version_enum.

Definition at line 120 of file CustomVersionDbSerializableAc.hpp.

◆ getversion_status()

Svc::VersionStatus::T Svc::CustomVersionDb::getversion_status ( ) const
inline

Get member version_status.

Definition at line 138 of file CustomVersionDbSerializableAc.hpp.

◆ getversion_value() [1/2]

Fw::ExternalString& Svc::CustomVersionDb::getversion_value ( )
inline

Get member version_value.

Definition at line 126 of file CustomVersionDbSerializableAc.hpp.

◆ getversion_value() [2/2]

const Fw::ExternalString& Svc::CustomVersionDb::getversion_value ( ) const
inline

Get member version_value (const)

Definition at line 132 of file CustomVersionDbSerializableAc.hpp.

◆ operator!=()

bool Svc::CustomVersionDb::operator!= ( const CustomVersionDb obj) const

Inequality operator.

Parameters
objThe other object

Definition at line 75 of file CustomVersionDbSerializableAc.cpp.

◆ operator=()

CustomVersionDb & Svc::CustomVersionDb::operator= ( const CustomVersionDb obj)

Copy assignment operator.

Parameters
objThe source object

Definition at line 54 of file CustomVersionDbSerializableAc.cpp.

◆ operator==()

bool Svc::CustomVersionDb::operator== ( const CustomVersionDb obj) const

Equality operator.

Parameters
objThe other object

Definition at line 65 of file CustomVersionDbSerializableAc.cpp.

◆ serialize()

Fw::SerializeStatus Svc::CustomVersionDb::serialize ( Fw::SerializeBufferBase buffer) const
virtual

Serialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 96 of file CustomVersionDbSerializableAc.cpp.

◆ set()

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.

◆ setversion_enum()

void Svc::CustomVersionDb::setversion_enum ( Svc::VersionCfg::VersionEnum::T  version_enum)

Set member version_enum.

Definition at line 184 of file CustomVersionDbSerializableAc.cpp.

◆ setversion_status()

void Svc::CustomVersionDb::setversion_status ( Svc::VersionStatus::T  version_status)

Set member version_status.

Definition at line 196 of file CustomVersionDbSerializableAc.cpp.

◆ setversion_value()

void Svc::CustomVersionDb::setversion_value ( const Fw::StringBase version_value)

Set member version_value.

Definition at line 190 of file CustomVersionDbSerializableAc.cpp.

Member Data Documentation

◆ m___fprime_ac_version_value_buffer

char Svc::CustomVersionDb::m___fprime_ac_version_value_buffer[Fw::StringBase::BUFFER_SIZE(80)]
protected

Definition at line 170 of file CustomVersionDbSerializableAc.hpp.

◆ m_version_enum

Svc::VersionCfg::VersionEnum Svc::CustomVersionDb::m_version_enum
protected

Definition at line 169 of file CustomVersionDbSerializableAc.hpp.

◆ m_version_status

Svc::VersionStatus Svc::CustomVersionDb::m_version_status
protected

Definition at line 172 of file CustomVersionDbSerializableAc.hpp.

◆ m_version_value

Fw::ExternalString Svc::CustomVersionDb::m_version_value
protected

Definition at line 171 of file CustomVersionDbSerializableAc.hpp.


The documentation for this class was generated from the following files: