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
103 this->m_CmdDisp_InputPort[port].setObjName(portName);
110 port < static_cast<PlatformIntType>(this->getNum_getPrm_InputPorts());
113 this->m_getPrm_InputPort[port].init();
114 this->m_getPrm_InputPort[port].addCallComp(
118 this->m_getPrm_InputPort[port].setPortNum(port);
120#if FW_OBJECT_NAMES == 1
129 this->m_getPrm_InputPort[port].setObjName(portName);
136 port < static_cast<PlatformIntType>(this->getNum_pingIn_InputPorts());
139 this->m_pingIn_InputPort[port].init();
140 this->m_pingIn_InputPort[port].addCallComp(
144 this->m_pingIn_InputPort[port].setPortNum(port);
146#if FW_OBJECT_NAMES == 1
155 this->m_pingIn_InputPort[port].setObjName(portName);
162 port < static_cast<PlatformIntType>(this->getNum_setPrm_InputPorts());
165 this->m_setPrm_InputPort[port].init();
166 this->m_setPrm_InputPort[port].addCallComp(
170 this->m_setPrm_InputPort[port].setPortNum(port);
172#if FW_OBJECT_NAMES == 1
181 this->m_setPrm_InputPort[port].setObjName(portName);
188 port < static_cast<PlatformIntType>(this->getNum_CmdReg_OutputPorts());
191 this->m_CmdReg_OutputPort[port].init();
193#if FW_OBJECT_NAMES == 1
202 this->m_CmdReg_OutputPort[port].setObjName(portName);
209 port < static_cast<PlatformIntType>(this->getNum_CmdStatus_OutputPorts());
212 this->m_CmdStatus_OutputPort[port].init();
214#if FW_OBJECT_NAMES == 1
223 this->m_CmdStatus_OutputPort[port].setObjName(portName);
230 port < static_cast<PlatformIntType>(this->getNum_Log_OutputPorts());
233 this->m_Log_OutputPort[port].init();
235#if FW_OBJECT_NAMES == 1
244 this->m_Log_OutputPort[port].setObjName(portName);
248#if FW_ENABLE_TEXT_LOGGING == 1
252 port < static_cast<PlatformIntType>(this->getNum_LogText_OutputPorts());
255 this->m_LogText_OutputPort[port].init();
257#if FW_OBJECT_NAMES == 1
266 this->m_LogText_OutputPort[port].setObjName(portName);
274 port < static_cast<PlatformIntType>(this->getNum_Time_OutputPorts());
277 this->m_Time_OutputPort[port].init();
279#if FW_OBJECT_NAMES == 1
288 this->m_Time_OutputPort[port].setObjName(portName);
295 port < static_cast<PlatformIntType>(this->getNum_pingOut_OutputPorts());
298 this->m_pingOut_OutputPort[port].init();
300#if FW_OBJECT_NAMES == 1
309 this->m_pingOut_OutputPort[port].setObjName(portName);
315 ComponentIpcSerializableBuffer::SERIALIZATION_SIZE
72 void PrmDbComponentBase :: {
…}
331 portNum < this->getNum_CmdDisp_InputPorts(),
335 return &this->m_CmdDisp_InputPort[portNum];
346 portNum < this->getNum_getPrm_InputPorts(),
350 return &this->m_getPrm_InputPort[portNum];
357 portNum < this->getNum_pingIn_InputPorts(),
361 return &this->m_pingIn_InputPort[portNum];
368 portNum < this->getNum_setPrm_InputPorts(),
372 return &this->m_setPrm_InputPort[portNum];
379 void PrmDbComponentBase ::
380 set_CmdReg_OutputPort(
386 portNum < this->getNum_CmdReg_OutputPorts(),
390 this->m_CmdReg_OutputPort[portNum].addCallPort(port);
379 void PrmDbComponentBase :: {
…}
393 void PrmDbComponentBase ::
394 set_CmdStatus_OutputPort(
400 portNum < this->getNum_CmdStatus_OutputPorts(),
404 this->m_CmdStatus_OutputPort[portNum].addCallPort(port);
393 void PrmDbComponentBase :: {
…}
407 void PrmDbComponentBase ::
414 portNum < this->getNum_Log_OutputPorts(),
418 this->m_Log_OutputPort[portNum].addCallPort(port);
407 void PrmDbComponentBase :: {
…}
421#if FW_ENABLE_TEXT_LOGGING == 1
423 void PrmDbComponentBase ::
424 set_LogText_OutputPort(
430 portNum < this->getNum_LogText_OutputPorts(),
434 this->m_LogText_OutputPort[portNum].addCallPort(port);
439 void PrmDbComponentBase ::
446 portNum < this->getNum_Time_OutputPorts(),
450 this->m_Time_OutputPort[portNum].addCallPort(port);
439 void PrmDbComponentBase :: {
…}
457 void PrmDbComponentBase ::
458 set_pingOut_OutputPort(
464 portNum < this->getNum_pingOut_OutputPorts(),
468 this->m_pingOut_OutputPort[portNum].addCallPort(port);
457 void PrmDbComponentBase :: {
…}
471#if FW_PORT_SERIALIZATION
477 void PrmDbComponentBase ::
478 set_CmdReg_OutputPort(
480 Fw::InputSerializePort* port
484 portNum < this->getNum_CmdReg_OutputPorts(),
488 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
491 void PrmDbComponentBase ::
492 set_CmdStatus_OutputPort(
494 Fw::InputSerializePort* port
498 portNum < this->getNum_CmdStatus_OutputPorts(),
502 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
505 void PrmDbComponentBase ::
508 Fw::InputSerializePort* port
512 portNum < this->getNum_Log_OutputPorts(),
516 this->m_Log_OutputPort[portNum].registerSerialPort(port);
519#if FW_ENABLE_TEXT_LOGGING == 1
521 void PrmDbComponentBase ::
522 set_LogText_OutputPort(
524 Fw::InputSerializePort* port
528 portNum < this->getNum_LogText_OutputPorts(),
532 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
537 void PrmDbComponentBase ::
540 Fw::InputSerializePort* port
544 portNum < this->getNum_Time_OutputPorts(),
548 this->m_Time_OutputPort[portNum].registerSerialPort(port);
553#if FW_PORT_SERIALIZATION
559 void PrmDbComponentBase ::
560 set_pingOut_OutputPort(
562 Fw::InputSerializePort* port
566 portNum < this->getNum_pingOut_OutputPorts(),
570 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
579 void PrmDbComponentBase ::
582 FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
584 this->m_CmdReg_OutputPort[0].invoke(
585 this->getIdBase() + OPCODE_PRM_SAVE_FILE
579 void PrmDbComponentBase :: {
…}
593 PrmDbComponentBase ::
594 PrmDbComponentBase(
const char* compName) :
595 Fw::ActiveComponentBase(compName)
597 this->m_PrmIdNotFoundThrottle = 0;
593 PrmDbComponentBase :: {
…}
600 PrmDbComponentBase ::
601 ~PrmDbComponentBase()
600 PrmDbComponentBase :: {
…}
611 getNum_CmdDisp_InputPorts()
const
621 getNum_getPrm_InputPorts()
const
627 getNum_pingIn_InputPorts()
const
633 getNum_setPrm_InputPorts()
const
643 getNum_CmdReg_OutputPorts()
const
649 getNum_CmdStatus_OutputPorts()
const
655 getNum_Log_OutputPorts()
const
660#if FW_ENABLE_TEXT_LOGGING == 1
663 getNum_LogText_OutputPorts()
const
671 getNum_Time_OutputPorts()
const
681 getNum_pingOut_OutputPorts()
const
690 bool PrmDbComponentBase ::
694 portNum < this->getNum_CmdReg_OutputPorts(),
698 return this->m_CmdReg_OutputPort[portNum].isConnected();
690 bool PrmDbComponentBase :: {
…}
701 bool PrmDbComponentBase ::
705 portNum < this->getNum_CmdStatus_OutputPorts(),
709 return this->m_CmdStatus_OutputPort[portNum].isConnected();
701 bool PrmDbComponentBase :: {
…}
712 bool PrmDbComponentBase ::
716 portNum < this->getNum_Log_OutputPorts(),
720 return this->m_Log_OutputPort[portNum].isConnected();
712 bool PrmDbComponentBase :: {
…}
723#if FW_ENABLE_TEXT_LOGGING == 1
725 bool PrmDbComponentBase ::
729 portNum < this->getNum_LogText_OutputPorts(),
733 return this->m_LogText_OutputPort[portNum].isConnected();
738 bool PrmDbComponentBase ::
742 portNum < this->getNum_Time_OutputPorts(),
746 return this->m_Time_OutputPort[portNum].isConnected();
738 bool PrmDbComponentBase :: {
…}
753 bool PrmDbComponentBase ::
757 portNum < this->getNum_pingOut_OutputPorts(),
761 return this->m_pingOut_OutputPort[portNum].isConnected();
753 bool PrmDbComponentBase :: {
…}
779 portNum < this->getNum_getPrm_InputPorts(),
789 retVal = this->getPrm_handler(
801 void PrmDbComponentBase ::
809 portNum < this->getNum_pingIn_InputPorts(),
818 ComponentIpcSerializableBuffer msg;
822 _status = msg.serialize(
831 _status = msg.serialize(portNum);
838 _status = msg.serialize(key);
801 void PrmDbComponentBase :: {
…}
854 void PrmDbComponentBase ::
863 portNum < this->getNum_setPrm_InputPorts(),
873 ComponentIpcSerializableBuffer msg;
877 _status = msg.serialize(
886 _status = msg.serialize(portNum);
893 _status = msg.serialize(
id);
900 _status = msg.serialize(val);
854 void PrmDbComponentBase :: {
…}
924 void PrmDbComponentBase ::
924 void PrmDbComponentBase :: {
…}
933 void PrmDbComponentBase ::
933 void PrmDbComponentBase :: {
…}
947 void PrmDbComponentBase ::
954 portNum < this->getNum_pingOut_OutputPorts(),
957 this->m_pingOut_OutputPort[portNum].invoke(
947 void PrmDbComponentBase :: {
…}
966 void PrmDbComponentBase ::
973 FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
974 this->m_CmdStatus_OutputPort[0].invoke(opCode, cmdSeq, response);
966 void PrmDbComponentBase :: {
…}
983 void PrmDbComponentBase ::
984 PRM_SAVE_FILE_cmdHandlerBase(
991 this->PRM_SAVE_FILE_preMsgHook(opCode,cmdSeq);
995 ComponentIpcSerializableBuffer msg;
999 _status = msg.serialize(
static_cast<NATIVE_INT_TYPE>(CMD_PRM_SAVE_FILE));
1008 _status = msg.serialize(port);
1014 _status = msg.serialize(opCode);
1020 _status = msg.serialize(cmdSeq);
1026 _status = msg.serialize(args);
983 void PrmDbComponentBase :: {
…}
1050 void PrmDbComponentBase ::
1051 PRM_SAVE_FILE_preMsgHook(
1050 void PrmDbComponentBase :: {
…}
1063 void PrmDbComponentBase ::
1064 log_WARNING_LO_PrmIdNotFound(U32 Id)
1067 if (this->m_PrmIdNotFoundThrottle >= EVENTID_PRMIDNOTFOUND_THROTTLE) {
1071 this->m_PrmIdNotFoundThrottle++;
1076 if (this->m_Time_OutputPort[0].isConnected()) {
1077 this->m_Time_OutputPort[0].invoke(_logTime);
1082 _id = this->getIdBase() + EVENTID_PRMIDNOTFOUND;
1085 if (this->m_Log_OutputPort[0].isConnected()) {
1089#if FW_AMPCS_COMPATIBLE
1098#if FW_AMPCS_COMPATIBLE
1101 static_cast<U8>(
sizeof(U32))
1114 this->m_Log_OutputPort[0].invoke(
1123#if FW_ENABLE_TEXT_LOGGING
1124 if (this->m_LogText_OutputPort[0].isConnected()) {
1125#if FW_OBJECT_NAMES == 1
1126 const char* _formatString =
1127 "(%s) %s: Parameter ID 0x%" PRIx32
" not found";
1129 const char* _formatString =
1130 "%s: Parameter ID 0x%" PRIx32
" not found";
1149 this->m_LogText_OutputPort[0].invoke(
1063 void PrmDbComponentBase :: {
…}
1159 void PrmDbComponentBase ::
1160 log_ACTIVITY_HI_PrmIdUpdated(U32 Id)
1164 if (this->m_Time_OutputPort[0].isConnected()) {
1165 this->m_Time_OutputPort[0].invoke(_logTime);
1170 _id = this->getIdBase() + EVENTID_PRMIDUPDATED;
1173 if (this->m_Log_OutputPort[0].isConnected()) {
1177#if FW_AMPCS_COMPATIBLE
1186#if FW_AMPCS_COMPATIBLE
1189 static_cast<U8>(
sizeof(U32))
1202 this->m_Log_OutputPort[0].invoke(
1211#if FW_ENABLE_TEXT_LOGGING
1212 if (this->m_LogText_OutputPort[0].isConnected()) {
1213#if FW_OBJECT_NAMES == 1
1214 const char* _formatString =
1215 "(%s) %s: Parameter ID 0x%" PRIx32
" updated";
1217 const char* _formatString =
1218 "%s: Parameter ID 0x%" PRIx32
" updated";
1237 this->m_LogText_OutputPort[0].invoke(
1159 void PrmDbComponentBase :: {
…}
1247 void PrmDbComponentBase ::
1248 log_FATAL_PrmDbFull(U32 Id)
1252 if (this->m_Time_OutputPort[0].isConnected()) {
1253 this->m_Time_OutputPort[0].invoke(_logTime);
1258 _id = this->getIdBase() + EVENTID_PRMDBFULL;
1261 if (this->m_Log_OutputPort[0].isConnected()) {
1265#if FW_AMPCS_COMPATIBLE
1267 _status = _logBuff.
serialize(
static_cast<U8>(1 + 1));
1280 _status = _logBuff.
serialize(
static_cast<U32
>(0));
1287#if FW_AMPCS_COMPATIBLE
1290 static_cast<U8>(
sizeof(U32))
1303 this->m_Log_OutputPort[0].invoke(
1312#if FW_ENABLE_TEXT_LOGGING
1313 if (this->m_LogText_OutputPort[0].isConnected()) {
1314#if FW_OBJECT_NAMES == 1
1315 const char* _formatString =
1316 "(%s) %s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1318 const char* _formatString =
1319 "%s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1338 this->m_LogText_OutputPort[0].invoke(
1247 void PrmDbComponentBase :: {
…}
1348 void PrmDbComponentBase ::
1349 log_ACTIVITY_HI_PrmIdAdded(U32 Id)
1353 if (this->m_Time_OutputPort[0].isConnected()) {
1354 this->m_Time_OutputPort[0].invoke(_logTime);
1359 _id = this->getIdBase() + EVENTID_PRMIDADDED;
1362 if (this->m_Log_OutputPort[0].isConnected()) {
1366#if FW_AMPCS_COMPATIBLE
1375#if FW_AMPCS_COMPATIBLE
1378 static_cast<U8>(
sizeof(U32))
1391 this->m_Log_OutputPort[0].invoke(
1400#if FW_ENABLE_TEXT_LOGGING
1401 if (this->m_LogText_OutputPort[0].isConnected()) {
1402#if FW_OBJECT_NAMES == 1
1403 const char* _formatString =
1404 "(%s) %s: Parameter ID 0x%" PRIx32
" added";
1406 const char* _formatString =
1407 "%s: Parameter ID 0x%" PRIx32
" added";
1426 this->m_LogText_OutputPort[0].invoke(
1348 void PrmDbComponentBase :: {
…}
1436 void PrmDbComponentBase ::
1437 log_WARNING_HI_PrmFileWriteError(
1445 if (this->m_Time_OutputPort[0].isConnected()) {
1446 this->m_Time_OutputPort[0].invoke(_logTime);
1451 _id = this->getIdBase() + EVENTID_PRMFILEWRITEERROR;
1454 if (this->m_Log_OutputPort[0].isConnected()) {
1458#if FW_AMPCS_COMPATIBLE
1467#if FW_AMPCS_COMPATIBLE
1483#if FW_AMPCS_COMPATIBLE
1486 static_cast<U8>(
sizeof(I32))
1499#if FW_AMPCS_COMPATIBLE
1502 static_cast<U8>(
sizeof(I32))
1515 this->m_Log_OutputPort[0].invoke(
1524#if FW_ENABLE_TEXT_LOGGING
1525 if (this->m_LogText_OutputPort[0].isConnected()) {
1526#if FW_OBJECT_NAMES == 1
1527 const char* _formatString =
1528 "(%s) %s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1530 const char* _formatString =
1531 "%s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1537 stage.toString(stageStr);
1546 "PrmFileWriteError ",
1555 this->m_LogText_OutputPort[0].invoke(
1436 void PrmDbComponentBase :: {
…}
1565 void PrmDbComponentBase ::
1566 log_ACTIVITY_HI_PrmFileSaveComplete(U32 records)
1570 if (this->m_Time_OutputPort[0].isConnected()) {
1571 this->m_Time_OutputPort[0].invoke(_logTime);
1576 _id = this->getIdBase() + EVENTID_PRMFILESAVECOMPLETE;
1579 if (this->m_Log_OutputPort[0].isConnected()) {
1583#if FW_AMPCS_COMPATIBLE
1592#if FW_AMPCS_COMPATIBLE
1595 static_cast<U8>(
sizeof(U32))
1608 this->m_Log_OutputPort[0].invoke(
1617#if FW_ENABLE_TEXT_LOGGING
1618 if (this->m_LogText_OutputPort[0].isConnected()) {
1619#if FW_OBJECT_NAMES == 1
1620 const char* _formatString =
1621 "(%s) %s: Parameter file save completed. Wrote %" PRIu32
" records.";
1623 const char* _formatString =
1624 "%s: Parameter file save completed. Wrote %" PRIu32
" records.";
1636 "PrmFileSaveComplete ",
1643 this->m_LogText_OutputPort[0].invoke(
1565 void PrmDbComponentBase :: {
…}
1653 void PrmDbComponentBase ::
1654 log_WARNING_HI_PrmFileReadError(
1662 if (this->m_Time_OutputPort[0].isConnected()) {
1663 this->m_Time_OutputPort[0].invoke(_logTime);
1668 _id = this->getIdBase() + EVENTID_PRMFILEREADERROR;
1671 if (this->m_Log_OutputPort[0].isConnected()) {
1675#if FW_AMPCS_COMPATIBLE
1684#if FW_AMPCS_COMPATIBLE
1700#if FW_AMPCS_COMPATIBLE
1703 static_cast<U8>(
sizeof(I32))
1716#if FW_AMPCS_COMPATIBLE
1719 static_cast<U8>(
sizeof(I32))
1732 this->m_Log_OutputPort[0].invoke(
1741#if FW_ENABLE_TEXT_LOGGING
1742 if (this->m_LogText_OutputPort[0].isConnected()) {
1743#if FW_OBJECT_NAMES == 1
1744 const char* _formatString =
1745 "(%s) %s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1747 const char* _formatString =
1748 "%s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1754 stage.toString(stageStr);
1763 "PrmFileReadError ",
1772 this->m_LogText_OutputPort[0].invoke(
1653 void PrmDbComponentBase :: {
…}
1782 void PrmDbComponentBase ::
1783 log_ACTIVITY_HI_PrmFileLoadComplete(U32 records)
1787 if (this->m_Time_OutputPort[0].isConnected()) {
1788 this->m_Time_OutputPort[0].invoke(_logTime);
1793 _id = this->getIdBase() + EVENTID_PRMFILELOADCOMPLETE;
1796 if (this->m_Log_OutputPort[0].isConnected()) {
1800#if FW_AMPCS_COMPATIBLE
1809#if FW_AMPCS_COMPATIBLE
1812 static_cast<U8>(
sizeof(U32))
1825 this->m_Log_OutputPort[0].invoke(
1834#if FW_ENABLE_TEXT_LOGGING
1835 if (this->m_LogText_OutputPort[0].isConnected()) {
1836#if FW_OBJECT_NAMES == 1
1837 const char* _formatString =
1838 "(%s) %s: Parameter file load completed. Read %" PRIu32
" records.";
1840 const char* _formatString =
1841 "%s: Parameter file load completed. Read %" PRIu32
" records.";
1853 "PrmFileLoadComplete ",
1860 this->m_LogText_OutputPort[0].invoke(
1782 void PrmDbComponentBase :: {
…}
1874 void PrmDbComponentBase ::
1875 log_WARNING_LO_PrmIdNotFound_ThrottleClear()
1878 this->m_PrmIdNotFoundThrottle = 0;
1874 void PrmDbComponentBase :: {
…}
1888 if (this->m_Time_OutputPort[0].isConnected()) {
1890 this->m_Time_OutputPort[0].invoke(_time);
1905 void PrmDbComponentBase ::
1908 this->m_guardedPortMutex.lock();
1905 void PrmDbComponentBase :: {
…}
1911 void PrmDbComponentBase ::
1914 this->m_guardedPortMutex.unLock();
1911 void PrmDbComponentBase :: {
…}
1924 ComponentIpcSerializableBuffer msg;
1947 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1949 if (msgType == PRMDB_COMPONENT_EXIT) {
1950 return MSG_DISPATCH_EXIT;
1954 deserStatus = msg.deserialize(portNum);
1965 deserStatus = msg.deserialize(key);
1971 this->pingIn_handler(
1980 case SETPRM_PRMSET: {
1983 deserStatus = msg.deserialize(
id);
1991 deserStatus = msg.deserialize(val);
1997 this->setPrm_handler(
2007 case CMD_PRM_SAVE_FILE: {
2010 deserStatus = msg.deserialize(opCode);
2018 deserStatus = msg.deserialize(cmdSeq);
2026 deserStatus = msg.deserialize(args);
2037#if FW_CMD_CHECK_RESIDUAL
2039 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
2048 this->PRM_SAVE_FILE_cmdHandler(opCode, cmdSeq);
2054 return MSG_DISPATCH_ERROR;
2057 return MSG_DISPATCH_OK;
2064 void PrmDbComponentBase ::
2074 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2076 const U32 idBase = callComp->
getIdBase();
2077 FW_ASSERT(opCode >= idBase, opCode, idBase);
2080 switch (opCode - idBase) {
2081 case OPCODE_PRM_SAVE_FILE: {
2082 compPtr->PRM_SAVE_FILE_cmdHandlerBase(
2105 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2106 return compPtr->getPrm_handlerBase(
2113 void PrmDbComponentBase ::
2121 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2122 compPtr->pingIn_handlerBase(
2128 void PrmDbComponentBase ::
2137 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2138 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.