F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for Version component. More...
#include <Svc/Version/VersionComponentAc.hpp>
Friends | |
class | VersionComponentBaseFriend |
Friend class for white-box testing. More... | |
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.