![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for Version component. More...
#include <Svc/Version/VersionComponentAc.hpp>
Public Member Functions | |
| void | init (FwEnumStoreType instance=0) |
| Initialize VersionComponentBase object. | |
| Fw::InputCmdPort * | get_cmdIn_InputPort (FwIndexType portNum) |
| Svc::InputVersionPort * | get_getVersion_InputPort (FwIndexType portNum) |
| Svc::InputVersionPort * | get_setVersion_InputPort (FwIndexType portNum) |
| void | set_cmdRegOut_OutputPort (FwIndexType portNum, Fw::InputCmdRegPort *port) |
| Connect port to cmdRegOut[portNum]. | |
| void | set_cmdResponseOut_OutputPort (FwIndexType portNum, Fw::InputCmdResponsePort *port) |
| Connect port to cmdResponseOut[portNum]. | |
| void | set_logOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
| Connect port to logOut[portNum]. | |
| void | set_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
| Connect port to timeCaller[portNum]. | |
| void | set_tlmOut_OutputPort (FwIndexType portNum, Fw::InputTlmPort *port) |
| Connect port to tlmOut[portNum]. | |
| void | regCommands () |
| Register commands with the Command Dispatcher. | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. | |
| U32 | getIdBase () const |
Protected Member Functions | |
| VersionComponentBase (const char *compName="") | |
| Construct VersionComponentBase object. | |
| virtual | ~VersionComponentBase () |
| Destroy VersionComponentBase object. | |
| FwIndexType | getNum_cmdIn_InputPorts () const |
| FwIndexType | getNum_getVersion_InputPorts () const |
| FwIndexType | getNum_setVersion_InputPorts () const |
| FwIndexType | getNum_cmdRegOut_OutputPorts () const |
| FwIndexType | getNum_cmdResponseOut_OutputPorts () const |
| FwIndexType | getNum_logOut_OutputPorts () const |
| FwIndexType | getNum_timeCaller_OutputPorts () const |
| FwIndexType | getNum_tlmOut_OutputPorts () const |
| bool | isConnected_cmdRegOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_logOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_timeCaller_OutputPort (FwIndexType portNum) |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) |
| virtual void | getVersion_handler (FwIndexType portNum, const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status)=0 |
| Handler for input port getVersion. | |
| virtual void | setVersion_handler (FwIndexType portNum, const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status)=0 |
| Handler for input port setVersion. | |
| void | getVersion_handlerBase (FwIndexType portNum, const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status) |
| Handler base-class function for input port getVersion. | |
| void | setVersion_handlerBase (FwIndexType portNum, const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status) |
| Handler base-class function for input port setVersion. | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. | |
| virtual void | ENABLE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::VersionEnabled enable)=0 |
| virtual void | VERSION_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::VersionType version_type)=0 |
| void | ENABLE_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | VERSION_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | log_ACTIVITY_LO_FrameworkVersion (const Fw::StringBase &version) const |
| void | log_ACTIVITY_LO_ProjectVersion (const Fw::StringBase &version) const |
| void | log_ACTIVITY_LO_LibraryVersions (const Fw::StringBase &version) const |
| void | log_ACTIVITY_LO_CustomVersions (Svc::VersionCfg::VersionEnum version_enum, const Fw::StringBase &version_value) const |
| void | tlmWrite_FrameworkVersion (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_ProjectVersion (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CustomVersion01 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CustomVersion02 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion02. | |
| void | tlmWrite_CustomVersion03 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion03. | |
| void | tlmWrite_CustomVersion04 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion04. | |
| void | tlmWrite_CustomVersion05 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion05. | |
| void | tlmWrite_CustomVersion06 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion06. | |
| void | tlmWrite_CustomVersion07 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion07. | |
| void | tlmWrite_CustomVersion08 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion08. | |
| void | tlmWrite_CustomVersion09 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion09. | |
| void | tlmWrite_CustomVersion10 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion10. | |
| void | tlmWrite_LibraryVersion01 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_LibraryVersion02 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion02. | |
| void | tlmWrite_LibraryVersion03 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion03. | |
| void | tlmWrite_LibraryVersion04 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion04. | |
| void | tlmWrite_LibraryVersion05 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion05. | |
| void | tlmWrite_LibraryVersion06 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion06. | |
| void | tlmWrite_LibraryVersion07 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion07. | |
| void | tlmWrite_LibraryVersion08 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion08. | |
| void | tlmWrite_LibraryVersion09 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion09. | |
| void | tlmWrite_LibraryVersion10 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion10. | |
| Fw::Time | getTime () |
| virtual void | lock () |
| Lock the guarded mutex. | |
| virtual void | unLock () |
| Unlock the guarded mutex. | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. | |
| virtual | ~PassiveComponentBase () |
| Destructor. | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. | |
| virtual | ~ObjBase () |
| Destructor. | |
| void | init () |
| Object initializer. | |
Friends | |
| class | VersionComponentBaseFriend |
| Friend class for white-box testing. | |
Auto-generated base for Version component.
Definition at line 37 of file VersionComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 55 of file VersionComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_GETVERSION_INPUT_PORTS | |
| NUM_SETVERSION_INPUT_PORTS | |
Definition at line 60 of file VersionComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_CMDREGOUT_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_LOGOUT_OUTPUT_PORTS | |
| NUM_LOGTEXTOUT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
Definition at line 66 of file VersionComponentAc.hpp.
|
protected |
Command opcodes.
| Enumerator | |
|---|---|
| OPCODE_ENABLE | A command to enable or disable Event verbosity and Telemetry. |
| OPCODE_VERSION | Report version as Event. |
Definition at line 76 of file VersionComponentAc.hpp.
|
protected |
|
protected |
Channel IDs.
Definition at line 90 of file VersionComponentAc.hpp.
|
protected |
Construct VersionComponentBase object.
| compName | The component name |
Definition at line 466 of file VersionComponentAc.cpp.
|
protectedvirtual |
Destroy VersionComponentBase object.
Definition at line 473 of file VersionComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 691 of file VersionComponentAc.cpp.
|
protectedpure virtual |
Handler for command ENABLE
A command to enable or disable Event verbosity and Telemetry
| opCode | The opcode |
| cmdSeq | The command sequence number |
| enable | whether or not Version telemetry is enabled |
|
protected |
Base-class handler function for command ENABLE
A command to enable or disable Event verbosity and Telemetry
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 708 of file VersionComponentAc.cpp.
| Fw::InputCmdPort * Svc::VersionComponentBase::get_cmdIn_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 219 of file VersionComponentAc.cpp.
| Svc::InputVersionPort * Svc::VersionComponentBase::get_getVersion_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 234 of file VersionComponentAc.cpp.
| Svc::InputVersionPort * Svc::VersionComponentBase::get_setVersion_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 245 of file VersionComponentAc.cpp.
|
protected |
Get the number of cmdIn input ports
Definition at line 483 of file VersionComponentAc.cpp.
|
protected |
Get the number of cmdRegOut output ports
Definition at line 509 of file VersionComponentAc.cpp.
|
protected |
Get the number of cmdResponseOut output ports
Definition at line 515 of file VersionComponentAc.cpp.
|
protected |
Get the number of getVersion input ports
Definition at line 493 of file VersionComponentAc.cpp.
|
protected |
Get the number of logOut output ports
Definition at line 521 of file VersionComponentAc.cpp.
|
protected |
Get the number of setVersion input ports
Definition at line 499 of file VersionComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 537 of file VersionComponentAc.cpp.
|
protected |
Get the number of tlmOut output ports
Definition at line 543 of file VersionComponentAc.cpp.
|
protected |
|
protectedpure virtual |
Handler for input port getVersion.
| portNum | The port number |
| version_id | The entry to access |
| version_string | The value to be passed |
| status | The command response argument |
|
protected |
Handler base-class function for input port getVersion.
| portNum | The port number |
| version_id | The entry to access |
| version_string | The value to be passed |
| status | The command response argument |
Definition at line 629 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize VersionComponentBase object.
| instance | The instance number |
Definition at line 20 of file VersionComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
| portNum | The port number |
Definition at line 553 of file VersionComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 564 of file VersionComponentAc.cpp.
|
protected |
Check whether port logOut is connected
| portNum | The port number |
Definition at line 575 of file VersionComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 601 of file VersionComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 612 of file VersionComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 1879 of file VersionComponentAc.cpp.
|
protected |
Log event CustomVersions
Version of the git repository.
| version_enum | The enum to access |
| version_value | version |
Definition at line 1030 of file VersionComponentAc.cpp.
|
protected |
Log event FrameworkVersion
Version of the git repository.
| version | version string |
Definition at line 814 of file VersionComponentAc.cpp.
|
protected |
Log event LibraryVersions
Version of the git repository.
| version | version string |
Definition at line 958 of file VersionComponentAc.cpp.
|
protected |
Log event ProjectVersion
Version of the git repository.
| version | version string |
Definition at line 886 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 448 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::set_cmdRegOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 260 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::set_cmdResponseOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 274 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::set_logOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to logOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 288 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::set_timeCaller_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeCaller[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 320 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::set_tlmOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 334 of file VersionComponentAc.cpp.
|
protectedpure virtual |
Handler for input port setVersion.
| portNum | The port number |
| version_id | The entry to access |
| version_string | The value to be passed |
| status | The command response argument |
|
protected |
Handler base-class function for input port setVersion.
| portNum | The port number |
| version_id | The entry to access |
| version_string | The value to be passed |
| status | The command response argument |
Definition at line 658 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion01
Custom Versions
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1195 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion02.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1228 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion03.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1261 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion04.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1294 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion05.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1327 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion06.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1360 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion07.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1393 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion08.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1426 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion09.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1459 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion10.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1492 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel FrameworkVersion
Software framework version
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1129 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion01
Library Versions
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1525 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion02.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1558 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion03.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1591 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion04.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1624 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion05.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1657 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion06.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1690 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion07.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1723 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion08.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1756 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion09.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1789 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion10.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1822 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel ProjectVersion
Software project version
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1162 of file VersionComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 1885 of file VersionComponentAc.cpp.
|
protectedpure virtual |
Handler for command VERSION
Report version as Event
| opCode | The opcode |
| cmdSeq | The command sequence number |
| version_type | which version type Event is requested |
|
protected |
Base-class handler function for command VERSION
Report version as Event
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 759 of file VersionComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 46 of file VersionComponentAc.hpp.