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

executes a cmd with const args More...

#include <Svc/FpySequencer/FpySequencer_ConstCmdDirectiveSerializableAc.hpp>

Inheritance diagram for Svc::FpySequencer_ConstCmdDirective:
Fw::Serializable

Public Types

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

Public Member Functions

 FpySequencer_ConstCmdDirective ()
 Constructor (default value) More...
 
 FpySequencer_ConstCmdDirective (FwOpcodeType opCode, const Type_of_argBuf &argBuf, FwSizeType _argBufSize)
 Member constructor. More...
 
 FpySequencer_ConstCmdDirective (const FpySequencer_ConstCmdDirective &obj)
 Copy constructor. More...
 
 FpySequencer_ConstCmdDirective (FwOpcodeType opCode, U8 argBuf, FwSizeType _argBufSize)
 Member constructor (scalar values for arrays) More...
 
FpySequencer_ConstCmdDirectiveoperator= (const FpySequencer_ConstCmdDirective &obj)
 Copy assignment operator. More...
 
bool operator== (const FpySequencer_ConstCmdDirective &obj) const
 Equality operator. More...
 
bool operator!= (const FpySequencer_ConstCmdDirective &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 struct. More...
 
FwOpcodeType get_opCode () const
 Get member opCode. More...
 
Type_of_argBufget_argBuf ()
 Get member argBuf. More...
 
const Type_of_argBufget_argBuf () 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 set_opCode (FwOpcodeType opCode)
 Set member opCode. More...
 
void set_argBuf (const Type_of_argBuf &argBuf)
 Set member argBuf. More...
 
void set__argBufSize (FwSizeType _argBufSize)
 Set member _argBufSize. 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")
 

Protected Attributes

FwOpcodeType m_opCode
 
U8 m_argBuf [2048]
 
FwSizeType m__argBufSize
 

Additional Inherited Members

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

Detailed Description

executes a cmd with const args

Definition at line 20 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

Member Typedef Documentation

◆ Type_of_argBuf

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representation.

Definition at line 39 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

Constructor & Destructor Documentation

◆ FpySequencer_ConstCmdDirective() [1/4]

Svc::FpySequencer_ConstCmdDirective::FpySequencer_ConstCmdDirective ( )

Constructor (default value)

Definition at line 17 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ FpySequencer_ConstCmdDirective() [2/4]

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

Member constructor.

Definition at line 27 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ FpySequencer_ConstCmdDirective() [3/4]

Svc::FpySequencer_ConstCmdDirective::FpySequencer_ConstCmdDirective ( const FpySequencer_ConstCmdDirective obj)

Copy constructor.

Parameters
objThe source object

Definition at line 42 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ FpySequencer_ConstCmdDirective() [4/4]

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

Member constructor (scalar values for arrays)

Definition at line 53 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

Member Function Documentation

◆ deserializeFrom()

Fw::SerializeStatus Svc::FpySequencer_ConstCmdDirective::deserializeFrom ( Fw::SerialBufferBase buffer,
Fw::Endianness  mode = Fw::Endianness::BIG 
)
virtual

Deserialization.

Parameters
bufferThe serial buffer
modeEndianness of serialized buffer

Implements Fw::Serializable.

Definition at line 153 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ get__argBufSize()

FwSizeType Svc::FpySequencer_ConstCmdDirective::get__argBufSize ( ) const
inline

Get member _argBufSize.

Definition at line 159 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

◆ get_argBuf() [1/2]

Type_of_argBuf& Svc::FpySequencer_ConstCmdDirective::get_argBuf ( )
inline

Get member argBuf.

Definition at line 147 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

◆ get_argBuf() [2/2]

const Type_of_argBuf& Svc::FpySequencer_ConstCmdDirective::get_argBuf ( ) const
inline

Get member argBuf (const)

Definition at line 153 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

◆ get_opCode()

FwOpcodeType Svc::FpySequencer_ConstCmdDirective::get_opCode ( ) const
inline

Get member opCode.

Definition at line 141 of file FpySequencer_ConstCmdDirectiveSerializableAc.hpp.

◆ operator!=()

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

Inequality operator.

Parameters
objThe other object

Definition at line 106 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ operator=()

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

Copy assignment operator.

Parameters
objThe source object

Definition at line 72 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ operator==()

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

Equality operator.

Parameters
objThe other object

Definition at line 83 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ serializedSize()

FwSizeType Svc::FpySequencer_ConstCmdDirective::serializedSize ( ) const

Get the dynamic serialized size of the struct.

Definition at line 179 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ serializeTo()

Fw::SerializeStatus Svc::FpySequencer_ConstCmdDirective::serializeTo ( Fw::SerialBufferBase buffer,
Fw::Endianness  mode = Fw::Endianness::BIG 
) const
virtual

Serialization.

Parameters
bufferThe serial buffer
modeEndianness of serialized buffer

Implements Fw::Serializable.

Definition at line 127 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ set()

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

Set all members.

Definition at line 229 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ set__argBufSize()

void Svc::FpySequencer_ConstCmdDirective::set__argBufSize ( FwSizeType  _argBufSize)

Set member _argBufSize.

Definition at line 258 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ set_argBuf()

void Svc::FpySequencer_ConstCmdDirective::set_argBuf ( const Type_of_argBuf argBuf)

Set member argBuf.

Definition at line 250 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

◆ set_opCode()

void Svc::FpySequencer_ConstCmdDirective::set_opCode ( FwOpcodeType  opCode)

Set member opCode.

Definition at line 244 of file FpySequencer_ConstCmdDirectiveSerializableAc.cpp.

Member Data Documentation

◆ m__argBufSize

FwSizeType Svc::FpySequencer_ConstCmdDirective::m__argBufSize
protected

◆ m_argBuf

U8 Svc::FpySequencer_ConstCmdDirective::m_argBuf[2048]
protected

◆ m_opCode

FwOpcodeType Svc::FpySequencer_ConstCmdDirective::m_opCode
protected

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