![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Data structure representing a data product. More...
#include <Svc/DpCatalog/DpRecordSerializableAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| DpRecord () | |
| Constructor (default value) More... | |
| DpRecord (FwDpIdType id, U32 tSec, U32 tSub, U32 priority, U64 size, U32 blocks, Fw::DpState::T state) | |
| Member constructor. More... | |
| DpRecord (const DpRecord &obj) | |
| Copy constructor. More... | |
| DpRecord & | operator= (const DpRecord &obj) |
| Copy assignment operator. More... | |
| bool | operator== (const DpRecord &obj) const |
| Equality operator. More... | |
| bool | operator!= (const DpRecord &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... | |
| FwDpIdType | get_id () const |
| Get member id. More... | |
| U32 | get_tSec () const |
| Get member tSec. More... | |
| U32 | get_tSub () const |
| Get member tSub. More... | |
| U32 | get_priority () const |
| Get member priority. More... | |
| U64 | get_size () const |
| Get member size. More... | |
| U32 | get_blocks () const |
| Get member blocks. More... | |
| Fw::DpState::T | get_state () const |
| Get member state. More... | |
| void | set (FwDpIdType id, U32 tSec, U32 tSub, U32 priority, U64 size, U32 blocks, Fw::DpState::T state) |
| Set all members. More... | |
| void | set_id (FwDpIdType id) |
| Set member id. More... | |
| void | set_tSec (U32 tSec) |
| Set member tSec. More... | |
| void | set_tSub (U32 tSub) |
| Set member tSub. More... | |
| void | set_priority (U32 priority) |
| Set member priority. More... | |
| void | set_size (U64 size) |
| Set member size. More... | |
| void | set_blocks (U32 blocks) |
| Set member blocks. More... | |
| void | set_state (Fw::DpState::T state) |
| Set member state. 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 | |
| FwDpIdType | m_id |
| U32 | m_tSec |
| U32 | m_tSub |
| U32 | m_priority |
| U64 | m_size |
| U32 | m_blocks |
| Fw::DpState | m_state |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
Data structure representing a data product.
Definition at line 20 of file DpRecordSerializableAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 30 of file DpRecordSerializableAc.hpp.
| Svc::DpRecord::DpRecord | ( | ) |
Constructor (default value)
Definition at line 17 of file DpRecordSerializableAc.cpp.
| Svc::DpRecord::DpRecord | ( | FwDpIdType | id, |
| U32 | tSec, | ||
| U32 | tSub, | ||
| U32 | priority, | ||
| U64 | size, | ||
| U32 | blocks, | ||
| Fw::DpState::T | state | ||
| ) |
Member constructor.
Definition at line 31 of file DpRecordSerializableAc.cpp.
| Svc::DpRecord::DpRecord | ( | const DpRecord & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 53 of file DpRecordSerializableAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 158 of file DpRecordSerializableAc.cpp.
|
inline |
Get member blocks.
Definition at line 163 of file DpRecordSerializableAc.hpp.
|
inline |
Get member id.
Definition at line 133 of file DpRecordSerializableAc.hpp.
|
inline |
Get member priority.
Definition at line 151 of file DpRecordSerializableAc.hpp.
|
inline |
Get member size.
Definition at line 157 of file DpRecordSerializableAc.hpp.
|
inline |
Get member state.
Definition at line 169 of file DpRecordSerializableAc.hpp.
|
inline |
Get member tSec.
Definition at line 139 of file DpRecordSerializableAc.hpp.
|
inline |
Get member tSub.
Definition at line 145 of file DpRecordSerializableAc.hpp.
| bool Svc::DpRecord::operator!= | ( | const DpRecord & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 97 of file DpRecordSerializableAc.cpp.
Copy assignment operator.
| obj | The source object |
Definition at line 71 of file DpRecordSerializableAc.cpp.
| bool Svc::DpRecord::operator== | ( | const DpRecord & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 82 of file DpRecordSerializableAc.cpp.
| FwSizeType Svc::DpRecord::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 198 of file DpRecordSerializableAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 118 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set | ( | FwDpIdType | id, |
| U32 | tSec, | ||
| U32 | tSub, | ||
| U32 | priority, | ||
| U64 | size, | ||
| U32 | blocks, | ||
| Fw::DpState::T | state | ||
| ) |
Set all members.
Definition at line 269 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_blocks | ( | U32 | blocks | ) |
Set member blocks.
Definition at line 319 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_id | ( | FwDpIdType | id | ) |
Set member id.
Definition at line 289 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_priority | ( | U32 | priority | ) |
Set member priority.
Definition at line 307 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_size | ( | U64 | size | ) |
Set member size.
Definition at line 313 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_state | ( | Fw::DpState::T | state | ) |
Set member state.
Definition at line 325 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_tSec | ( | U32 | tSec | ) |
Set member tSec.
Definition at line 295 of file DpRecordSerializableAc.cpp.
| void Svc::DpRecord::set_tSub | ( | U32 | tSub | ) |
Set member tSub.
Definition at line 301 of file DpRecordSerializableAc.cpp.
|
protected |
Definition at line 221 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 216 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 219 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 220 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 222 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 217 of file DpRecordSerializableAc.hpp.
|
protected |
Definition at line 218 of file DpRecordSerializableAc.hpp.