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

#include <Svc/FpySequencer/FpySequencer_CmdDirectiveSerializableAc.hpp>

Inheritance diagram for Svc::FpySequencer_CmdDirective:
Fw::Serializable

Public Types

enum  { SERIALIZED_SIZE }
 
using Type_of_argBuf = U8[504]
 The type of argBuf. More...
 
- Public Types inherited from Fw::Serializable
using SizeType = FwSizeType
 

Public Member Functions

 FpySequencer_CmdDirective ()
 Constructor (default value) More...
 
 FpySequencer_CmdDirective (FwOpcodeType opCode, const Type_of_argBuf &argBuf, FwSizeType _argBufSize)
 Member constructor. More...
 
 FpySequencer_CmdDirective (const FpySequencer_CmdDirective &obj)
 Copy constructor. More...
 
 FpySequencer_CmdDirective (FwOpcodeType opCode, U8 argBuf, FwSizeType _argBufSize)
 Member constructor (scalar values for arrays) More...
 
FpySequencer_CmdDirectiveoperator= (const FpySequencer_CmdDirective &obj)
 Copy assignment operator. More...
 
bool operator== (const FpySequencer_CmdDirective &obj) const
 Equality operator. More...
 
bool operator!= (const FpySequencer_CmdDirective &obj) const
 Inequality operator. More...
 
Fw::SerializeStatus serialize (Fw::SerializeBufferBase &buffer) const
 Serialization. More...
 
Fw::SerializeStatus deserialize (Fw::SerializeBufferBase &buffer)
 Deserialization. More...
 
FwOpcodeType getopCode () const
 Get member opCode. More...
 
Type_of_argBufgetargBuf ()
 Get member argBuf. More...
 
const Type_of_argBufgetargBuf () const
 Get member argBuf (const) More...
 
FwSizeType get_argBufSize () const
 Get member _argBufSize. More...
 
void set (FwOpcodeType opCode, const Type_of_argBuf &argBuf, FwSizeType _argBufSize)
 Set all members. More...
 
void setopCode (FwOpcodeType opCode)
 Set member opCode. More...
 
void setargBuf (const Type_of_argBuf &argBuf)
 Set member argBuf. More...
 
void set_argBufSize (FwSizeType _argBufSize)
 Set member _argBufSize. More...
 

Protected Attributes

FwOpcodeType m_opCode
 
U8 m_argBuf [504]
 
FwSizeType m__argBufSize
 

Additional Inherited Members

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

Detailed Description

Definition at line 19 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

Member Typedef Documentation

◆ Type_of_argBuf

The type of argBuf.

Definition at line 30 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representation.

Definition at line 38 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

Constructor & Destructor Documentation

◆ FpySequencer_CmdDirective() [1/4]

Svc::FpySequencer_CmdDirective::FpySequencer_CmdDirective ( )

Constructor (default value)

Definition at line 17 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ FpySequencer_CmdDirective() [2/4]

Svc::FpySequencer_CmdDirective::FpySequencer_CmdDirective ( FwOpcodeType  opCode,
const Type_of_argBuf argBuf,
FwSizeType  _argBufSize 
)

Member constructor.

Definition at line 28 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ FpySequencer_CmdDirective() [3/4]

Svc::FpySequencer_CmdDirective::FpySequencer_CmdDirective ( const FpySequencer_CmdDirective obj)

Copy constructor.

Parameters
objThe source object

Definition at line 43 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ FpySequencer_CmdDirective() [4/4]

Svc::FpySequencer_CmdDirective::FpySequencer_CmdDirective ( FwOpcodeType  opCode,
U8  argBuf,
FwSizeType  _argBufSize 
)

Member constructor (scalar values for arrays)

Definition at line 54 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

Member Function Documentation

◆ deserialize()

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

Deserialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 151 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ get_argBufSize()

FwSizeType Svc::FpySequencer_CmdDirective::get_argBufSize ( ) const
inline

Get member _argBufSize.

Definition at line 153 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ getargBuf() [1/2]

Type_of_argBuf& Svc::FpySequencer_CmdDirective::getargBuf ( )
inline

Get member argBuf.

Definition at line 141 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ getargBuf() [2/2]

const Type_of_argBuf& Svc::FpySequencer_CmdDirective::getargBuf ( ) const
inline

Get member argBuf (const)

Definition at line 147 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ getopCode()

FwOpcodeType Svc::FpySequencer_CmdDirective::getopCode ( ) const
inline

Get member opCode.

Definition at line 135 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ operator!=()

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

Inequality operator.

Parameters
objThe other object

Definition at line 107 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ operator=()

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

Copy assignment operator.

Parameters
objThe source object

Definition at line 73 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ operator==()

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

Equality operator.

Parameters
objThe other object

Definition at line 84 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ serialize()

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

Serialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 128 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ set()

void Svc::FpySequencer_CmdDirective::set ( FwOpcodeType  opCode,
const Type_of_argBuf argBuf,
FwSizeType  _argBufSize 
)

Set all members.

Definition at line 214 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ set_argBufSize()

void Svc::FpySequencer_CmdDirective::set_argBufSize ( FwSizeType  _argBufSize)

Set member _argBufSize.

Definition at line 243 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ setargBuf()

void Svc::FpySequencer_CmdDirective::setargBuf ( const Type_of_argBuf argBuf)

Set member argBuf.

Definition at line 235 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

◆ setopCode()

void Svc::FpySequencer_CmdDirective::setopCode ( FwOpcodeType  opCode)

Set member opCode.

Definition at line 229 of file FpySequencer_CmdDirectiveSerializableAc.cpp.

Member Data Documentation

◆ m__argBufSize

FwSizeType Svc::FpySequencer_CmdDirective::m__argBufSize
protected

Definition at line 186 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ m_argBuf

U8 Svc::FpySequencer_CmdDirective::m_argBuf[504]
protected

Definition at line 185 of file FpySequencer_CmdDirectiveSerializableAc.hpp.

◆ m_opCode

FwOpcodeType Svc::FpySequencer_CmdDirective::m_opCode
protected

Definition at line 184 of file FpySequencer_CmdDirectiveSerializableAc.hpp.


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