![]() |
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>
Protected Member Functions | |
| VersionComponentBase (const char *compName="") | |
| Construct VersionComponentBase object. More... | |
| virtual | ~VersionComponentBase () |
| Destroy VersionComponentBase object. More... | |
| bool | isConnected_cmdRegOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_logOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_timeCaller_OutputPort (FwIndexType portNum) const |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) const |
| void | cmdIn_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| Handler base-class function for input port cmdIn. More... | |
| 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. More... | |
| virtual void | schedIn_handler (FwIndexType portNum, U32 context)=0 |
| Handler for input port schedIn. More... | |
| 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. More... | |
| 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. More... | |
| void | schedIn_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port schedIn. More... | |
| 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. More... | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. More... | |
| virtual void | ENABLE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Svc::VersionEnabled &enable)=0 |
| virtual void | VERSION_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const 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 (const Svc::VersionCfg::VersionEnum &version_enum, const Fw::StringBase &version_value) const |
| void | tlmWrite (FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) 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. More... | |
| void | tlmWrite_CustomVersion03 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion03. More... | |
| void | tlmWrite_CustomVersion04 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion04. More... | |
| void | tlmWrite_CustomVersion05 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion05. More... | |
| void | tlmWrite_CustomVersion06 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion06. More... | |
| void | tlmWrite_CustomVersion07 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion07. More... | |
| void | tlmWrite_CustomVersion08 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion08. More... | |
| void | tlmWrite_CustomVersion09 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion09. More... | |
| void | tlmWrite_CustomVersion10 (const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel CustomVersion10. More... | |
| 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. More... | |
| void | tlmWrite_LibraryVersion03 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion03. More... | |
| void | tlmWrite_LibraryVersion04 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion04. More... | |
| void | tlmWrite_LibraryVersion05 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion05. More... | |
| void | tlmWrite_LibraryVersion06 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion06. More... | |
| void | tlmWrite_LibraryVersion07 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion07. More... | |
| void | tlmWrite_LibraryVersion08 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion08. More... | |
| void | tlmWrite_LibraryVersion09 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion09. More... | |
| void | tlmWrite_LibraryVersion10 (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel LibraryVersion10. More... | |
| Fw::Time | getTime () const |
| virtual void | lock () |
| Lock the guarded mutex. More... | |
| virtual void | unLock () |
| Unlock the guarded mutex. More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| Initialization function. More... | |
| FwEnumStoreType | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Static Protected Member Functions | |
| static constexpr FwIndexType | getNum_cmdIn_InputPorts () |
| static constexpr FwIndexType | getNum_getVersion_InputPorts () |
| static constexpr FwIndexType | getNum_schedIn_InputPorts () |
| static constexpr FwIndexType | getNum_setVersion_InputPorts () |
| static constexpr FwIndexType | getNum_cmdRegOut_OutputPorts () |
| static constexpr FwIndexType | getNum_cmdResponseOut_OutputPorts () |
| static constexpr FwIndexType | getNum_logOut_OutputPorts () |
| static constexpr FwIndexType | getNum_timeCaller_OutputPorts () |
| static constexpr FwIndexType | getNum_tlmOut_OutputPorts () |
Friends | |
| class | VersionTesterBase |
| Friend class tester to support autocoded test harness. More... | |
| class | VersionTester |
| Friend class tester implementation to support white-box testing. More... | |
Auto-generated base for Version component.
Definition at line 43 of file VersionComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 63 of file VersionComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_GETVERSION_INPUT_PORTS | |
| NUM_SCHEDIN_INPUT_PORTS | |
| NUM_SETVERSION_INPUT_PORTS | |
Definition at line 68 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 75 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 85 of file VersionComponentAc.hpp.
|
protected |
|
protected |
Channel IDs.
Definition at line 99 of file VersionComponentAc.hpp.
|
protected |
Construct VersionComponentBase object.
| compName | The component name |
Definition at line 534 of file VersionComponentAc.cpp.
|
protectedvirtual |
Destroy VersionComponentBase object.
Definition at line 541 of file VersionComponentAc.cpp.
|
protected |
Handler base-class function for input port cmdIn.
| portNum | The port number |
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 631 of file VersionComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 761 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 778 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 264 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 283 of file VersionComponentAc.cpp.
| Svc::InputSchedPort * Svc::VersionComponentBase::get_schedIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 294 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 305 of file VersionComponentAc.cpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 317 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegOut output ports
Definition at line 357 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 364 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of getVersion input ports
Definition at line 330 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of logOut output ports
Definition at line 371 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of schedIn input ports
Definition at line 337 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of setVersion input ports
Definition at line 344 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeCaller output ports
Definition at line 389 of file VersionComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 396 of file VersionComponentAc.hpp.
|
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 | Status of the version get/set operation |
|
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 | Status of the version get/set operation |
Definition at line 674 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize VersionComponentBase object.
| instance | The instance number |
Definition at line 21 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 1790 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 1113 of file VersionComponentAc.cpp.
|
protected |
Log event FrameworkVersion
Version of the git repository.
| version | version string |
Definition at line 888 of file VersionComponentAc.cpp.
|
protected |
Log event LibraryVersions
Version of the git repository.
| version | version string |
Definition at line 1038 of file VersionComponentAc.cpp.
|
protected |
Log event ProjectVersion
Version of the git repository.
| version | version string |
Definition at line 963 of file VersionComponentAc.cpp.
| void Svc::VersionComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 514 of file VersionComponentAc.cpp.
|
protectedpure virtual |
Handler for input port schedIn.
| portNum | The port number |
| context | The call order |
|
protected |
Handler base-class function for input port schedIn.
| portNum | The port number |
| context | The call order |
Definition at line 703 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 324 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 338 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 352 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 384 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 398 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 | Status of the version get/set operation |
|
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 | Status of the version get/set operation |
Definition at line 728 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel given its local id and serialized value. Warning: This is a low level telemetry interface that does not guarentee channel type safety. It is up to the caller to make sure the serialized data matches the definition in the model. Update on change semantics are ignored, this telemetry is always written
| id | The channel id |
| _tlmBuff | The serialized telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1215 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 1296 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion02.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1318 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion03.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1340 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion04.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1362 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion05.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1384 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion06.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1406 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion07.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1428 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion08.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1450 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion09.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1472 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel CustomVersion10.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1494 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 1246 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 1516 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion02.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1541 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion03.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1566 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion04.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1591 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion05.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1616 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion06.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1641 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion07.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1666 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion08.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1691 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion09.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1716 of file VersionComponentAc.cpp.
|
protected |
Write telemetry channel LibraryVersion10.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 1741 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 1271 of file VersionComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 1796 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 831 of file VersionComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 54 of file VersionComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 52 of file VersionComponentAc.hpp.