F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Send file response struct. More...
#include <Svc/FileDownlinkPorts/SendFileResponseSerializableAc.hpp>
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... | |
SendFileResponse & | operator= (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... | |
Send file response struct.
Definition at line 19 of file SendFileResponseSerializableAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 29 of file SendFileResponseSerializableAc.hpp.
Svc::SendFileResponse::SendFileResponse | ( | ) |
Constructor (default value)
Definition at line 16 of file SendFileResponseSerializableAc.cpp.
Svc::SendFileResponse::SendFileResponse | ( | Svc::SendFileStatus::T | status, |
U32 | context | ||
) |
Member constructor.
Definition at line 25 of file SendFileResponseSerializableAc.cpp.
Svc::SendFileResponse::SendFileResponse | ( | const SendFileResponse & | obj | ) |
Copy constructor.
obj | The source object |
Definition at line 37 of file SendFileResponseSerializableAc.cpp.
|
virtual |
Deserialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 108 of file SendFileResponseSerializableAc.cpp.
|
inline |
Get member context.
Definition at line 123 of file SendFileResponseSerializableAc.hpp.
|
inline |
Get member status.
Definition at line 117 of file SendFileResponseSerializableAc.hpp.
bool Svc::SendFileResponse::operator!= | ( | const SendFileResponse & | obj | ) | const |
Inequality operator.
obj | The other object |
Definition at line 70 of file SendFileResponseSerializableAc.cpp.
SendFileResponse & Svc::SendFileResponse::operator= | ( | const SendFileResponse & | obj | ) |
Copy assignment operator.
obj | The source object |
Definition at line 50 of file SendFileResponseSerializableAc.cpp.
bool Svc::SendFileResponse::operator== | ( | const SendFileResponse & | obj | ) | const |
Equality operator.
obj | The other object |
Definition at line 61 of file SendFileResponseSerializableAc.cpp.
|
virtual |
Serialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 91 of file SendFileResponseSerializableAc.cpp.
void Svc::SendFileResponse::set | ( | Svc::SendFileStatus::T | status, |
U32 | context | ||
) |
Set all members.
Definition at line 155 of file SendFileResponseSerializableAc.cpp.
void Svc::SendFileResponse::setcontext | ( | U32 | context | ) |
Set member context.
Definition at line 171 of file SendFileResponseSerializableAc.cpp.
void Svc::SendFileResponse::setstatus | ( | Svc::SendFileStatus::T | status | ) |
Set member status.
Definition at line 165 of file SendFileResponseSerializableAc.cpp.
|
protected |
Definition at line 151 of file SendFileResponseSerializableAc.hpp.
|
protected |
Definition at line 150 of file SendFileResponseSerializableAc.hpp.