10#if FW_ENABLE_TEXT_LOGGING
20 void VersionComponentBase ::
29 port < static_cast<FwIndexType>(this->getNum_cmdIn_InputPorts());
32 this->m_cmdIn_InputPort[port].init();
33 this->m_cmdIn_InputPort[port].addCallComp(
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());
53 port < static_cast<FwIndexType>(this->getNum_getVersion_InputPorts());
56 this->m_getVersion_InputPort[port].init();
57 this->m_getVersion_InputPort[port].addCallComp(
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());
77 port < static_cast<FwIndexType>(this->getNum_setVersion_InputPorts());
80 this->m_setVersion_InputPort[port].init();
81 this->m_setVersion_InputPort[port].addCallComp(
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());
101 port < static_cast<FwIndexType>(this->getNum_cmdRegOut_OutputPorts());
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());
120 port < static_cast<FwIndexType>(this->getNum_cmdResponseOut_OutputPorts());
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());
139 port < static_cast<FwIndexType>(this->getNum_logOut_OutputPorts());
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());
179 port < static_cast<FwIndexType>(this->getNum_timeCaller_OutputPorts());
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());
198 port < static_cast<FwIndexType>(this->getNum_tlmOut_OutputPorts());
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());
223 portNum < this->getNum_cmdIn_InputPorts(),
227 return &this->m_cmdIn_InputPort[portNum];
238 portNum < this->getNum_getVersion_InputPorts(),
242 return &this->m_getVersion_InputPort[portNum];
249 portNum < this->getNum_setVersion_InputPorts(),
253 return &this->m_setVersion_InputPort[portNum];
260 void VersionComponentBase ::
261 set_cmdRegOut_OutputPort(
267 portNum < this->getNum_cmdRegOut_OutputPorts(),
271 this->m_cmdRegOut_OutputPort[portNum].addCallPort(port);
274 void VersionComponentBase ::
275 set_cmdResponseOut_OutputPort(
281 portNum < this->getNum_cmdResponseOut_OutputPorts(),
285 this->m_cmdResponseOut_OutputPort[portNum].addCallPort(port);
288 void VersionComponentBase ::
289 set_logOut_OutputPort(
295 portNum < this->getNum_logOut_OutputPorts(),
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);
320 void VersionComponentBase ::
321 set_timeCaller_OutputPort(
327 portNum < this->getNum_timeCaller_OutputPorts(),
331 this->m_timeCaller_OutputPort[portNum].addCallPort(port);
334 void VersionComponentBase ::
335 set_tlmOut_OutputPort(
341 portNum < this->getNum_tlmOut_OutputPorts(),
345 this->m_tlmOut_OutputPort[portNum].addCallPort(port);
348#if FW_PORT_SERIALIZATION
354 void VersionComponentBase ::
355 set_cmdRegOut_OutputPort(
357 Fw::InputSerializePort* port
361 portNum < this->getNum_cmdRegOut_OutputPorts(),
365 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
368 void VersionComponentBase ::
369 set_cmdResponseOut_OutputPort(
371 Fw::InputSerializePort* port
375 portNum < this->getNum_cmdResponseOut_OutputPorts(),
379 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
382 void VersionComponentBase ::
383 set_logOut_OutputPort(
385 Fw::InputSerializePort* port
389 portNum < this->getNum_logOut_OutputPorts(),
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);
414 void VersionComponentBase ::
415 set_timeCaller_OutputPort(
417 Fw::InputSerializePort* port
421 portNum < this->getNum_timeCaller_OutputPorts(),
425 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
428 void VersionComponentBase ::
429 set_tlmOut_OutputPort(
431 Fw::InputSerializePort* port
435 portNum < this->getNum_tlmOut_OutputPorts(),
439 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
448 void VersionComponentBase ::
451 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
453 this->m_cmdRegOut_OutputPort[0].invoke(
454 this->getIdBase() + OPCODE_ENABLE
457 this->m_cmdRegOut_OutputPort[0].invoke(
458 this->getIdBase() + OPCODE_VERSION
466 VersionComponentBase ::
467 VersionComponentBase(
const char* compName) :
468 Fw::PassiveComponentBase(compName)
473 VersionComponentBase ::
474 ~VersionComponentBase()
484 getNum_cmdIn_InputPorts()
const
494 getNum_getVersion_InputPorts()
const
500 getNum_setVersion_InputPorts()
const
510 getNum_cmdRegOut_OutputPorts()
const
516 getNum_cmdResponseOut_OutputPorts()
const
522 getNum_logOut_OutputPorts()
const
527#if FW_ENABLE_TEXT_LOGGING == 1
530 getNum_logTextOut_OutputPorts()
const
538 getNum_timeCaller_OutputPorts()
const
544 getNum_tlmOut_OutputPorts()
const
553 bool VersionComponentBase ::
554 isConnected_cmdRegOut_OutputPort(
FwIndexType portNum)
557 portNum < this->getNum_cmdRegOut_OutputPorts(),
561 return this->m_cmdRegOut_OutputPort[portNum].isConnected();
564 bool VersionComponentBase ::
565 isConnected_cmdResponseOut_OutputPort(
FwIndexType portNum)
568 portNum < this->getNum_cmdResponseOut_OutputPorts(),
572 return this->m_cmdResponseOut_OutputPort[portNum].isConnected();
575 bool VersionComponentBase ::
579 portNum < this->getNum_logOut_OutputPorts(),
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();
601 bool VersionComponentBase ::
602 isConnected_timeCaller_OutputPort(
FwIndexType portNum)
605 portNum < this->getNum_timeCaller_OutputPorts(),
609 return this->m_timeCaller_OutputPort[portNum].isConnected();
612 bool VersionComponentBase ::
616 portNum < this->getNum_tlmOut_OutputPorts(),
620 return this->m_tlmOut_OutputPort[portNum].isConnected();
629 void VersionComponentBase ::
630 getVersion_handlerBase(
639 portNum < this->getNum_getVersion_InputPorts(),
647 this->getVersion_handler(
658 void VersionComponentBase ::
659 setVersion_handlerBase(
668 portNum < this->getNum_setVersion_InputPorts(),
676 this->setVersion_handler(
691 void VersionComponentBase ::
698 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
699 this->m_cmdResponseOut_OutputPort[0].invoke(opCode, cmdSeq, response);
708 void VersionComponentBase ::
709 ENABLE_cmdHandlerBase(
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(
751 this->ENABLE_cmdHandler(
759 void VersionComponentBase ::
760 VERSION_cmdHandlerBase(
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(
802 this->VERSION_cmdHandler(
814 void VersionComponentBase ::
815 log_ACTIVITY_LO_FrameworkVersion(
const Fw::StringBase& version)
const
819 if (this->m_timeCaller_OutputPort[0].isConnected()) {
820 this->m_timeCaller_OutputPort[0].invoke(_logTime);
825 _id = this->getIdBase() + EVENTID_FRAMEWORKVERSION;
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(
886 void VersionComponentBase ::
887 log_ACTIVITY_LO_ProjectVersion(
const Fw::StringBase& version)
const
891 if (this->m_timeCaller_OutputPort[0].isConnected()) {
892 this->m_timeCaller_OutputPort[0].invoke(_logTime);
897 _id = this->getIdBase() + EVENTID_PROJECTVERSION;
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(
958 void VersionComponentBase ::
959 log_ACTIVITY_LO_LibraryVersions(
const Fw::StringBase& version)
const
963 if (this->m_timeCaller_OutputPort[0].isConnected()) {
964 this->m_timeCaller_OutputPort[0].invoke(_logTime);
969 _id = this->getIdBase() + EVENTID_LIBRARYVERSIONS;
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(
1030 void VersionComponentBase ::
1031 log_ACTIVITY_LO_CustomVersions(
1038 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1039 this->m_timeCaller_OutputPort[0].invoke(_logTime);
1044 _id = this->getIdBase() + EVENTID_CUSTOMVERSIONS;
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(
1129 void VersionComponentBase ::
1130 tlmWrite_FrameworkVersion(
1135 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1137 this->m_timeCaller_OutputPort[0].isConnected() &&
1140 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1152 _id = this->getIdBase() + CHANNELID_FRAMEWORKVERSION;
1154 this->m_tlmOut_OutputPort[0].invoke(
1162 void VersionComponentBase ::
1163 tlmWrite_ProjectVersion(
1168 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1170 this->m_timeCaller_OutputPort[0].isConnected() &&
1173 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1185 _id = this->getIdBase() + CHANNELID_PROJECTVERSION;
1187 this->m_tlmOut_OutputPort[0].invoke(
1195 void VersionComponentBase ::
1196 tlmWrite_CustomVersion01(
1201 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1203 this->m_timeCaller_OutputPort[0].isConnected() &&
1206 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1218 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION01;
1220 this->m_tlmOut_OutputPort[0].invoke(
1228 void VersionComponentBase ::
1229 tlmWrite_CustomVersion02(
1234 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1236 this->m_timeCaller_OutputPort[0].isConnected() &&
1239 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1251 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION02;
1253 this->m_tlmOut_OutputPort[0].invoke(
1261 void VersionComponentBase ::
1262 tlmWrite_CustomVersion03(
1267 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1269 this->m_timeCaller_OutputPort[0].isConnected() &&
1272 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1284 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION03;
1286 this->m_tlmOut_OutputPort[0].invoke(
1294 void VersionComponentBase ::
1295 tlmWrite_CustomVersion04(
1300 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1302 this->m_timeCaller_OutputPort[0].isConnected() &&
1305 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1317 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION04;
1319 this->m_tlmOut_OutputPort[0].invoke(
1327 void VersionComponentBase ::
1328 tlmWrite_CustomVersion05(
1333 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1335 this->m_timeCaller_OutputPort[0].isConnected() &&
1338 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1350 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION05;
1352 this->m_tlmOut_OutputPort[0].invoke(
1360 void VersionComponentBase ::
1361 tlmWrite_CustomVersion06(
1366 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1368 this->m_timeCaller_OutputPort[0].isConnected() &&
1371 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1383 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION06;
1385 this->m_tlmOut_OutputPort[0].invoke(
1393 void VersionComponentBase ::
1394 tlmWrite_CustomVersion07(
1399 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1401 this->m_timeCaller_OutputPort[0].isConnected() &&
1404 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1416 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION07;
1418 this->m_tlmOut_OutputPort[0].invoke(
1426 void VersionComponentBase ::
1427 tlmWrite_CustomVersion08(
1432 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1434 this->m_timeCaller_OutputPort[0].isConnected() &&
1437 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1449 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION08;
1451 this->m_tlmOut_OutputPort[0].invoke(
1459 void VersionComponentBase ::
1460 tlmWrite_CustomVersion09(
1465 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1467 this->m_timeCaller_OutputPort[0].isConnected() &&
1470 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1482 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION09;
1484 this->m_tlmOut_OutputPort[0].invoke(
1492 void VersionComponentBase ::
1493 tlmWrite_CustomVersion10(
1498 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1500 this->m_timeCaller_OutputPort[0].isConnected() &&
1503 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1515 _id = this->getIdBase() + CHANNELID_CUSTOMVERSION10;
1517 this->m_tlmOut_OutputPort[0].invoke(
1525 void VersionComponentBase ::
1526 tlmWrite_LibraryVersion01(
1531 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1533 this->m_timeCaller_OutputPort[0].isConnected() &&
1536 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1548 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION01;
1550 this->m_tlmOut_OutputPort[0].invoke(
1558 void VersionComponentBase ::
1559 tlmWrite_LibraryVersion02(
1564 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1566 this->m_timeCaller_OutputPort[0].isConnected() &&
1569 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1581 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION02;
1583 this->m_tlmOut_OutputPort[0].invoke(
1591 void VersionComponentBase ::
1592 tlmWrite_LibraryVersion03(
1597 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1599 this->m_timeCaller_OutputPort[0].isConnected() &&
1602 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1614 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION03;
1616 this->m_tlmOut_OutputPort[0].invoke(
1624 void VersionComponentBase ::
1625 tlmWrite_LibraryVersion04(
1630 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1632 this->m_timeCaller_OutputPort[0].isConnected() &&
1635 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1647 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION04;
1649 this->m_tlmOut_OutputPort[0].invoke(
1657 void VersionComponentBase ::
1658 tlmWrite_LibraryVersion05(
1663 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1665 this->m_timeCaller_OutputPort[0].isConnected() &&
1668 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1680 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION05;
1682 this->m_tlmOut_OutputPort[0].invoke(
1690 void VersionComponentBase ::
1691 tlmWrite_LibraryVersion06(
1696 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1698 this->m_timeCaller_OutputPort[0].isConnected() &&
1701 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1713 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION06;
1715 this->m_tlmOut_OutputPort[0].invoke(
1723 void VersionComponentBase ::
1724 tlmWrite_LibraryVersion07(
1729 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1731 this->m_timeCaller_OutputPort[0].isConnected() &&
1734 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1746 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION07;
1748 this->m_tlmOut_OutputPort[0].invoke(
1756 void VersionComponentBase ::
1757 tlmWrite_LibraryVersion08(
1762 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1764 this->m_timeCaller_OutputPort[0].isConnected() &&
1767 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1779 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION08;
1781 this->m_tlmOut_OutputPort[0].invoke(
1789 void VersionComponentBase ::
1790 tlmWrite_LibraryVersion09(
1795 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1797 this->m_timeCaller_OutputPort[0].isConnected() &&
1800 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1812 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION09;
1814 this->m_tlmOut_OutputPort[0].invoke(
1822 void VersionComponentBase ::
1823 tlmWrite_LibraryVersion10(
1828 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1830 this->m_timeCaller_OutputPort[0].isConnected() &&
1833 this->m_timeCaller_OutputPort[0].invoke(_tlmTime);
1845 _id = this->getIdBase() + CHANNELID_LIBRARYVERSION10;
1847 this->m_tlmOut_OutputPort[0].invoke(
1862 if (this->m_timeCaller_OutputPort[0].isConnected()) {
1864 this->m_timeCaller_OutputPort[0].invoke(_time);
1879 void VersionComponentBase ::
1882 this->m_guardedPortMutex.lock();
1885 void VersionComponentBase ::
1888 this->m_guardedPortMutex.unLock();
1895 void VersionComponentBase ::
1907 const U32 idBase = callComp->
getIdBase();
1911 switch (opCode - idBase) {
1912 case OPCODE_ENABLE: {
1921 case OPCODE_VERSION: {
1936 void VersionComponentBase ::
1946 VersionComponentBase* compPtr =
static_cast<VersionComponentBase*
>(callComp);
1955 void VersionComponentBase ::
1965 VersionComponentBase* compPtr =
static_cast<VersionComponentBase*
>(callComp);
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)/*#en...
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 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
void format(const CHAR *formatString,...)
write formatted string to buffer
virtual SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
virtual const CHAR * toChar() const =0
const char * toChar() const
Data Structure for custom version Tlm.
@ SERIALIZED_SIZE
The size of the serial representation.
Auto-generated base for Version component.
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 ENABLE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void VERSION_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
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.