10 #if FW_ENABLE_TEXT_LOGGING
32 this->m_cmdIn_InputPort[port].
init();
37 this->m_cmdIn_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1
43 this->m_objName.toChar(),
46 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
56 this->m_getVersion_InputPort[port].
init();
61 this->m_getVersion_InputPort[port].
setPortNum(port);
63 #if FW_OBJECT_NAMES == 1
67 this->m_objName.toChar(),
70 this->m_getVersion_InputPort[port].setObjName(portName.
toChar());
80 this->m_setVersion_InputPort[port].
init();
85 this->m_setVersion_InputPort[port].
setPortNum(port);
87 #if FW_OBJECT_NAMES == 1
91 this->m_objName.toChar(),
94 this->m_setVersion_InputPort[port].setObjName(portName.
toChar());
104 this->m_cmdRegOut_OutputPort[port].
init();
106 #if FW_OBJECT_NAMES == 1
110 this->m_objName.toChar(),
113 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
123 this->m_cmdResponseOut_OutputPort[port].
init();
125 #if FW_OBJECT_NAMES == 1
129 this->m_objName.toChar(),
132 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
142 this->m_logOut_OutputPort[port].
init();
144 #if FW_OBJECT_NAMES == 1
148 this->m_objName.toChar(),
151 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
155 #if FW_ENABLE_TEXT_LOGGING == 1
159 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
162 this->m_logTextOut_OutputPort[port].
init();
164 #if FW_OBJECT_NAMES == 1
168 this->m_objName.toChar(),
171 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
182 this->m_timeCaller_OutputPort[port].
init();
184 #if FW_OBJECT_NAMES == 1
188 this->m_objName.toChar(),
191 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
201 this->m_tlmOut_OutputPort[port].
init();
203 #if FW_OBJECT_NAMES == 1
207 this->m_objName.toChar(),
210 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
227 return &this->m_cmdIn_InputPort[portNum];
242 return &this->m_getVersion_InputPort[portNum];
253 return &this->m_setVersion_InputPort[portNum];
271 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
285 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
299 this->m_logOut_OutputPort[portNum].
addCallPort(port);
302 #if FW_ENABLE_TEXT_LOGGING == 1
304 void VersionComponentBase ::
305 set_logTextOut_OutputPort(
311 portNum < this->getNum_logTextOut_OutputPorts(),
315 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
331 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
345 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
348 #if FW_PORT_SERIALIZATION
357 Fw::InputSerializePort* port
365 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
371 Fw::InputSerializePort* port
379 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
385 Fw::InputSerializePort* port
393 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
396 #if FW_ENABLE_TEXT_LOGGING == 1
398 void VersionComponentBase ::
399 set_logTextOut_OutputPort(
401 Fw::InputSerializePort* port
405 portNum < this->getNum_logTextOut_OutputPorts(),
409 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
417 Fw::InputSerializePort* port
425 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
431 Fw::InputSerializePort* port
439 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
451 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
453 this->m_cmdRegOut_OutputPort[0].
invoke(
457 this->m_cmdRegOut_OutputPort[0].
invoke(
468 Fw::PassiveComponentBase(compName)
527 #if FW_ENABLE_TEXT_LOGGING == 1
530 getNum_logTextOut_OutputPorts()
const
561 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
572 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
583 return this->m_logOut_OutputPort[portNum].
isConnected();
586 #if FW_ENABLE_TEXT_LOGGING == 1
588 bool VersionComponentBase ::
589 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
592 portNum < this->getNum_logTextOut_OutputPorts(),
596 return this->m_logTextOut_OutputPort[portNum].isConnected();
609 return this->m_timeCaller_OutputPort[portNum].
isConnected();
620 return this->m_tlmOut_OutputPort[portNum].
isConnected();
698 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
699 this->m_cmdResponseOut_OutputPort[0].
invoke(opCode, cmdSeq, response);
724 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
725 this->m_cmdResponseOut_OutputPort[0].
invoke(
734 #if FW_CMD_CHECK_RESIDUAL
738 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
739 this->m_cmdResponseOut_OutputPort[0].
invoke(
775 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
776 this->m_cmdResponseOut_OutputPort[0].
invoke(
785 #if FW_CMD_CHECK_RESIDUAL
789 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
790 this->m_cmdResponseOut_OutputPort[0].
invoke(
819 if (this->m_timeCaller_OutputPort[0].isConnected()) {
820 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
828 if (this->m_logOut_OutputPort[0].isConnected()) {
832 #if FW_AMPCS_COMPATIBLE
847 this->m_logOut_OutputPort[0].
invoke(
856 #if FW_ENABLE_TEXT_LOGGING
857 if (this->m_logTextOut_OutputPort[0].isConnected()) {
858 #if FW_OBJECT_NAMES == 1
859 const char* _formatString =
860 "(%s) %s: Framework Version: [%s]";
862 const char* _formatString =
863 "%s: Framework Version: [%s]";
870 this->m_objName.toChar(),
876 this->m_logTextOut_OutputPort[0].invoke(
891 if (this->m_timeCaller_OutputPort[0].isConnected()) {
892 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
900 if (this->m_logOut_OutputPort[0].isConnected()) {
904 #if FW_AMPCS_COMPATIBLE
919 this->m_logOut_OutputPort[0].
invoke(
928 #if FW_ENABLE_TEXT_LOGGING
929 if (this->m_logTextOut_OutputPort[0].isConnected()) {
930 #if FW_OBJECT_NAMES == 1
931 const char* _formatString =
932 "(%s) %s: Project Version: [%s]";
934 const char* _formatString =
935 "%s: Project Version: [%s]";
942 this->m_objName.toChar(),
948 this->m_logTextOut_OutputPort[0].invoke(
963 if (this->m_timeCaller_OutputPort[0].isConnected()) {
964 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
972 if (this->m_logOut_OutputPort[0].isConnected()) {
976 #if FW_AMPCS_COMPATIBLE
991 this->m_logOut_OutputPort[0].
invoke(
1000 #if FW_ENABLE_TEXT_LOGGING
1001 if (this->m_logTextOut_OutputPort[0].isConnected()) {
1002 #if FW_OBJECT_NAMES == 1
1003 const char* _formatString =
1004 "(%s) %s: Library Versions: [%s]";
1006 const char* _formatString =
1007 "%s: Library Versions: [%s]";
1014 this->m_objName.toChar(),
1020 this->m_logTextOut_OutputPort[0].invoke(
1038 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1039 this->m_timeCaller_OutputPort[0].
invoke(_logTime);
1047 if (this->m_logOut_OutputPort[0].isConnected()) {
1051 #if FW_AMPCS_COMPATIBLE
1060 #if FW_AMPCS_COMPATIBLE
1070 _status = _logBuff.
serialize(version_enum);
1082 this->m_logOut_OutputPort[0].
invoke(
1091 #if FW_ENABLE_TEXT_LOGGING
1092 if (this->m_logTextOut_OutputPort[0].isConnected()) {
1093 #if FW_OBJECT_NAMES == 1
1094 const char* _formatString =
1095 "(%s) %s: Custom Versions: [%s] [%s]";
1097 const char* _formatString =
1098 "%s: Custom Versions: [%s] [%s]";
1102 version_enum.toString(version_enumStr);
1108 this->m_objName.toChar(),
1111 version_enumStr.
toChar(),
1115 this->m_logTextOut_OutputPort[0].invoke(
1135 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1137 this->m_timeCaller_OutputPort[0].isConnected() &&
1140 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1154 this->m_tlmOut_OutputPort[0].
invoke(
1168 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1170 this->m_timeCaller_OutputPort[0].isConnected() &&
1173 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1187 this->m_tlmOut_OutputPort[0].
invoke(
1201 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1203 this->m_timeCaller_OutputPort[0].isConnected() &&
1206 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1220 this->m_tlmOut_OutputPort[0].
invoke(
1234 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1236 this->m_timeCaller_OutputPort[0].isConnected() &&
1239 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1253 this->m_tlmOut_OutputPort[0].
invoke(
1267 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1269 this->m_timeCaller_OutputPort[0].isConnected() &&
1272 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1286 this->m_tlmOut_OutputPort[0].
invoke(
1300 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1302 this->m_timeCaller_OutputPort[0].isConnected() &&
1305 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1319 this->m_tlmOut_OutputPort[0].
invoke(
1333 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1335 this->m_timeCaller_OutputPort[0].isConnected() &&
1338 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1352 this->m_tlmOut_OutputPort[0].
invoke(
1366 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1368 this->m_timeCaller_OutputPort[0].isConnected() &&
1371 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1385 this->m_tlmOut_OutputPort[0].
invoke(
1399 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1401 this->m_timeCaller_OutputPort[0].isConnected() &&
1404 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1418 this->m_tlmOut_OutputPort[0].
invoke(
1432 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1434 this->m_timeCaller_OutputPort[0].isConnected() &&
1437 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1451 this->m_tlmOut_OutputPort[0].
invoke(
1465 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1467 this->m_timeCaller_OutputPort[0].isConnected() &&
1470 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1484 this->m_tlmOut_OutputPort[0].
invoke(
1498 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1500 this->m_timeCaller_OutputPort[0].isConnected() &&
1503 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1517 this->m_tlmOut_OutputPort[0].
invoke(
1531 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1533 this->m_timeCaller_OutputPort[0].isConnected() &&
1536 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1550 this->m_tlmOut_OutputPort[0].
invoke(
1564 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1566 this->m_timeCaller_OutputPort[0].isConnected() &&
1569 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1583 this->m_tlmOut_OutputPort[0].
invoke(
1597 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1599 this->m_timeCaller_OutputPort[0].isConnected() &&
1602 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1616 this->m_tlmOut_OutputPort[0].
invoke(
1630 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1632 this->m_timeCaller_OutputPort[0].isConnected() &&
1635 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1649 this->m_tlmOut_OutputPort[0].
invoke(
1663 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1665 this->m_timeCaller_OutputPort[0].isConnected() &&
1668 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1682 this->m_tlmOut_OutputPort[0].
invoke(
1696 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1698 this->m_timeCaller_OutputPort[0].isConnected() &&
1701 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1715 this->m_tlmOut_OutputPort[0].
invoke(
1729 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1731 this->m_timeCaller_OutputPort[0].isConnected() &&
1734 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1748 this->m_tlmOut_OutputPort[0].
invoke(
1762 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1764 this->m_timeCaller_OutputPort[0].isConnected() &&
1767 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1781 this->m_tlmOut_OutputPort[0].
invoke(
1795 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1797 this->m_timeCaller_OutputPort[0].isConnected() &&
1800 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1814 this->m_tlmOut_OutputPort[0].
invoke(
1828 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1830 this->m_timeCaller_OutputPort[0].isConnected() &&
1833 this->m_timeCaller_OutputPort[0].
invoke(_tlmTime);
1847 this->m_tlmOut_OutputPort[0].
invoke(
1862 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1864 this->m_timeCaller_OutputPort[0].
invoke(_time);
1882 this->m_guardedPortMutex.
lock();
1888 this->m_guardedPortMutex.
unLock();
1895 void VersionComponentBase ::
1907 const U32 idBase = callComp->
getIdBase();
1911 switch (opCode - idBase) {
1936 void VersionComponentBase ::
1947 compPtr->getVersion_handlerBase(
1955 void VersionComponentBase ::
1966 compPtr->setVersion_handlerBase(
#define FW_MIN(a, b)
MIN macro.
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
#define FW_TLM_STRING_MAX_SIZE
Max size of channelized telemetry string type.
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
PlatformIndexType FwIndexType
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ ACTIVITY_LO
Less important informational events.
void init()
Object initializer.
const char * toChar() const
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void invoke(FwOpcodeType opCode)
Invoke a port interface.
void init()
Initialization function.
void init()
Initialization function.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Invoke a port interface.
void init()
Initialization function.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Invoke a port interface.
void addCallPort(InputLogPort *callPort)
Register an input port.
void addCallPort(InputTimePort *callPort)
Register an input port.
void invoke(Fw::Time &time)
Invoke a port interface.
void init()
Initialization function.
void addCallPort(InputTlmPort *callPort)
Register an input port.
void init()
Initialization function.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Invoke a port interface.
void resetDeser()
reset deserialization to beginning
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
virtual const CHAR * toChar() const =0
void format(const CHAR *formatString,...)
write formatted string to buffer
virtual SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
const char * toChar() const
void unLock()
unlock the mutex and assert success
void lock()
lock the mutex and assert success
Data Structure for custom version Tlm.
@ SERIALIZED_SIZE
The size of the serial representation.
Auto-generated base for Version component.
virtual void ENABLE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::VersionEnabled enable)=0
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
void tlmWrite_CustomVersion04(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion04.
bool isConnected_logOut_OutputPort(FwIndexType portNum)
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.
FwIndexType getNum_setVersion_InputPorts() const
void log_ACTIVITY_LO_CustomVersions(Svc::VersionCfg::VersionEnum version_enum, const Fw::StringBase &version_value)
void tlmWrite_ProjectVersion(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void tlmWrite_FrameworkVersion(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void tlmWrite_CustomVersion03(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion03.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
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.
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.
void tlmWrite_LibraryVersion09(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion09.
void tlmWrite_LibraryVersion03(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion03.
void tlmWrite_CustomVersion07(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion07.
void ENABLE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void VERSION_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void tlmWrite_LibraryVersion05(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion05.
void log_ACTIVITY_LO_FrameworkVersion(const Fw::StringBase &version)
FwIndexType getNum_timeCaller_OutputPorts() const
@ CHANNELID_LIBRARYVERSION03
Channel ID for LibraryVersion03.
@ CHANNELID_LIBRARYVERSION09
Channel ID for LibraryVersion09.
@ CHANNELID_CUSTOMVERSION05
Channel ID for CustomVersion05.
@ CHANNELID_CUSTOMVERSION09
Channel ID for CustomVersion09.
@ CHANNELID_CUSTOMVERSION03
Channel ID for CustomVersion03.
@ CHANNELID_CUSTOMVERSION06
Channel ID for CustomVersion06.
@ CHANNELID_CUSTOMVERSION07
Channel ID for CustomVersion07.
@ CHANNELID_CUSTOMVERSION04
Channel ID for CustomVersion04.
@ CHANNELID_LIBRARYVERSION05
Channel ID for LibraryVersion05.
@ CHANNELID_CUSTOMVERSION08
Channel ID for CustomVersion08.
@ CHANNELID_CUSTOMVERSION01
Channel ID for CustomVersion01.
@ CHANNELID_LIBRARYVERSION08
Channel ID for LibraryVersion08.
@ CHANNELID_CUSTOMVERSION10
Channel ID for CustomVersion10.
@ CHANNELID_LIBRARYVERSION02
Channel ID for LibraryVersion02.
@ CHANNELID_LIBRARYVERSION07
Channel ID for LibraryVersion07.
@ CHANNELID_LIBRARYVERSION10
Channel ID for LibraryVersion10.
@ CHANNELID_PROJECTVERSION
Channel ID for ProjectVersion.
@ CHANNELID_LIBRARYVERSION06
Channel ID for LibraryVersion06.
@ CHANNELID_LIBRARYVERSION01
Channel ID for LibraryVersion01.
@ CHANNELID_LIBRARYVERSION04
Channel ID for LibraryVersion04.
@ CHANNELID_CUSTOMVERSION02
Channel ID for CustomVersion02.
@ CHANNELID_FRAMEWORKVERSION
Channel ID for FrameworkVersion.
FwIndexType getNum_cmdRegOut_OutputPorts() const
void tlmWrite_CustomVersion01(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void regCommands()
Register commands with the Command Dispatcher.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void tlmWrite_LibraryVersion04(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion04.
virtual void lock()
Lock the guarded mutex.
virtual void VERSION_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::VersionType version_type)=0
void tlmWrite_CustomVersion08(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion08.
void log_ACTIVITY_LO_LibraryVersions(const Fw::StringBase &version)
void tlmWrite_LibraryVersion08(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion08.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_getVersion_InputPorts() const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
FwIndexType getNum_tlmOut_OutputPorts() const
void tlmWrite_LibraryVersion07(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion07.
@ OPCODE_ENABLE
A command to enable or disable Event verbosity and Telemetry.
@ OPCODE_VERSION
Report version as Event.
void tlmWrite_CustomVersion09(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion09.
void tlmWrite_LibraryVersion01(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
void log_ACTIVITY_LO_ProjectVersion(const Fw::StringBase &version)
void tlmWrite_LibraryVersion06(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion06.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void tlmWrite_CustomVersion02(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion02.
virtual void unLock()
Unlock the guarded mutex.
Svc::InputVersionPort * get_getVersion_InputPort(FwIndexType portNum)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
@ EVENTID_PROJECTVERSION
Version of the git repository.
@ EVENTID_CUSTOMVERSIONS
Version of the git repository.
@ EVENTID_FRAMEWORKVERSION
Version of the git repository.
@ EVENTID_LIBRARYVERSIONS
Version of the git repository.
void tlmWrite_LibraryVersion02(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion02.
virtual ~VersionComponentBase()
Destroy VersionComponentBase object.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void tlmWrite_CustomVersion05(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion05.
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.
FwIndexType getNum_cmdIn_InputPorts() const
void tlmWrite_LibraryVersion10(const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel LibraryVersion10.
FwIndexType getNum_cmdResponseOut_OutputPorts() const
Svc::InputVersionPort * get_setVersion_InputPort(FwIndexType portNum)
FwIndexType getNum_logOut_OutputPorts() const
void tlmWrite_CustomVersion06(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion06.
void tlmWrite_CustomVersion10(const Svc::CustomVersionDb &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel CustomVersion10.
VersionComponentBase(const char *compName="")
Construct VersionComponentBase object.
Tracks versions for project, framework and user defined versions etc.
An enumeration for version status.
An enumeration for Version Type.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.