11#if FW_ENABLE_TEXT_LOGGING
35 class ComponentIpcSerializableBuffer :
50 return sizeof(m_buff);
57 const U8* getBuffAddr()
const {
63 U8 m_buff[SERIALIZATION_SIZE];
72 void PrmDbComponentBase ::
84 port < static_cast<PlatformIntType>(this->getNum_CmdDisp_InputPorts());
87 this->m_CmdDisp_InputPort[port].init();
88 this->m_CmdDisp_InputPort[port].addCallComp(
92 this->m_CmdDisp_InputPort[port].setPortNum(port);
94#if FW_OBJECT_NAMES == 1
101 char portName[2*FW_OBJ_NAME_MAX_SIZE];
109 this->m_CmdDisp_InputPort[port].setObjName(portName);
116 port < static_cast<PlatformIntType>(this->getNum_getPrm_InputPorts());
119 this->m_getPrm_InputPort[port].init();
120 this->m_getPrm_InputPort[port].addCallComp(
124 this->m_getPrm_InputPort[port].setPortNum(port);
126#if FW_OBJECT_NAMES == 1
133 char portName[2*FW_OBJ_NAME_MAX_SIZE];
141 this->m_getPrm_InputPort[port].setObjName(portName);
148 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
151 this->m_pingIn_InputPort[port].init();
152 this->m_pingIn_InputPort[port].addCallComp(
156 this->m_pingIn_InputPort[port].setPortNum(port);
158#if FW_OBJECT_NAMES == 1
165 char portName[2*FW_OBJ_NAME_MAX_SIZE];
173 this->m_pingIn_InputPort[port].setObjName(portName);
180 port < static_cast<PlatformIntType>(this->getNum_setPrm_InputPorts());
183 this->m_setPrm_InputPort[port].init();
184 this->m_setPrm_InputPort[port].addCallComp(
188 this->m_setPrm_InputPort[port].setPortNum(port);
190#if FW_OBJECT_NAMES == 1
197 char portName[2*FW_OBJ_NAME_MAX_SIZE];
205 this->m_setPrm_InputPort[port].setObjName(portName);
212 port < static_cast<PlatformIntType>(this->getNum_CmdReg_OutputPorts());
215 this->m_CmdReg_OutputPort[port].init();
217#if FW_OBJECT_NAMES == 1
224 char portName[2*FW_OBJ_NAME_MAX_SIZE];
232 this->m_CmdReg_OutputPort[port].setObjName(portName);
239 port < static_cast<PlatformIntType>(this->getNum_CmdStatus_OutputPorts());
242 this->m_CmdStatus_OutputPort[port].init();
244#if FW_OBJECT_NAMES == 1
251 char portName[2*FW_OBJ_NAME_MAX_SIZE];
259 this->m_CmdStatus_OutputPort[port].setObjName(portName);
266 port < static_cast<PlatformIntType>(this->getNum_Log_OutputPorts());
269 this->m_Log_OutputPort[port].init();
271#if FW_OBJECT_NAMES == 1
278 char portName[2*FW_OBJ_NAME_MAX_SIZE];
286 this->m_Log_OutputPort[port].setObjName(portName);
290#if FW_ENABLE_TEXT_LOGGING == 1
294 port < static_cast<PlatformIntType>(this->getNum_LogText_OutputPorts());
297 this->m_LogText_OutputPort[port].init();
299#if FW_OBJECT_NAMES == 1
306 char portName[2*FW_OBJ_NAME_MAX_SIZE];
314 this->m_LogText_OutputPort[port].setObjName(portName);
322 port < static_cast<PlatformIntType>(this->getNum_Time_OutputPorts());
325 this->m_Time_OutputPort[port].init();
327#if FW_OBJECT_NAMES == 1
334 char portName[2*FW_OBJ_NAME_MAX_SIZE];
342 this->m_Time_OutputPort[port].setObjName(portName);
349 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
352 this->m_pingOut_OutputPort[port].init();
354#if FW_OBJECT_NAMES == 1
361 char portName[2*FW_OBJ_NAME_MAX_SIZE];
369 this->m_pingOut_OutputPort[port].setObjName(portName);
375 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
72 void PrmDbComponentBase :: {
…}
391 portNum < this->getNum_CmdDisp_InputPorts(),
395 return &this->m_CmdDisp_InputPort[portNum];
406 portNum < this->getNum_getPrm_InputPorts(),
410 return &this->m_getPrm_InputPort[portNum];
417 portNum < this->getNum_pingIn_InputPorts(),
421 return &this->m_pingIn_InputPort[portNum];
428 portNum < this->getNum_setPrm_InputPorts(),
432 return &this->m_setPrm_InputPort[portNum];
439 void PrmDbComponentBase ::
440 set_CmdReg_OutputPort(
446 portNum < this->getNum_CmdReg_OutputPorts(),
450 this->m_CmdReg_OutputPort[portNum].addCallPort(port);
439 void PrmDbComponentBase :: {
…}
453 void PrmDbComponentBase ::
454 set_CmdStatus_OutputPort(
460 portNum < this->getNum_CmdStatus_OutputPorts(),
464 this->m_CmdStatus_OutputPort[portNum].addCallPort(port);
453 void PrmDbComponentBase :: {
…}
467 void PrmDbComponentBase ::
474 portNum < this->getNum_Log_OutputPorts(),
478 this->m_Log_OutputPort[portNum].addCallPort(port);
467 void PrmDbComponentBase :: {
…}
481#if FW_ENABLE_TEXT_LOGGING == 1
483 void PrmDbComponentBase ::
484 set_LogText_OutputPort(
490 portNum < this->getNum_LogText_OutputPorts(),
494 this->m_LogText_OutputPort[portNum].addCallPort(port);
499 void PrmDbComponentBase ::
506 portNum < this->getNum_Time_OutputPorts(),
510 this->m_Time_OutputPort[portNum].addCallPort(port);
499 void PrmDbComponentBase :: {
…}
517 void PrmDbComponentBase ::
518 set_pingOut_OutputPort(
524 portNum < this->getNum_pingOut_OutputPorts(),
528 this->m_pingOut_OutputPort[portNum].addCallPort(port);
517 void PrmDbComponentBase :: {
…}
531#if FW_PORT_SERIALIZATION
537 void PrmDbComponentBase ::
538 set_CmdReg_OutputPort(
540 Fw::InputSerializePort* port
544 portNum < this->getNum_CmdReg_OutputPorts(),
548 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
551 void PrmDbComponentBase ::
552 set_CmdStatus_OutputPort(
554 Fw::InputSerializePort* port
558 portNum < this->getNum_CmdStatus_OutputPorts(),
562 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
565 void PrmDbComponentBase ::
568 Fw::InputSerializePort* port
572 portNum < this->getNum_Log_OutputPorts(),
576 this->m_Log_OutputPort[portNum].registerSerialPort(port);
579#if FW_ENABLE_TEXT_LOGGING == 1
581 void PrmDbComponentBase ::
582 set_LogText_OutputPort(
584 Fw::InputSerializePort* port
588 portNum < this->getNum_LogText_OutputPorts(),
592 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
597 void PrmDbComponentBase ::
600 Fw::InputSerializePort* port
604 portNum < this->getNum_Time_OutputPorts(),
608 this->m_Time_OutputPort[portNum].registerSerialPort(port);
613#if FW_PORT_SERIALIZATION
619 void PrmDbComponentBase ::
620 set_pingOut_OutputPort(
622 Fw::InputSerializePort* port
626 portNum < this->getNum_pingOut_OutputPorts(),
630 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
639 void PrmDbComponentBase ::
642 FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
644 this->m_CmdReg_OutputPort[0].invoke(
645 this->getIdBase() + OPCODE_PRM_SAVE_FILE
639 void PrmDbComponentBase :: {
…}
653 PrmDbComponentBase ::
654 PrmDbComponentBase(
const char* compName) :
655 Fw::ActiveComponentBase(compName)
657 this->m_PrmIdNotFoundThrottle = 0;
653 PrmDbComponentBase :: {
…}
660 PrmDbComponentBase ::
661 ~PrmDbComponentBase()
660 PrmDbComponentBase :: {
…}
671 getNum_CmdDisp_InputPorts()
const
681 getNum_getPrm_InputPorts()
const
687 getNum_pingIn_InputPorts()
const
693 getNum_setPrm_InputPorts()
const
703 getNum_CmdReg_OutputPorts()
const
709 getNum_CmdStatus_OutputPorts()
const
715 getNum_Log_OutputPorts()
const
720#if FW_ENABLE_TEXT_LOGGING == 1
723 getNum_LogText_OutputPorts()
const
731 getNum_Time_OutputPorts()
const
741 getNum_pingOut_OutputPorts()
const
750 bool PrmDbComponentBase ::
754 portNum < this->getNum_CmdReg_OutputPorts(),
758 return this->m_CmdReg_OutputPort[portNum].isConnected();
750 bool PrmDbComponentBase :: {
…}
761 bool PrmDbComponentBase ::
765 portNum < this->getNum_CmdStatus_OutputPorts(),
769 return this->m_CmdStatus_OutputPort[portNum].isConnected();
761 bool PrmDbComponentBase :: {
…}
772 bool PrmDbComponentBase ::
776 portNum < this->getNum_Log_OutputPorts(),
780 return this->m_Log_OutputPort[portNum].isConnected();
772 bool PrmDbComponentBase :: {
…}
783#if FW_ENABLE_TEXT_LOGGING == 1
785 bool PrmDbComponentBase ::
789 portNum < this->getNum_LogText_OutputPorts(),
793 return this->m_LogText_OutputPort[portNum].isConnected();
798 bool PrmDbComponentBase ::
802 portNum < this->getNum_Time_OutputPorts(),
806 return this->m_Time_OutputPort[portNum].isConnected();
798 bool PrmDbComponentBase :: {
…}
813 bool PrmDbComponentBase ::
817 portNum < this->getNum_pingOut_OutputPorts(),
821 return this->m_pingOut_OutputPort[portNum].isConnected();
813 bool PrmDbComponentBase :: {
…}
839 portNum < this->getNum_getPrm_InputPorts(),
849 retVal = this->getPrm_handler(
861 void PrmDbComponentBase ::
869 portNum < this->getNum_pingIn_InputPorts(),
878 ComponentIpcSerializableBuffer msg;
882 _status = msg.serialize(
891 _status = msg.serialize(portNum);
898 _status = msg.serialize(key);
861 void PrmDbComponentBase :: {
…}
914 void PrmDbComponentBase ::
923 portNum < this->getNum_setPrm_InputPorts(),
933 ComponentIpcSerializableBuffer msg;
937 _status = msg.serialize(
946 _status = msg.serialize(portNum);
953 _status = msg.serialize(
id);
960 _status = msg.serialize(val);
914 void PrmDbComponentBase :: {
…}
984 void PrmDbComponentBase ::
984 void PrmDbComponentBase :: {
…}
993 void PrmDbComponentBase ::
993 void PrmDbComponentBase :: {
…}
1007 void PrmDbComponentBase ::
1014 portNum < this->getNum_pingOut_OutputPorts(),
1017 this->m_pingOut_OutputPort[portNum].invoke(
1007 void PrmDbComponentBase :: {
…}
1026 void PrmDbComponentBase ::
1033 FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
1034 this->m_CmdStatus_OutputPort[0].invoke(opCode, cmdSeq, response);
1026 void PrmDbComponentBase :: {
…}
1043 void PrmDbComponentBase ::
1044 PRM_SAVE_FILE_cmdHandlerBase(
1051 this->PRM_SAVE_FILE_preMsgHook(opCode,cmdSeq);
1055 ComponentIpcSerializableBuffer msg;
1059 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_PRM_SAVE_FILE));
1068 _status = msg.serialize(port);
1074 _status = msg.serialize(opCode);
1080 _status = msg.serialize(cmdSeq);
1086 _status = msg.serialize(args);
1043 void PrmDbComponentBase :: {
…}
1110 void PrmDbComponentBase ::
1111 PRM_SAVE_FILE_preMsgHook(
1110 void PrmDbComponentBase :: {
…}
1125 void PrmDbComponentBase ::
1126 log_WARNING_LO_PrmIdNotFound(U32 Id)
1129 if (this->m_PrmIdNotFoundThrottle >= EVENTID_PRMIDNOTFOUND_THROTTLE) {
1133 this->m_PrmIdNotFoundThrottle++;
1138 if (this->m_Time_OutputPort[0].isConnected()) {
1139 this->m_Time_OutputPort[0].invoke(_logTime);
1144 _id = this->getIdBase() + EVENTID_PRMIDNOTFOUND;
1147 if (this->m_Log_OutputPort[0].isConnected()) {
1151#if FW_AMPCS_COMPATIBLE
1160#if FW_AMPCS_COMPATIBLE
1163 static_cast<U8>(
sizeof(U32))
1176 this->m_Log_OutputPort[0].invoke(
1185#if FW_ENABLE_TEXT_LOGGING
1186 if (this->m_LogText_OutputPort[0].isConnected()) {
1187#if FW_OBJECT_NAMES == 1
1188 const char* _formatString =
1189 "(%s) %s: Parameter ID 0x%" PRIx32
" not found";
1191 const char* _formatString =
1192 "%s: Parameter ID 0x%" PRIx32
" not found";
1211 this->m_LogText_OutputPort[0].invoke(
1125 void PrmDbComponentBase :: {
…}
1221 void PrmDbComponentBase ::
1222 log_ACTIVITY_HI_PrmIdUpdated(U32 Id)
1226 if (this->m_Time_OutputPort[0].isConnected()) {
1227 this->m_Time_OutputPort[0].invoke(_logTime);
1232 _id = this->getIdBase() + EVENTID_PRMIDUPDATED;
1235 if (this->m_Log_OutputPort[0].isConnected()) {
1239#if FW_AMPCS_COMPATIBLE
1248#if FW_AMPCS_COMPATIBLE
1251 static_cast<U8>(
sizeof(U32))
1264 this->m_Log_OutputPort[0].invoke(
1273#if FW_ENABLE_TEXT_LOGGING
1274 if (this->m_LogText_OutputPort[0].isConnected()) {
1275#if FW_OBJECT_NAMES == 1
1276 const char* _formatString =
1277 "(%s) %s: Parameter ID 0x%" PRIx32
" updated";
1279 const char* _formatString =
1280 "%s: Parameter ID 0x%" PRIx32
" updated";
1299 this->m_LogText_OutputPort[0].invoke(
1221 void PrmDbComponentBase :: {
…}
1309 void PrmDbComponentBase ::
1310 log_FATAL_PrmDbFull(U32 Id)
1314 if (this->m_Time_OutputPort[0].isConnected()) {
1315 this->m_Time_OutputPort[0].invoke(_logTime);
1320 _id = this->getIdBase() + EVENTID_PRMDBFULL;
1323 if (this->m_Log_OutputPort[0].isConnected()) {
1327#if FW_AMPCS_COMPATIBLE
1329 _status = _logBuff.
serialize(
static_cast<U8>(1 + 1));
1342 _status = _logBuff.
serialize(
static_cast<U32
>(0));
1349#if FW_AMPCS_COMPATIBLE
1352 static_cast<U8>(
sizeof(U32))
1365 this->m_Log_OutputPort[0].invoke(
1374#if FW_ENABLE_TEXT_LOGGING
1375 if (this->m_LogText_OutputPort[0].isConnected()) {
1376#if FW_OBJECT_NAMES == 1
1377 const char* _formatString =
1378 "(%s) %s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1380 const char* _formatString =
1381 "%s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1400 this->m_LogText_OutputPort[0].invoke(
1309 void PrmDbComponentBase :: {
…}
1410 void PrmDbComponentBase ::
1411 log_ACTIVITY_HI_PrmIdAdded(U32 Id)
1415 if (this->m_Time_OutputPort[0].isConnected()) {
1416 this->m_Time_OutputPort[0].invoke(_logTime);
1421 _id = this->getIdBase() + EVENTID_PRMIDADDED;
1424 if (this->m_Log_OutputPort[0].isConnected()) {
1428#if FW_AMPCS_COMPATIBLE
1437#if FW_AMPCS_COMPATIBLE
1440 static_cast<U8>(
sizeof(U32))
1453 this->m_Log_OutputPort[0].invoke(
1462#if FW_ENABLE_TEXT_LOGGING
1463 if (this->m_LogText_OutputPort[0].isConnected()) {
1464#if FW_OBJECT_NAMES == 1
1465 const char* _formatString =
1466 "(%s) %s: Parameter ID 0x%" PRIx32
" added";
1468 const char* _formatString =
1469 "%s: Parameter ID 0x%" PRIx32
" added";
1488 this->m_LogText_OutputPort[0].invoke(
1410 void PrmDbComponentBase :: {
…}
1498 void PrmDbComponentBase ::
1499 log_WARNING_HI_PrmFileWriteError(
1507 if (this->m_Time_OutputPort[0].isConnected()) {
1508 this->m_Time_OutputPort[0].invoke(_logTime);
1513 _id = this->getIdBase() + EVENTID_PRMFILEWRITEERROR;
1516 if (this->m_Log_OutputPort[0].isConnected()) {
1520#if FW_AMPCS_COMPATIBLE
1529#if FW_AMPCS_COMPATIBLE
1545#if FW_AMPCS_COMPATIBLE
1548 static_cast<U8>(
sizeof(I32))
1561#if FW_AMPCS_COMPATIBLE
1564 static_cast<U8>(
sizeof(I32))
1577 this->m_Log_OutputPort[0].invoke(
1586#if FW_ENABLE_TEXT_LOGGING
1587 if (this->m_LogText_OutputPort[0].isConnected()) {
1588#if FW_OBJECT_NAMES == 1
1589 const char* _formatString =
1590 "(%s) %s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1592 const char* _formatString =
1593 "%s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1599 stage.toString(stageStr);
1608 "PrmFileWriteError ",
1617 this->m_LogText_OutputPort[0].invoke(
1498 void PrmDbComponentBase :: {
…}
1627 void PrmDbComponentBase ::
1628 log_ACTIVITY_HI_PrmFileSaveComplete(U32 records)
1632 if (this->m_Time_OutputPort[0].isConnected()) {
1633 this->m_Time_OutputPort[0].invoke(_logTime);
1638 _id = this->getIdBase() + EVENTID_PRMFILESAVECOMPLETE;
1641 if (this->m_Log_OutputPort[0].isConnected()) {
1645#if FW_AMPCS_COMPATIBLE
1654#if FW_AMPCS_COMPATIBLE
1657 static_cast<U8>(
sizeof(U32))
1670 this->m_Log_OutputPort[0].invoke(
1679#if FW_ENABLE_TEXT_LOGGING
1680 if (this->m_LogText_OutputPort[0].isConnected()) {
1681#if FW_OBJECT_NAMES == 1
1682 const char* _formatString =
1683 "(%s) %s: Parameter file save completed. Wrote %" PRIu32
" records.";
1685 const char* _formatString =
1686 "%s: Parameter file save completed. Wrote %" PRIu32
" records.";
1698 "PrmFileSaveComplete ",
1705 this->m_LogText_OutputPort[0].invoke(
1627 void PrmDbComponentBase :: {
…}
1715 void PrmDbComponentBase ::
1716 log_WARNING_HI_PrmFileReadError(
1724 if (this->m_Time_OutputPort[0].isConnected()) {
1725 this->m_Time_OutputPort[0].invoke(_logTime);
1730 _id = this->getIdBase() + EVENTID_PRMFILEREADERROR;
1733 if (this->m_Log_OutputPort[0].isConnected()) {
1737#if FW_AMPCS_COMPATIBLE
1746#if FW_AMPCS_COMPATIBLE
1762#if FW_AMPCS_COMPATIBLE
1765 static_cast<U8>(
sizeof(I32))
1778#if FW_AMPCS_COMPATIBLE
1781 static_cast<U8>(
sizeof(I32))
1794 this->m_Log_OutputPort[0].invoke(
1803#if FW_ENABLE_TEXT_LOGGING
1804 if (this->m_LogText_OutputPort[0].isConnected()) {
1805#if FW_OBJECT_NAMES == 1
1806 const char* _formatString =
1807 "(%s) %s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1809 const char* _formatString =
1810 "%s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1816 stage.toString(stageStr);
1825 "PrmFileReadError ",
1834 this->m_LogText_OutputPort[0].invoke(
1715 void PrmDbComponentBase :: {
…}
1844 void PrmDbComponentBase ::
1845 log_ACTIVITY_HI_PrmFileLoadComplete(U32 records)
1849 if (this->m_Time_OutputPort[0].isConnected()) {
1850 this->m_Time_OutputPort[0].invoke(_logTime);
1855 _id = this->getIdBase() + EVENTID_PRMFILELOADCOMPLETE;
1858 if (this->m_Log_OutputPort[0].isConnected()) {
1862#if FW_AMPCS_COMPATIBLE
1871#if FW_AMPCS_COMPATIBLE
1874 static_cast<U8>(
sizeof(U32))
1887 this->m_Log_OutputPort[0].invoke(
1896#if FW_ENABLE_TEXT_LOGGING
1897 if (this->m_LogText_OutputPort[0].isConnected()) {
1898#if FW_OBJECT_NAMES == 1
1899 const char* _formatString =
1900 "(%s) %s: Parameter file load completed. Read %" PRIu32
" records.";
1902 const char* _formatString =
1903 "%s: Parameter file load completed. Read %" PRIu32
" records.";
1915 "PrmFileLoadComplete ",
1922 this->m_LogText_OutputPort[0].invoke(
1844 void PrmDbComponentBase :: {
…}
1936 void PrmDbComponentBase ::
1937 log_WARNING_LO_PrmIdNotFound_ThrottleClear()
1940 this->m_PrmIdNotFoundThrottle = 0;
1936 void PrmDbComponentBase :: {
…}
1950 if (this->m_Time_OutputPort[0].isConnected()) {
1952 this->m_Time_OutputPort[0].invoke(_time);
1967 void PrmDbComponentBase ::
1970 this->m_guardedPortMutex.lock();
1967 void PrmDbComponentBase :: {
…}
1973 void PrmDbComponentBase ::
1976 this->m_guardedPortMutex.unLock();
1973 void PrmDbComponentBase :: {
…}
1986 ComponentIpcSerializableBuffer msg;
2009 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
2011 if (msgType == PRMDB_COMPONENT_EXIT) {
2012 return MSG_DISPATCH_EXIT;
2016 deserStatus = msg.deserialize(portNum);
2027 deserStatus = msg.deserialize(key);
2033 this->pingIn_handler(
2042 case SETPRM_PRMSET: {
2045 deserStatus = msg.deserialize(
id);
2053 deserStatus = msg.deserialize(val);
2059 this->setPrm_handler(
2069 case CMD_PRM_SAVE_FILE: {
2072 deserStatus = msg.deserialize(opCode);
2080 deserStatus = msg.deserialize(cmdSeq);
2088 deserStatus = msg.deserialize(args);
2099#if FW_CMD_CHECK_RESIDUAL
2101 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
2110 this->PRM_SAVE_FILE_cmdHandler(opCode, cmdSeq);
2116 return MSG_DISPATCH_ERROR;
2119 return MSG_DISPATCH_OK;
2126 void PrmDbComponentBase ::
2136 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2138 const U32 idBase = callComp->
getIdBase();
2139 FW_ASSERT(opCode >= idBase, opCode, idBase);
2142 switch (opCode - idBase) {
2143 case OPCODE_PRM_SAVE_FILE: {
2144 compPtr->PRM_SAVE_FILE_cmdHandlerBase(
2167 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2168 return compPtr->getPrm_handlerBase(
2175 void PrmDbComponentBase ::
2183 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2184 compPtr->pingIn_handlerBase(
2190 void PrmDbComponentBase ::
2199 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2200 compPtr->setPrm_handlerBase(
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
PlatformUIntType NATIVE_UINT_TYPE
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
#define FW_LOG_TEXT_BUFFER_SIZE
Max size of string for text log message.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ WARNING_HI
A serious but recoverable event.
@ ACTIVITY_HI
Important informational events.
@ FATAL
A fatal non-recoverable event.
@ WARNING_LO
A less serious but recoverable event.
void init()
Object initializer.
Enum representing parameter validity.
NATIVE_UINT_TYPE getBuffLeft() const
returns how much deserialization buffer is left
void resetDeser()
reset deserialization to beginning
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
const char * toChar() const
gets char buffer
@ QUEUE_OK
message sent/received okay
@ QUEUE_BLOCKING
Queue receive blocks until a message arrives.
@ QUEUE_NONBLOCKING
Queue receive always returns even if there is no message.
@ SERIALIZED_SIZE
The size of the serial representation.
@ SERIALIZED_SIZE
The size of the serial representation.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.