![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
PolyDb Component Class. More...
#include <Svc/PolyDb/PolyDbImpl.hpp>
Public Member Functions | |
PolyDbImpl (const char *name) | |
PolyDbImpl constructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
PolyDbImpl initialization. More... | |
virtual | ~PolyDbImpl () |
PolyDbImpl destructor. More... | |
![]() | |
void | init (NATIVE_INT_TYPE instance=0) |
Initialize PolyDbComponentBase object. More... | |
Svc::InputPolyPort * | get_getValue_InputPort (NATIVE_INT_TYPE portNum) |
Svc::InputPolyPort * | get_setValue_InputPort (NATIVE_INT_TYPE 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... | |
NATIVE_INT_TYPE | getNum_getValue_InputPorts () const |
NATIVE_INT_TYPE | getNum_setValue_InputPorts () const |
void | getValue_handlerBase (NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val) |
Handler base-class function for input port getValue. More... | |
void | setValue_handlerBase (NATIVE_INT_TYPE portNum, U32 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 31 of file PolyDbImpl.hpp.
Svc::PolyDbImpl::PolyDbImpl | ( | const char * | name | ) |
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 PolyDbImpl.cpp.
|
virtual |
void Svc::PolyDbImpl::init | ( | NATIVE_INT_TYPE | instance | ) |
PolyDbImpl initialization.
The PolyDbImpl initialization function calls the base class initializer.
Definition at line 20 of file PolyDbImpl.cpp.