![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Data structure for Time. More...
#include <Fw/Time/TimeValueSerializableAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| TimeValue () | |
| Constructor (default value) More... | |
| TimeValue (TimeBase::T timeBase, FwTimeContextStoreType timeContext, U32 seconds, U32 useconds) | |
| Member constructor. More... | |
| TimeValue (const TimeValue &obj) | |
| Copy constructor. More... | |
| TimeValue & | operator= (const TimeValue &obj) |
| Copy assignment operator. More... | |
| bool | operator== (const TimeValue &obj) const |
| Equality operator. More... | |
| bool | operator!= (const TimeValue &obj) const |
| Inequality operator. More... | |
| Fw::SerializeStatus | serializeTo (Fw::SerializeBufferBase &buffer) const |
| Serialization. More... | |
| Fw::SerializeStatus | deserializeFrom (Fw::SerializeBufferBase &buffer) |
| Deserialization. More... | |
| FwSizeType | serializedSize () const |
| Get the dynamic serialized size of the struct. More... | |
| TimeBase::T | get_timeBase () const |
| Get member timeBase. More... | |
| FwTimeContextStoreType | get_timeContext () const |
| Get member timeContext. More... | |
| U32 | get_seconds () const |
| Get member seconds. More... | |
| U32 | get_useconds () const |
| Get member useconds. More... | |
| void | set (TimeBase::T timeBase, FwTimeContextStoreType timeContext, U32 seconds, U32 useconds) |
| Set all members. More... | |
| void | set_timeBase (TimeBase::T timeBase) |
| Set member timeBase. More... | |
| void | set_timeContext (FwTimeContextStoreType timeContext) |
| Set member timeContext. More... | |
| void | set_seconds (U32 seconds) |
| Set member seconds. More... | |
| void | set_useconds (U32 useconds) |
| Set member useconds. More... | |
Public Member Functions inherited from Fw::Serializable | |
| SerializeStatus | serialize (SerializeBufferBase &buffer) const |
| SerializeStatus | deserialize (SerializeBufferBase &buffer) |
Protected Attributes | |
| TimeBase | m_timeBase |
| FwTimeContextStoreType | m_timeContext |
| U32 | m_seconds |
| U32 | m_useconds |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| destructor More... | |
Data structure for Time.
Definition at line 20 of file TimeValueSerializableAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 30 of file TimeValueSerializableAc.hpp.
| Fw::TimeValue::TimeValue | ( | ) |
Constructor (default value)
Definition at line 17 of file TimeValueSerializableAc.cpp.
| Fw::TimeValue::TimeValue | ( | TimeBase::T | timeBase, |
| FwTimeContextStoreType | timeContext, | ||
| U32 | seconds, | ||
| U32 | useconds | ||
| ) |
Member constructor.
Definition at line 28 of file TimeValueSerializableAc.cpp.
| Fw::TimeValue::TimeValue | ( | const TimeValue & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 44 of file TimeValueSerializableAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 128 of file TimeValueSerializableAc.cpp.
|
inline |
Get member seconds.
Definition at line 137 of file TimeValueSerializableAc.hpp.
|
inline |
Get member timeBase.
Definition at line 125 of file TimeValueSerializableAc.hpp.
|
inline |
Get member timeContext.
Definition at line 131 of file TimeValueSerializableAc.hpp.
|
inline |
Get member useconds.
Definition at line 143 of file TimeValueSerializableAc.hpp.
| bool Fw::TimeValue::operator!= | ( | const TimeValue & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 82 of file TimeValueSerializableAc.cpp.
Copy assignment operator.
| obj | The source object |
Definition at line 59 of file TimeValueSerializableAc.cpp.
| bool Fw::TimeValue::operator== | ( | const TimeValue & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 70 of file TimeValueSerializableAc.cpp.
| FwSizeType Fw::TimeValue::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 153 of file TimeValueSerializableAc.cpp.
|
virtual |
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 103 of file TimeValueSerializableAc.cpp.
| void Fw::TimeValue::set | ( | TimeBase::T | timeBase, |
| FwTimeContextStoreType | timeContext, | ||
| U32 | seconds, | ||
| U32 | useconds | ||
| ) |
Set all members.
Definition at line 203 of file TimeValueSerializableAc.cpp.
| void Fw::TimeValue::set_seconds | ( | U32 | seconds | ) |
Set member seconds.
Definition at line 229 of file TimeValueSerializableAc.cpp.
| void Fw::TimeValue::set_timeBase | ( | TimeBase::T | timeBase | ) |
Set member timeBase.
Definition at line 217 of file TimeValueSerializableAc.cpp.
| void Fw::TimeValue::set_timeContext | ( | FwTimeContextStoreType | timeContext | ) |
Set member timeContext.
Definition at line 223 of file TimeValueSerializableAc.cpp.
| void Fw::TimeValue::set_useconds | ( | U32 | useconds | ) |
Set member useconds.
Definition at line 235 of file TimeValueSerializableAc.cpp.
|
protected |
Definition at line 180 of file TimeValueSerializableAc.hpp.
|
protected |
Definition at line 178 of file TimeValueSerializableAc.hpp.
|
protected |
Definition at line 179 of file TimeValueSerializableAc.hpp.
|
protected |
Definition at line 181 of file TimeValueSerializableAc.hpp.