F´ Flight Software - C/C++ Documentation
devel
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 = NATIVE_UINT_TYPE |
Public Member Functions | |
PolyType (U8 val) | |
U8 constructor. More... | |
operator U8 () | |
U8 cast operator. More... | |
void | get (U8 &val) |
U8 accessor. More... | |
bool | isU8 () |
U8 checker. More... | |
PolyType & | operator= (U8 val) |
U8 operator=. More... | |
PolyType (I8 val) | |
I8 constructor. More... | |
operator I8 () | |
I8 cast operator. More... | |
void | get (I8 &val) |
I8 accessor. More... | |
bool | isI8 () |
I8 checker. More... | |
PolyType & | operator= (I8 val) |
I8 operator=. More... | |
PolyType (F32 val) | |
F32 constructor. More... | |
operator F32 () | |
F32 cast operator. More... | |
void | get (F32 &val) |
F32 accessor. More... | |
bool | isF32 () |
F32 checker. More... | |
PolyType & | operator= (F32 val) |
F32 operator=. More... | |
PolyType (bool val) | |
bool constructor More... | |
operator bool () | |
bool cast operator More... | |
void | get (bool &val) |
bool accessor More... | |
bool | isBool () |
bool checker More... | |
PolyType & | operator= (bool val) |
bool operator= More... | |
PolyType (void *val) | |
void* constructor. More... | |
operator void * () | |
void* cast operator More... | |
void | get (void *&val) |
void* accessor More... | |
bool | isPtr () |
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 | serialize (SerializeBufferBase &buffer) const |
Serialize function. More... | |
SerializeStatus | deserialize (SerializeBufferBase &buffer) |
Deserialize function. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
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 160 of file PolyType.hpp.
Fw::PolyType::PolyType | ( | U8 | val | ) |
U8 constructor.
Definition at line 14 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | I8 | val | ) |
I8 constructor.
Definition at line 41 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | F32 | val | ) |
F32 constructor.
Definition at line 267 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | bool | val | ) |
bool constructor
Definition at line 292 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | void * | val | ) |
void* constructor.
Definition at line 317 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | ) |
default constructor
Definition at line 10 of file PolyType.cpp.
Fw::PolyType::PolyType | ( | const PolyType & | original | ) |
copy constructor
Definition at line 342 of file PolyType.cpp.
|
virtual |
destructor
Definition at line 347 of file PolyType.cpp.
|
virtual |
void Fw::PolyType::get | ( | bool & | val | ) |
bool accessor
Definition at line 302 of file PolyType.cpp.
void Fw::PolyType::get | ( | F32 & | val | ) |
F32 accessor.
Definition at line 277 of file PolyType.cpp.
void Fw::PolyType::get | ( | I8 & | val | ) |
I8 accessor.
Definition at line 51 of file PolyType.cpp.
void Fw::PolyType::get | ( | U8 & | val | ) |
U8 accessor.
Definition at line 24 of file PolyType.cpp.
void Fw::PolyType::get | ( | void *& | val | ) |
void* accessor
Definition at line 327 of file PolyType.cpp.
bool Fw::PolyType::isBool | ( | ) |
bool checker
Definition at line 307 of file PolyType.cpp.
bool Fw::PolyType::isF32 | ( | ) |
F32 checker.
Definition at line 282 of file PolyType.cpp.
bool Fw::PolyType::isI8 | ( | ) |
I8 checker.
Definition at line 56 of file PolyType.cpp.
bool Fw::PolyType::isPtr | ( | ) |
void* checker
Definition at line 332 of file PolyType.cpp.
bool Fw::PolyType::isU8 | ( | ) |
U8 checker.
Definition at line 29 of file PolyType.cpp.
Fw::PolyType::operator bool | ( | ) |
bool cast operator
Definition at line 297 of file PolyType.cpp.
Fw::PolyType::operator F32 | ( | ) |
F32 cast operator.
Definition at line 272 of file PolyType.cpp.
Fw::PolyType::operator I8 | ( | ) |
I8 cast operator.
Definition at line 46 of file PolyType.cpp.
Fw::PolyType::operator U8 | ( | ) |
U8 cast operator.
Definition at line 19 of file PolyType.cpp.
Fw::PolyType::operator void * | ( | ) |
void* cast operator
Definition at line 322 of file PolyType.cpp.
bool Fw::PolyType::operator!= | ( | const PolyType & | other | ) | const |
PolyType operator!=.
Definition at line 355 of file PolyType.cpp.
bool Fw::PolyType::operator< | ( | const PolyType & | other | ) | const |
PolyType operator<.
Definition at line 418 of file PolyType.cpp.
bool Fw::PolyType::operator<= | ( | const PolyType & | other | ) | const |
PolyType operator<=.
Definition at line 487 of file PolyType.cpp.
PolyType & Fw::PolyType::operator= | ( | bool | val | ) |
bool operator=
Definition at line 311 of file PolyType.cpp.
PolyType operator=.
Definition at line 349 of file PolyType.cpp.
F32 operator=.
Definition at line 286 of file PolyType.cpp.
I8 operator=.
Definition at line 60 of file PolyType.cpp.
U8 operator=.
Definition at line 33 of file PolyType.cpp.
PolyType & Fw::PolyType::operator= | ( | void * | val | ) |
void* operator=
Definition at line 336 of file PolyType.cpp.
bool Fw::PolyType::operator== | ( | const PolyType & | other | ) | const |
PolyType operator==.
Definition at line 359 of file PolyType.cpp.
bool Fw::PolyType::operator> | ( | const PolyType & | other | ) | const |
PolyType operator>
Definition at line 479 of file PolyType.cpp.
bool Fw::PolyType::operator>= | ( | const PolyType & | other | ) | const |
PolyType operator>=.
Definition at line 483 of file PolyType.cpp.
|
virtual |