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

#include <Svc/FpySequencer/SequenceSerializableAc.hpp>

Inheritance diagram for Svc::Fpy::Sequence:
Fw::Serializable

Public Types

enum  { SERIALIZED_SIZE }
 
using Type_of_args = U8[16]
 The type of args. More...
 
using Type_of_statements = Svc::Fpy::Statement[1024]
 The type of statements. More...
 
- Public Types inherited from Fw::Serializable
using SizeType = FwSizeType
 

Public Member Functions

 Sequence ()
 Constructor (default value) More...
 
 Sequence (const Svc::Fpy::Header &header, const Type_of_args &args, const Type_of_statements &statements, const Svc::Fpy::Footer &footer)
 Member constructor. More...
 
 Sequence (const Sequence &obj)
 Copy constructor. More...
 
 Sequence (const Svc::Fpy::Header &header, U8 args, const Svc::Fpy::Statement &statements, const Svc::Fpy::Footer &footer)
 Member constructor (scalar values for arrays) More...
 
Sequenceoperator= (const Sequence &obj)
 Copy assignment operator. More...
 
bool operator== (const Sequence &obj) const
 Equality operator. More...
 
bool operator!= (const Sequence &obj) const
 Inequality operator. More...
 
Fw::SerializeStatus serialize (Fw::SerializeBufferBase &buffer) const
 Serialization. More...
 
Fw::SerializeStatus deserialize (Fw::SerializeBufferBase &buffer)
 Deserialization. More...
 
Svc::Fpy::Headergetheader ()
 Get member header. More...
 
const Svc::Fpy::Headergetheader () const
 Get member header (const) More...
 
Type_of_argsgetargs ()
 Get member args. More...
 
const Type_of_argsgetargs () const
 Get member args (const) More...
 
Type_of_statementsgetstatements ()
 Get member statements. More...
 
const Type_of_statementsgetstatements () const
 Get member statements (const) More...
 
Svc::Fpy::Footergetfooter ()
 Get member footer. More...
 
const Svc::Fpy::Footergetfooter () const
 Get member footer (const) More...
 
void set (const Svc::Fpy::Header &header, const Type_of_args &args, const Type_of_statements &statements, const Svc::Fpy::Footer &footer)
 Set all members. More...
 
void setheader (const Svc::Fpy::Header &header)
 Set member header. More...
 
void setargs (const Type_of_args &args)
 Set member args. More...
 
void setstatements (const Type_of_statements &statements)
 Set member statements. More...
 
void setfooter (const Svc::Fpy::Footer &footer)
 Set member footer. More...
 

Protected Attributes

Svc::Fpy::Header m_header
 
U8 m_args [16]
 
Svc::Fpy::Statement m_statements [1024]
 
Svc::Fpy::Footer m_footer
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file SequenceSerializableAc.hpp.

Member Typedef Documentation

◆ Type_of_args

The type of args.

Definition at line 33 of file SequenceSerializableAc.hpp.

◆ Type_of_statements

The type of statements.

Definition at line 36 of file SequenceSerializableAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representation.

Definition at line 44 of file SequenceSerializableAc.hpp.

Constructor & Destructor Documentation

◆ Sequence() [1/4]

Svc::Fpy::Sequence::Sequence ( )

Constructor (default value)

Definition at line 19 of file SequenceSerializableAc.cpp.

◆ Sequence() [2/4]

Svc::Fpy::Sequence::Sequence ( const Svc::Fpy::Header header,
const Type_of_args args,
const Type_of_statements statements,
const Svc::Fpy::Footer footer 
)

Member constructor.

Definition at line 33 of file SequenceSerializableAc.cpp.

◆ Sequence() [3/4]

Svc::Fpy::Sequence::Sequence ( const Sequence obj)

Copy constructor.

Parameters
objThe source object

Definition at line 52 of file SequenceSerializableAc.cpp.

◆ Sequence() [4/4]

Svc::Fpy::Sequence::Sequence ( const Svc::Fpy::Header header,
U8  args,
const Svc::Fpy::Statement statements,
const Svc::Fpy::Footer footer 
)

Member constructor (scalar values for arrays)

Definition at line 66 of file SequenceSerializableAc.cpp.

Member Function Documentation

◆ deserialize()

Fw::SerializeStatus Svc::Fpy::Sequence::deserialize ( Fw::SerializeBufferBase buffer)
virtual

Deserialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 178 of file SequenceSerializableAc.cpp.

◆ getargs() [1/2]

Type_of_args& Svc::Fpy::Sequence::getargs ( )
inline

Get member args.

Definition at line 156 of file SequenceSerializableAc.hpp.

◆ getargs() [2/2]

const Type_of_args& Svc::Fpy::Sequence::getargs ( ) const
inline

Get member args (const)

Definition at line 162 of file SequenceSerializableAc.hpp.

◆ getfooter() [1/2]

Svc::Fpy::Footer& Svc::Fpy::Sequence::getfooter ( )
inline

Get member footer.

Definition at line 180 of file SequenceSerializableAc.hpp.

◆ getfooter() [2/2]

const Svc::Fpy::Footer& Svc::Fpy::Sequence::getfooter ( ) const
inline

Get member footer (const)

Definition at line 186 of file SequenceSerializableAc.hpp.

◆ getheader() [1/2]

Svc::Fpy::Header& Svc::Fpy::Sequence::getheader ( )
inline

Get member header.

Definition at line 144 of file SequenceSerializableAc.hpp.

◆ getheader() [2/2]

const Svc::Fpy::Header& Svc::Fpy::Sequence::getheader ( ) const
inline

Get member header (const)

Definition at line 150 of file SequenceSerializableAc.hpp.

◆ getstatements() [1/2]

Type_of_statements& Svc::Fpy::Sequence::getstatements ( )
inline

Get member statements.

Definition at line 168 of file SequenceSerializableAc.hpp.

◆ getstatements() [2/2]

const Type_of_statements& Svc::Fpy::Sequence::getstatements ( ) const
inline

Get member statements (const)

Definition at line 174 of file SequenceSerializableAc.hpp.

◆ operator!=()

bool Svc::Fpy::Sequence::operator!= ( const Sequence obj) const

Inequality operator.

Parameters
objThe other object

Definition at line 128 of file SequenceSerializableAc.cpp.

◆ operator=()

Sequence & Svc::Fpy::Sequence::operator= ( const Sequence obj)

Copy assignment operator.

Parameters
objThe source object

Definition at line 89 of file SequenceSerializableAc.cpp.

◆ operator==()

bool Svc::Fpy::Sequence::operator== ( const Sequence obj) const

Equality operator.

Parameters
objThe other object

Definition at line 100 of file SequenceSerializableAc.cpp.

◆ serialize()

Fw::SerializeStatus Svc::Fpy::Sequence::serialize ( Fw::SerializeBufferBase buffer) const
virtual

Serialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 149 of file SequenceSerializableAc.cpp.

◆ set()

void Svc::Fpy::Sequence::set ( const Svc::Fpy::Header header,
const Type_of_args args,
const Type_of_statements statements,
const Svc::Fpy::Footer footer 
)

Set all members.

Definition at line 273 of file SequenceSerializableAc.cpp.

◆ setargs()

void Svc::Fpy::Sequence::setargs ( const Type_of_args args)

Set member args.

Definition at line 298 of file SequenceSerializableAc.cpp.

◆ setfooter()

void Svc::Fpy::Sequence::setfooter ( const Svc::Fpy::Footer footer)

Set member footer.

Definition at line 314 of file SequenceSerializableAc.cpp.

◆ setheader()

void Svc::Fpy::Sequence::setheader ( const Svc::Fpy::Header header)

Set member header.

Definition at line 292 of file SequenceSerializableAc.cpp.

◆ setstatements()

void Svc::Fpy::Sequence::setstatements ( const Type_of_statements statements)

Set member statements.

Definition at line 306 of file SequenceSerializableAc.cpp.

Member Data Documentation

◆ m_args

U8 Svc::Fpy::Sequence::m_args[16]
protected

Definition at line 222 of file SequenceSerializableAc.hpp.

◆ m_footer

Svc::Fpy::Footer Svc::Fpy::Sequence::m_footer
protected

Definition at line 224 of file SequenceSerializableAc.hpp.

◆ m_header

Svc::Fpy::Header Svc::Fpy::Sequence::m_header
protected

Definition at line 221 of file SequenceSerializableAc.hpp.

◆ m_statements

Svc::Fpy::Statement Svc::Fpy::Sequence::m_statements[1024]
protected

Definition at line 223 of file SequenceSerializableAc.hpp.


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