![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
PolyDb Component Class. More...
#include <Svc/PolyDb/PolyDb.hpp>
Public Member Functions | |
PolyDb (const char *const name) | |
PolyDbImpl constructor. More... | |
virtual | ~PolyDb () |
PolyDbImpl destructor. More... | |
![]() | |
void | init (FwEnumStoreType instance=0) |
Initialize PolyDbComponentBase object. More... | |
Svc::InputPolyPort * | get_getValue_InputPort (FwIndexType portNum) |
Svc::InputPolyPort * | get_setValue_InputPort (FwIndexType portNum) |
![]() | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Additional Inherited Members | |
![]() | |
enum | { NUM_GETVALUE_INPUT_PORTS = 1, NUM_SETVALUE_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
![]() | |
PolyDbComponentBase (const char *compName="") | |
Construct PolyDbComponentBase object. More... | |
virtual | ~PolyDbComponentBase () |
Destroy PolyDbComponentBase object. More... | |
FwIndexType | getNum_getValue_InputPorts () const |
FwIndexType | getNum_setValue_InputPorts () const |
void | getValue_handlerBase (FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
Handler base-class function for input port getValue. More... | |
void | setValue_handlerBase (FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
Handler base-class function for input port setValue. More... | |
virtual void | lock () |
Lock the guarded mutex. More... | |
virtual void | unLock () |
Unlock the guarded mutex. More... | |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
Initialization function. More... | |
NATIVE_INT_TYPE | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
PolyDb Component Class.
This component allows the setting and retrieving of PolyType telemetry values. It be used as a central analog database that can decouple measurement sources from measurement users. The intent is that measurement sources would convert DNs (data numbers) to ENs (Engineering Numbers) to decouple the conversion as well.
Definition at line 30 of file PolyDb.hpp.
|
explicit |
PolyDbImpl constructor.
The constructor initializes the database to "MeasurementStatus::STALE." All values retrieved will have this status until the first update is received.
Definition at line 13 of file PolyDb.cpp.
|
virtual |