10 #if FW_ENABLE_TEXT_LOGGING 
   34     class ComponentIpcSerializableBuffer :
 
   49           return sizeof(m_buff);
 
   56         const U8* getBuffAddr()
 const {
 
   62         U8 m_buff[SERIALIZATION_SIZE];
 
   86       this->m_CmdDisp_InputPort[port].
init();
 
   91       this->m_CmdDisp_InputPort[port].
setPortNum(port);
 
   93 #if FW_OBJECT_NAMES == 1 
   97         this->m_objName.toChar(),
 
  100       this->m_CmdDisp_InputPort[port].setObjName(portName.
toChar());
 
  110       this->m_getPrm_InputPort[port].
init();
 
  115       this->m_getPrm_InputPort[port].
setPortNum(port);
 
  117 #if FW_OBJECT_NAMES == 1 
  121         this->m_objName.toChar(),
 
  124       this->m_getPrm_InputPort[port].setObjName(portName.
toChar());
 
  134       this->m_pingIn_InputPort[port].
init();
 
  139       this->m_pingIn_InputPort[port].
setPortNum(port);
 
  141 #if FW_OBJECT_NAMES == 1 
  145         this->m_objName.toChar(),
 
  148       this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
 
  158       this->m_setPrm_InputPort[port].
init();
 
  163       this->m_setPrm_InputPort[port].
setPortNum(port);
 
  165 #if FW_OBJECT_NAMES == 1 
  169         this->m_objName.toChar(),
 
  172       this->m_setPrm_InputPort[port].setObjName(portName.
toChar());
 
  182       this->m_CmdReg_OutputPort[port].
init();
 
  184 #if FW_OBJECT_NAMES == 1 
  188         this->m_objName.toChar(),
 
  191       this->m_CmdReg_OutputPort[port].setObjName(portName.
toChar());
 
  201       this->m_CmdStatus_OutputPort[port].
init();
 
  203 #if FW_OBJECT_NAMES == 1 
  207         this->m_objName.toChar(),
 
  210       this->m_CmdStatus_OutputPort[port].setObjName(portName.
toChar());
 
  220       this->m_Log_OutputPort[port].
init();
 
  222 #if FW_OBJECT_NAMES == 1 
  226         this->m_objName.toChar(),
 
  229       this->m_Log_OutputPort[port].setObjName(portName.
toChar());
 
  233 #if FW_ENABLE_TEXT_LOGGING == 1 
  237       port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
 
  240       this->m_LogText_OutputPort[port].
init();
 
  242 #if FW_OBJECT_NAMES == 1 
  246         this->m_objName.toChar(),
 
  249       this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
 
  260       this->m_Time_OutputPort[port].
init();
 
  262 #if FW_OBJECT_NAMES == 1 
  266         this->m_objName.toChar(),
 
  269       this->m_Time_OutputPort[port].setObjName(portName.
toChar());
 
  279       this->m_pingOut_OutputPort[port].
init();
 
  281 #if FW_OBJECT_NAMES == 1 
  285         this->m_objName.toChar(),
 
  288       this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
 
  294       static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
 
  314     return &this->m_CmdDisp_InputPort[portNum];
 
  329     return &this->m_getPrm_InputPort[portNum];
 
  340     return &this->m_pingIn_InputPort[portNum];
 
  351     return &this->m_setPrm_InputPort[portNum];
 
  369     this->m_CmdReg_OutputPort[portNum].
addCallPort(port);
 
  383     this->m_CmdStatus_OutputPort[portNum].
addCallPort(port);
 
  400 #if FW_ENABLE_TEXT_LOGGING == 1 
  402   void PrmDbComponentBase ::
 
  403     set_LogText_OutputPort(
 
  409       portNum < this->getNum_LogText_OutputPorts(),
 
  413     this->m_LogText_OutputPort[portNum].addCallPort(port);
 
  429     this->m_Time_OutputPort[portNum].
addCallPort(port);
 
  447     this->m_pingOut_OutputPort[portNum].
addCallPort(port);
 
  450 #if FW_PORT_SERIALIZATION 
  459         Fw::InputSerializePort* port
 
  467     this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
 
  473         Fw::InputSerializePort* port
 
  481     this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
 
  487         Fw::InputSerializePort* port
 
  495     this->m_Log_OutputPort[portNum].registerSerialPort(port);
 
  498 #if FW_ENABLE_TEXT_LOGGING == 1 
  500   void PrmDbComponentBase ::
 
  501     set_LogText_OutputPort(
 
  503         Fw::InputSerializePort* port
 
  507       portNum < this->getNum_LogText_OutputPorts(),
 
  511     this->m_LogText_OutputPort[portNum].registerSerialPort(port);
 
  519         Fw::InputSerializePort* port
 
  527     this->m_Time_OutputPort[portNum].registerSerialPort(port);
 
  532 #if FW_PORT_SERIALIZATION 
  541         Fw::InputSerializePort* port
 
  549     this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
 
  561     FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
 
  563     this->m_CmdReg_OutputPort[0].
invoke(
 
  574       Fw::ActiveComponentBase(compName)
 
  576     this->m_PrmIdNotFoundThrottle = 0;
 
  639 #if FW_ENABLE_TEXT_LOGGING == 1 
  642     getNum_LogText_OutputPorts()
 const 
  677     return this->m_CmdReg_OutputPort[portNum].
isConnected();
 
  688     return this->m_CmdStatus_OutputPort[portNum].
isConnected();
 
  699     return this->m_Log_OutputPort[portNum].
isConnected();
 
  702 #if FW_ENABLE_TEXT_LOGGING == 1 
  704   bool PrmDbComponentBase ::
 
  705     isConnected_LogText_OutputPort(
FwIndexType portNum)
 
  708       portNum < this->getNum_LogText_OutputPorts(),
 
  712     return this->m_LogText_OutputPort[portNum].isConnected();
 
  725     return this->m_Time_OutputPort[portNum].
isConnected();
 
  740     return this->m_pingOut_OutputPort[portNum].
isConnected();
 
  797     ComponentIpcSerializableBuffer msg;
 
  801     _status = msg.serialize(
 
  810     _status = msg.serialize(portNum);
 
  817     _status = msg.serialize(key);
 
  852     ComponentIpcSerializableBuffer msg;
 
  856     _status = msg.serialize(
 
  865     _status = msg.serialize(portNum);
 
  872     _status = msg.serialize(
id);
 
  879     _status = msg.serialize(val);
 
  936     this->m_pingOut_OutputPort[portNum].
invoke(
 
  952     FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
 
  953     this->m_CmdStatus_OutputPort[0].
invoke(opCode, cmdSeq, response);
 
  974     ComponentIpcSerializableBuffer msg;
 
  978     _status = msg.serialize(
static_cast<FwEnumStoreType>(CMD_PRM_SAVE_FILE));
 
  987     _status = msg.serialize(port);
 
  993     _status = msg.serialize(opCode);
 
  999     _status = msg.serialize(cmdSeq);
 
 1005     _status = msg.serialize(args);
 
 1052       this->m_PrmIdNotFoundThrottle++;
 
 1057     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1058       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1066     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1070 #if FW_AMPCS_COMPATIBLE 
 1079 #if FW_AMPCS_COMPATIBLE 
 1082         static_cast<U8>(
sizeof(U32))
 
 1095       this->m_Log_OutputPort[0].
invoke(
 
 1104 #if FW_ENABLE_TEXT_LOGGING 
 1105     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1106 #if FW_OBJECT_NAMES == 1 
 1107       const char* _formatString =
 
 1108         "(%s) %s: Parameter ID 0x%" PRIx32 
" not found";
 
 1110       const char* _formatString =
 
 1111         "%s: Parameter ID 0x%" PRIx32 
" not found";
 
 1118         this->m_objName.toChar(),
 
 1124       this->m_LogText_OutputPort[0].invoke(
 
 1139     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1140       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1148     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1152 #if FW_AMPCS_COMPATIBLE 
 1161 #if FW_AMPCS_COMPATIBLE 
 1164         static_cast<U8>(
sizeof(U32))
 
 1177       this->m_Log_OutputPort[0].
invoke(
 
 1186 #if FW_ENABLE_TEXT_LOGGING 
 1187     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1188 #if FW_OBJECT_NAMES == 1 
 1189       const char* _formatString =
 
 1190         "(%s) %s: Parameter ID 0x%" PRIx32 
" updated";
 
 1192       const char* _formatString =
 
 1193         "%s: Parameter ID 0x%" PRIx32 
" updated";
 
 1200         this->m_objName.toChar(),
 
 1206       this->m_LogText_OutputPort[0].invoke(
 
 1221     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1222       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1230     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1234 #if FW_AMPCS_COMPATIBLE 
 1236       _status = _logBuff.
serialize(
static_cast<U8>(1 + 1));
 
 1249       _status = _logBuff.
serialize(
static_cast<U32
>(0));
 
 1256 #if FW_AMPCS_COMPATIBLE 
 1259         static_cast<U8>(
sizeof(U32))
 
 1272       this->m_Log_OutputPort[0].
invoke(
 
 1281 #if FW_ENABLE_TEXT_LOGGING 
 1282     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1283 #if FW_OBJECT_NAMES == 1 
 1284       const char* _formatString =
 
 1285         "(%s) %s: Parameter DB full when adding ID 0x%" PRIx32 
" ";
 
 1287       const char* _formatString =
 
 1288         "%s: Parameter DB full when adding ID 0x%" PRIx32 
" ";
 
 1295         this->m_objName.toChar(),
 
 1301       this->m_LogText_OutputPort[0].invoke(
 
 1316     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1317       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1325     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1329 #if FW_AMPCS_COMPATIBLE 
 1338 #if FW_AMPCS_COMPATIBLE 
 1341         static_cast<U8>(
sizeof(U32))
 
 1354       this->m_Log_OutputPort[0].
invoke(
 
 1363 #if FW_ENABLE_TEXT_LOGGING 
 1364     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1365 #if FW_OBJECT_NAMES == 1 
 1366       const char* _formatString =
 
 1367         "(%s) %s: Parameter ID 0x%" PRIx32 
" added";
 
 1369       const char* _formatString =
 
 1370         "%s: Parameter ID 0x%" PRIx32 
" added";
 
 1377         this->m_objName.toChar(),
 
 1383       this->m_LogText_OutputPort[0].invoke(
 
 1402     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1403       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1411     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1415 #if FW_AMPCS_COMPATIBLE 
 1424 #if FW_AMPCS_COMPATIBLE 
 1440 #if FW_AMPCS_COMPATIBLE 
 1443         static_cast<U8>(
sizeof(I32))
 
 1456 #if FW_AMPCS_COMPATIBLE 
 1459         static_cast<U8>(
sizeof(I32))
 
 1472       this->m_Log_OutputPort[0].
invoke(
 
 1481 #if FW_ENABLE_TEXT_LOGGING 
 1482     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1483 #if FW_OBJECT_NAMES == 1 
 1484       const char* _formatString =
 
 1485         "(%s) %s: Parameter write failed in stage %s with record %" PRIi32 
" and error %" PRIi32 
"";
 
 1487       const char* _formatString =
 
 1488         "%s: Parameter write failed in stage %s with record %" PRIi32 
" and error %" PRIi32 
"";
 
 1492       stage.toString(stageStr);
 
 1498         this->m_objName.toChar(),
 
 1500         "PrmFileWriteError ",
 
 1506       this->m_LogText_OutputPort[0].invoke(
 
 1521     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1522       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1530     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1534 #if FW_AMPCS_COMPATIBLE 
 1543 #if FW_AMPCS_COMPATIBLE 
 1546         static_cast<U8>(
sizeof(U32))
 
 1559       this->m_Log_OutputPort[0].
invoke(
 
 1568 #if FW_ENABLE_TEXT_LOGGING 
 1569     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1570 #if FW_OBJECT_NAMES == 1 
 1571       const char* _formatString =
 
 1572         "(%s) %s: Parameter file save completed. Wrote %" PRIu32 
" records.";
 
 1574       const char* _formatString =
 
 1575         "%s: Parameter file save completed. Wrote %" PRIu32 
" records.";
 
 1582         this->m_objName.toChar(),
 
 1584         "PrmFileSaveComplete ",
 
 1588       this->m_LogText_OutputPort[0].invoke(
 
 1607     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1608       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1616     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1620 #if FW_AMPCS_COMPATIBLE 
 1629 #if FW_AMPCS_COMPATIBLE 
 1645 #if FW_AMPCS_COMPATIBLE 
 1648         static_cast<U8>(
sizeof(I32))
 
 1661 #if FW_AMPCS_COMPATIBLE 
 1664         static_cast<U8>(
sizeof(I32))
 
 1677       this->m_Log_OutputPort[0].
invoke(
 
 1686 #if FW_ENABLE_TEXT_LOGGING 
 1687     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1688 #if FW_OBJECT_NAMES == 1 
 1689       const char* _formatString =
 
 1690         "(%s) %s: Parameter file read failed in stage %s with record %" PRIi32 
" and error %" PRIi32 
"";
 
 1692       const char* _formatString =
 
 1693         "%s: Parameter file read failed in stage %s with record %" PRIi32 
" and error %" PRIi32 
"";
 
 1697       stage.toString(stageStr);
 
 1703         this->m_objName.toChar(),
 
 1705         "PrmFileReadError ",
 
 1711       this->m_LogText_OutputPort[0].invoke(
 
 1726     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1727       this->m_Time_OutputPort[0].
invoke(_logTime);
 
 1735     if (this->m_Log_OutputPort[0].isConnected()) {
 
 1739 #if FW_AMPCS_COMPATIBLE 
 1748 #if FW_AMPCS_COMPATIBLE 
 1751         static_cast<U8>(
sizeof(U32))
 
 1764       this->m_Log_OutputPort[0].
invoke(
 
 1773 #if FW_ENABLE_TEXT_LOGGING 
 1774     if (this->m_LogText_OutputPort[0].isConnected()) {
 
 1775 #if FW_OBJECT_NAMES == 1 
 1776       const char* _formatString =
 
 1777         "(%s) %s: Parameter file load completed. Read %" PRIu32 
" records.";
 
 1779       const char* _formatString =
 
 1780         "%s: Parameter file load completed. Read %" PRIu32 
" records.";
 
 1787         this->m_objName.toChar(),
 
 1789         "PrmFileLoadComplete ",
 
 1793       this->m_LogText_OutputPort[0].invoke(
 
 1811     this->m_PrmIdNotFoundThrottle = 0;
 
 1821     if (this->m_Time_OutputPort[0].isConnected()) {
 
 1823       this->m_Time_OutputPort[0].
invoke(_time);
 
 1841     this->m_guardedPortMutex.
lock();
 
 1847     this->m_guardedPortMutex.
unLock();
 
 1857     ComponentIpcSerializableBuffer msg;
 
 1880     MsgTypeEnum msgType = 
static_cast<MsgTypeEnum
>(desMsg);
 
 1882     if (msgType == PRMDB_COMPONENT_EXIT) {
 
 1887     deserStatus = msg.deserialize(portNum);
 
 1898         deserStatus = msg.deserialize(key);
 
 1913       case SETPRM_PRMSET: {
 
 1916         deserStatus = msg.deserialize(
id);
 
 1940       case CMD_PRM_SAVE_FILE: {
 
 1943         deserStatus = msg.deserialize(opCode);
 
 1951         deserStatus = msg.deserialize(cmdSeq);
 
 1970 #if FW_CMD_CHECK_RESIDUAL 
 1972           if (this->m_CmdStatus_OutputPort[0].isConnected()) {
 
 1997   void PrmDbComponentBase ::
 
 2009     const U32 idBase = callComp->
getIdBase();
 
 2013     switch (opCode - idBase) {
 
 2015         compPtr->PRM_SAVE_FILE_cmdHandlerBase(
 
 2039     return compPtr->getPrm_handlerBase(
 
 2046   void PrmDbComponentBase ::
 
 2055     compPtr->pingIn_handlerBase(
 
 2061   void PrmDbComponentBase ::
 
 2071     compPtr->setPrm_handlerBase(
 
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
 
PlatformSizeType FwSizeType
 
PlatformQueuePriorityType FwQueuePriorityType
 
PlatformIndexType FwIndexType
 
#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.
 
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.
 
Enum representing parameter validity.
 
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
 
Os::Queue m_queue
queue object for active component
 
@ MSG_DISPATCH_OK
Dispatch was normal.
 
@ MSG_DISPATCH_EXIT
A message was sent requesting an exit of the loop.
 
@ MSG_DISPATCH_ERROR
Errors dispatching messages.
 
NATIVE_UINT_TYPE SizeType
 
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
 
const char * toChar() const
 
void unLock()
unlock the mutex and assert success
 
void lock()
lock the mutex and assert success
 
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
 
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
 
@ BLOCKING
Message will block until space is available.
 
@ NONBLOCKING
Message will return with status when space is unavailable.
 
Status
status returned from the queue send function
 
@ OP_OK
message sent/received okay
 
void invoke(U32 key)
Invoke a port interface.
 
void init()
Initialization function.
 
void addCallPort(InputPingPort *callPort)
Register an input port.
 
@ SERIALIZED_SIZE
The size of the serial representation.
 
@ SERIALIZED_SIZE
The size of the serial representation.
 
virtual void unLock()
Unlock the guarded mutex.
 
void setPrm_handlerBase(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Handler base-class function for input port setPrm.
 
Fw::InputCmdPort * get_CmdDisp_InputPort(FwIndexType portNum)
 
bool isConnected_Log_OutputPort(FwIndexType portNum)
 
FwIndexType getNum_getPrm_InputPorts() const
 
void log_WARNING_HI_PrmFileReadError(Svc::PrmDb_PrmReadError stage, I32 record, I32 error)
 
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
 
virtual void setPrm_preMsgHook(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Pre-message hook for async input port setPrm.
 
void log_WARNING_HI_PrmFileWriteError(Svc::PrmDb_PrmWriteError stage, I32 record, I32 error)
 
void log_ACTIVITY_HI_PrmIdUpdated(U32 Id)
 
FwIndexType getNum_pingOut_OutputPorts() const
 
virtual ~PrmDbComponentBase()
Destroy PrmDbComponentBase object.
 
void log_WARNING_LO_PrmIdNotFound_ThrottleClear()
Reset throttle value for PrmIdNotFound.
 
PrmDbComponentBase(const char *compName="")
Construct PrmDbComponentBase object.
 
@ EVENTID_PRMDBFULL
Parameter database is full.
 
@ EVENTID_PRMFILESAVECOMPLETE
Save of parameter file completed.
 
@ EVENTID_PRMIDADDED
Parameter ID added to database.
 
@ EVENTID_PRMFILEREADERROR
Failed to read parameter file.
 
@ EVENTID_PRMIDNOTFOUND
Parameter ID not found in database.
 
@ EVENTID_PRMFILELOADCOMPLETE
Load of parameter file completed.
 
@ EVENTID_PRMFILEWRITEERROR
Failed to write parameter file.
 
@ EVENTID_PRMIDUPDATED
Parameter ID updated in database.
 
FwIndexType getNum_setPrm_InputPorts() const
 
Fw::InputPrmGetPort * get_getPrm_InputPort(FwIndexType portNum)
 
@ EVENTID_PRMIDNOTFOUND_THROTTLE
Throttle reset count for PrmIdNotFound.
 
virtual void PRM_SAVE_FILE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
 
FwIndexType getNum_Time_OutputPorts() const
 
FwIndexType getNum_pingIn_InputPorts() const
 
@ OPCODE_PRM_SAVE_FILE
Command to save parameter image to file. Uses file name passed to constructor.
 
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
 
void set_CmdStatus_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to CmdStatus[portNum].
 
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
 
void PRM_SAVE_FILE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
 
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
 
FwIndexType getNum_CmdDisp_InputPorts() const
 
virtual void lock()
Lock the guarded mutex.
 
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
 
Fw::InputPrmSetPort * get_setPrm_InputPort(FwIndexType portNum)
 
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
 
void log_FATAL_PrmDbFull(U32 Id)
 
bool isConnected_CmdStatus_OutputPort(FwIndexType portNum)
 
virtual Fw::ParamValid getPrm_handler(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)=0
Handler for input port getPrm.
 
virtual void PRM_SAVE_FILE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PRM_SAVE_FILE.
 
void regCommands()
Register commands with the Command Dispatcher.
 
void log_ACTIVITY_HI_PrmFileLoadComplete(U32 records)
 
FwIndexType getNum_Log_OutputPorts() const
 
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
 
void set_CmdReg_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to CmdReg[portNum].
 
void log_WARNING_LO_PrmIdNotFound(U32 Id)
 
void log_ACTIVITY_HI_PrmFileSaveComplete(U32 records)
 
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
 
virtual void setPrm_handler(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)=0
Handler for input port setPrm.
 
FwIndexType getNum_CmdReg_OutputPorts() const
 
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
 
Fw::ParamValid getPrm_handlerBase(FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Handler base-class function for input port getPrm.
 
bool isConnected_CmdReg_OutputPort(FwIndexType portNum)
 
bool isConnected_Time_OutputPort(FwIndexType portNum)
 
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
 
FwIndexType getNum_CmdStatus_OutputPorts() const
 
void log_ACTIVITY_HI_PrmIdAdded(U32 Id)
 
SerializeStatus
forward declaration for string
 
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
 
@ OP_OK
Operation succeeded.