![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Types/PolyType.hpp>
Public Types | |
| enum | { SERIALIZED_TYPE_ID = FW_TYPEID_POLY, SERIALIZED_SIZE = sizeof(FwEnumStoreType) + sizeof(PolyVal) } |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| PolyType (U8 val) | |
| U8 constructor. More... | |
| operator U8 () const | |
| U8 cast operator. More... | |
| void | get (U8 &val) const |
| U8 accessor. More... | |
| bool | isU8 () const |
| U8 checker. More... | |
| PolyType & | operator= (U8 val) |
| U8 operator=. More... | |
| PolyType (I8 val) | |
| I8 constructor. More... | |
| operator I8 () const | |
| I8 cast operator. More... | |
| void | get (I8 &val) const |
| I8 accessor. More... | |
| bool | isI8 () const |
| I8 checker. More... | |
| PolyType & | operator= (I8 val) |
| I8 operator=. More... | |
| PolyType (F64 val) | |
| F64 constructor. More... | |
| operator F64 () const | |
| F64 cast operator. More... | |
| void | get (F64 &val) const |
| F64 accessor. More... | |
| bool | isF64 () const |
| F64 checker. More... | |
| PolyType & | operator= (F64 val) |
| F64 operator=. More... | |
| PolyType (F32 val) | |
| F32 constructor. More... | |
| operator F32 () const | |
| F32 cast operator. More... | |
| void | get (F32 &val) const |
| F32 accessor. More... | |
| bool | isF32 () const |
| F32 checker. More... | |
| PolyType & | operator= (F32 val) |
| F32 operator=. More... | |
| PolyType (bool val) | |
| bool constructor More... | |
| operator bool () const | |
| bool cast operator More... | |
| void | get (bool &val) const |
| bool accessor More... | |
| bool | isBool () const |
| bool checker More... | |
| PolyType & | operator= (bool val) |
| bool operator= More... | |
| PolyType (void *val) | |
| void* constructor. More... | |
| operator void * () const | |
| void* cast operator More... | |
| void | get (void *&val) const |
| void* accessor More... | |
| bool | isPtr () const |
| void* checker More... | |
| PolyType & | operator= (void *val) |
| void* operator= More... | |
| PolyType () | |
| default constructor More... | |
| PolyType (const PolyType &original) | |
| copy constructor More... | |
| virtual | ~PolyType () |
| destructor More... | |
| PolyType & | operator= (const PolyType &src) |
| PolyType operator=. More... | |
| bool | operator< (const PolyType &other) const |
| PolyType operator<. More... | |
| bool | operator> (const PolyType &other) const |
| PolyType operator> More... | |
| bool | operator>= (const PolyType &other) const |
| PolyType operator>=. More... | |
| bool | operator<= (const PolyType &other) const |
| PolyType operator<=. More... | |
| bool | operator== (const PolyType &other) const |
| PolyType operator==. More... | |
| bool | operator!= (const PolyType &other) const |
| PolyType operator!=. More... | |
| SerializeStatus | serializeTo (SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const override |
| Serialize function. More... | |
| SerializeStatus | deserializeFrom (SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) override |
| Deserialize function. 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") | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
Definition at line 11 of file PolyType.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_TYPE_ID | typeid for PolyType |
| SERIALIZED_SIZE | stored serialized size |
Definition at line 158 of file PolyType.hpp.
| Fw::PolyType::PolyType | ( | U8 | val | ) |
U8 constructor.
Definition at line 13 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | I8 | val | ) |
I8 constructor.
Definition at line 40 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | F64 | val | ) |
F64 constructor.
Definition at line 238 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | F32 | val | ) |
F32 constructor.
Definition at line 263 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | bool | val | ) |
bool constructor
Definition at line 288 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | void * | val | ) |
void* constructor.
Definition at line 313 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | ) |
default constructor
Definition at line 9 of file PolyType.cpp.
| Fw::PolyType::PolyType | ( | const PolyType & | original | ) |
copy constructor
Definition at line 338 of file PolyType.cpp.
|
virtualdefault |
destructor
|
overridevirtual |
| void Fw::PolyType::get | ( | U8 & | val | ) | const |
U8 accessor.
Definition at line 23 of file PolyType.cpp.
| void Fw::PolyType::get | ( | I8 & | val | ) | const |
I8 accessor.
Definition at line 50 of file PolyType.cpp.
| void Fw::PolyType::get | ( | F64 & | val | ) | const |
F64 accessor.
Definition at line 248 of file PolyType.cpp.
| void Fw::PolyType::get | ( | F32 & | val | ) | const |
F32 accessor.
Definition at line 273 of file PolyType.cpp.
| void Fw::PolyType::get | ( | bool & | val | ) | const |
bool accessor
Definition at line 298 of file PolyType.cpp.
| void Fw::PolyType::get | ( | void *& | val | ) | const |
void* accessor
Definition at line 323 of file PolyType.cpp.
| bool Fw::PolyType::isBool | ( | ) | const |
bool checker
Definition at line 303 of file PolyType.cpp.
| bool Fw::PolyType::isF32 | ( | ) | const |
F32 checker.
Definition at line 278 of file PolyType.cpp.
| bool Fw::PolyType::isF64 | ( | ) | const |
F64 checker.
Definition at line 253 of file PolyType.cpp.
| bool Fw::PolyType::isI8 | ( | ) | const |
I8 checker.
Definition at line 55 of file PolyType.cpp.
| bool Fw::PolyType::isPtr | ( | ) | const |
void* checker
Definition at line 328 of file PolyType.cpp.
| bool Fw::PolyType::isU8 | ( | ) | const |
U8 checker.
Definition at line 28 of file PolyType.cpp.
| Fw::PolyType::operator bool | ( | ) | const |
bool cast operator
Definition at line 293 of file PolyType.cpp.
| Fw::PolyType::operator F32 | ( | ) | const |
F32 cast operator.
Definition at line 268 of file PolyType.cpp.
| Fw::PolyType::operator F64 | ( | ) | const |
F64 cast operator.
Definition at line 243 of file PolyType.cpp.
| Fw::PolyType::operator I8 | ( | ) | const |
I8 cast operator.
Definition at line 45 of file PolyType.cpp.
| Fw::PolyType::operator U8 | ( | ) | const |
U8 cast operator.
Definition at line 18 of file PolyType.cpp.
| Fw::PolyType::operator void * | ( | ) | const |
void* cast operator
Definition at line 318 of file PolyType.cpp.
| bool Fw::PolyType::operator!= | ( | const PolyType & | other | ) | const |
PolyType operator!=.
Definition at line 349 of file PolyType.cpp.
| bool Fw::PolyType::operator< | ( | const PolyType & | other | ) | const |
PolyType operator<.
Definition at line 410 of file PolyType.cpp.
| bool Fw::PolyType::operator<= | ( | const PolyType & | other | ) | const |
PolyType operator<=.
Definition at line 477 of file PolyType.cpp.
U8 operator=.
Definition at line 32 of file PolyType.cpp.
I8 operator=.
Definition at line 59 of file PolyType.cpp.
F64 operator=.
Definition at line 257 of file PolyType.cpp.
F32 operator=.
Definition at line 282 of file PolyType.cpp.
| PolyType & Fw::PolyType::operator= | ( | bool | val | ) |
bool operator=
Definition at line 307 of file PolyType.cpp.
| PolyType & Fw::PolyType::operator= | ( | void * | val | ) |
void* operator=
Definition at line 332 of file PolyType.cpp.
PolyType operator=.
Definition at line 343 of file PolyType.cpp.
| bool Fw::PolyType::operator== | ( | const PolyType & | other | ) | const |
PolyType operator==.
Definition at line 353 of file PolyType.cpp.
| bool Fw::PolyType::operator> | ( | const PolyType & | other | ) | const |
PolyType operator>
Definition at line 469 of file PolyType.cpp.
| bool Fw::PolyType::operator>= | ( | const PolyType & | other | ) | const |
PolyType operator>=.
Definition at line 473 of file PolyType.cpp.
|
overridevirtual |