![]() |
F´ Flight Software - C/C++ Documentation
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 = FwSizeType |
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 | 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... | |
| Svc::SendFileStatus::T | get_status () const |
| Get member status. More... | |
| U32 | get_context () const |
| Get member context. More... | |
| void | set (Svc::SendFileStatus::T status, U32 context) |
| Set all members. More... | |
| void | set_status (Svc::SendFileStatus::T status) |
| Set member status. More... | |
| void | set_context (U32 context) |
| Set member context. More... | |
Public Member Functions inherited from Fw::Serializable | |
| Serializable & | operator= (const Serializable &src)=default |
| TODO: this operator should be deleted, this must be done after RawTime is modified though. More... | |
| DEPRECATED (SerializeStatus serialize(SerialBufferBase &buffer) const, "Use serializeTo(SerialBufferBase& buffer) instead") | |
| DEPRECATED (SerializeStatus deserialize(SerialBufferBase &buffer), "Use deserializeFrom(SerialBufferBase& buffer) instead") | |
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 () |
| Virtual 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 17 of file SendFileResponseSerializableAc.cpp.
| Svc::SendFileResponse::SendFileResponse | ( | Svc::SendFileStatus::T | status, |
| U32 | context | ||
| ) |
Member constructor.
Definition at line 26 of file SendFileResponseSerializableAc.cpp.
| Svc::SendFileResponse::SendFileResponse | ( | const SendFileResponse & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 38 of file SendFileResponseSerializableAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 113 of file SendFileResponseSerializableAc.cpp.
|
inline |
Get member context.
Definition at line 128 of file SendFileResponseSerializableAc.hpp.
|
inline |
Get member status.
Definition at line 122 of file SendFileResponseSerializableAc.hpp.
| bool Svc::SendFileResponse::operator!= | ( | const SendFileResponse & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 72 of file SendFileResponseSerializableAc.cpp.
| SendFileResponse & Svc::SendFileResponse::operator= | ( | const SendFileResponse & | obj | ) |
Copy assignment operator.
| obj | The source object |
Definition at line 51 of file SendFileResponseSerializableAc.cpp.
| bool Svc::SendFileResponse::operator== | ( | const SendFileResponse & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 62 of file SendFileResponseSerializableAc.cpp.
| FwSizeType Svc::SendFileResponse::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 133 of file SendFileResponseSerializableAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 93 of file SendFileResponseSerializableAc.cpp.
| void Svc::SendFileResponse::set | ( | Svc::SendFileStatus::T | status, |
| U32 | context | ||
| ) |
Set all members.
Definition at line 169 of file SendFileResponseSerializableAc.cpp.
| void Svc::SendFileResponse::set_context | ( | U32 | context | ) |
Set member context.
Definition at line 185 of file SendFileResponseSerializableAc.cpp.
| void Svc::SendFileResponse::set_status | ( | Svc::SendFileStatus::T | status | ) |
Set member status.
Definition at line 179 of file SendFileResponseSerializableAc.cpp.
|
protected |
Definition at line 156 of file SendFileResponseSerializableAc.hpp.
|
protected |
Definition at line 155 of file SendFileResponseSerializableAc.hpp.