![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for PolyDb component. More...
#include <Svc/PolyDb/PolyDbComponentAc.hpp>
Public Member Functions | |
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 |
Protected Types | |
enum | { NUM_GETVALUE_INPUT_PORTS = 1 , NUM_SETVALUE_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
Protected Member Functions | |
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 |
virtual void | getValue_handler (NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)=0 |
Handler for input port getValue. More... | |
virtual void | setValue_handler (NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)=0 |
Handler for input port setValue. More... | |
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... | |
Friends | |
class | PolyDbComponentBaseFriend |
Friend class for white-box testing. More... | |
Auto-generated base for PolyDb component.
A polymorphic database component
Definition at line 23 of file PolyDbComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_GETVALUE_INPUT_PORTS | |
NUM_SETVALUE_INPUT_PORTS |
Definition at line 41 of file PolyDbComponentAc.hpp.
|
protected |
Construct PolyDbComponentBase object.
compName | The component name |
Definition at line 122 of file PolyDbComponentAc.cpp.
|
protectedvirtual |
Destroy PolyDbComponentBase object.
Definition at line 129 of file PolyDbComponentAc.cpp.
Svc::InputPolyPort * Svc::PolyDbComponentBase::get_getValue_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 96 of file PolyDbComponentAc.cpp.
Svc::InputPolyPort * Svc::PolyDbComponentBase::get_setValue_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 107 of file PolyDbComponentAc.cpp.
|
protected |
Get the number of getValue input ports
Definition at line 139 of file PolyDbComponentAc.cpp.
|
protected |
Get the number of setValue input ports
Definition at line 145 of file PolyDbComponentAc.cpp.
|
protectedpure virtual |
Handler for input port getValue.
portNum | The port number |
entry | The entry to access |
status | The command response argument |
time | The time of the measurement |
val | The value to be passed |
|
protected |
Handler base-class function for input port getValue.
portNum | The port number |
entry | The entry to access |
status | The command response argument |
time | The time of the measurement |
val | The value to be passed |
Definition at line 157 of file PolyDbComponentAc.cpp.
void Svc::PolyDbComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize PolyDbComponentBase object.
instance | The instance number |
Definition at line 21 of file PolyDbComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 226 of file PolyDbComponentAc.cpp.
|
protectedpure virtual |
Handler for input port setValue.
portNum | The port number |
entry | The entry to access |
status | The command response argument |
time | The time of the measurement |
val | The value to be passed |
|
protected |
Handler base-class function for input port setValue.
portNum | The port number |
entry | The entry to access |
status | The command response argument |
time | The time of the measurement |
val | The value to be passed |
Definition at line 188 of file PolyDbComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 232 of file PolyDbComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 32 of file PolyDbComponentAc.hpp.