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

Send file response struct. More...

#include <Svc/FileDownlinkPorts/SendFileResponseSerializableAc.hpp>

Inheritance diagram for Svc::SendFileResponse:
Fw::Serializable

Public Types

enum  { SERIALIZED_SIZE }
 
- Public Types inherited from Fw::Serializable
using SizeType = NATIVE_UINT_TYPE
 

Public Member Functions

 SendFileResponse ()
 Constructor (default value) More...
 
 SendFileResponse (Svc::SendFileStatus::T status, U32 context)
 Member constructor. More...
 
 SendFileResponse (const SendFileResponse &obj)
 Copy constructor. More...
 
SendFileResponseoperator= (const SendFileResponse &obj)
 Copy assignment operator. More...
 
bool operator== (const SendFileResponse &obj) const
 Equality operator. More...
 
bool operator!= (const SendFileResponse &obj) const
 Inequality operator. More...
 
Fw::SerializeStatus serialize (Fw::SerializeBufferBase &buffer) const
 Serialization. More...
 
Fw::SerializeStatus deserialize (Fw::SerializeBufferBase &buffer)
 Deserialization. More...
 
Svc::SendFileStatus::T getstatus () const
 Get member status. More...
 
U32 getcontext () const
 Get member context. More...
 
void set (Svc::SendFileStatus::T status, U32 context)
 Set all members. More...
 
void setstatus (Svc::SendFileStatus::T status)
 Set member status. More...
 
void setcontext (U32 context)
 Set member context. More...
 

Protected Attributes

Svc::SendFileStatus m_status
 
U32 m_context
 

Additional Inherited Members

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

Detailed Description

Send file response struct.

Definition at line 19 of file SendFileResponseSerializableAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representation.

Definition at line 29 of file SendFileResponseSerializableAc.hpp.

Constructor & Destructor Documentation

◆ SendFileResponse() [1/3]

Svc::SendFileResponse::SendFileResponse ( )

Constructor (default value)

Definition at line 16 of file SendFileResponseSerializableAc.cpp.

◆ SendFileResponse() [2/3]

Svc::SendFileResponse::SendFileResponse ( Svc::SendFileStatus::T  status,
U32  context 
)

Member constructor.

Definition at line 25 of file SendFileResponseSerializableAc.cpp.

◆ SendFileResponse() [3/3]

Svc::SendFileResponse::SendFileResponse ( const SendFileResponse obj)

Copy constructor.

Parameters
objThe source object

Definition at line 37 of file SendFileResponseSerializableAc.cpp.

Member Function Documentation

◆ deserialize()

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

Deserialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 108 of file SendFileResponseSerializableAc.cpp.

◆ getcontext()

U32 Svc::SendFileResponse::getcontext ( ) const
inline

Get member context.

Definition at line 123 of file SendFileResponseSerializableAc.hpp.

◆ getstatus()

Svc::SendFileStatus::T Svc::SendFileResponse::getstatus ( ) const
inline

Get member status.

Definition at line 117 of file SendFileResponseSerializableAc.hpp.

◆ operator!=()

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

Inequality operator.

Parameters
objThe other object

Definition at line 70 of file SendFileResponseSerializableAc.cpp.

◆ operator=()

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

Copy assignment operator.

Parameters
objThe source object

Definition at line 50 of file SendFileResponseSerializableAc.cpp.

◆ operator==()

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

Equality operator.

Parameters
objThe other object

Definition at line 61 of file SendFileResponseSerializableAc.cpp.

◆ serialize()

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

Serialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 91 of file SendFileResponseSerializableAc.cpp.

◆ set()

void Svc::SendFileResponse::set ( Svc::SendFileStatus::T  status,
U32  context 
)

Set all members.

Definition at line 155 of file SendFileResponseSerializableAc.cpp.

◆ setcontext()

void Svc::SendFileResponse::setcontext ( U32  context)

Set member context.

Definition at line 171 of file SendFileResponseSerializableAc.cpp.

◆ setstatus()

void Svc::SendFileResponse::setstatus ( Svc::SendFileStatus::T  status)

Set member status.

Definition at line 165 of file SendFileResponseSerializableAc.cpp.

Member Data Documentation

◆ m_context

U32 Svc::SendFileResponse::m_context
protected

Definition at line 151 of file SendFileResponseSerializableAc.hpp.

◆ m_status

Svc::SendFileStatus Svc::SendFileResponse::m_status
protected

Definition at line 150 of file SendFileResponseSerializableAc.hpp.


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