9 #if FW_ENABLE_TEXT_LOGGING 34 class ComponentIpcSerializableBuffer :
44 MAX_DATA_SIZE =
sizeof(BuffUnion),
46 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
49 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
55 U8 m_buff[SERIALIZATION_SIZE];
73 #if !FW_DIRECT_PORT_CALLS 80 this->m_cmdIn_InputPort[port].
init();
85 this->m_cmdIn_InputPort[port].
setPortNum(port);
87 #if FW_OBJECT_NAMES == 1 91 this->m_objName.toChar(),
94 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
99 #if !FW_DIRECT_PORT_CALLS 106 this->m_comIn_InputPort[port].
init();
111 this->m_comIn_InputPort[port].
setPortNum(port);
113 #if FW_OBJECT_NAMES == 1 117 this->m_objName.toChar(),
120 this->m_comIn_InputPort[port].setObjName(portName.
toChar());
125 #if !FW_DIRECT_PORT_CALLS 132 this->m_pingIn_InputPort[port].
init();
137 this->m_pingIn_InputPort[port].
setPortNum(port);
139 #if FW_OBJECT_NAMES == 1 143 this->m_objName.toChar(),
146 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
151 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 155 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
158 this->m_LogText_OutputPort[port].
init();
160 #if FW_OBJECT_NAMES == 1 164 this->m_objName.toChar(),
167 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
172 #if !FW_DIRECT_PORT_CALLS 179 this->m_cmdRegOut_OutputPort[port].
init();
181 #if FW_OBJECT_NAMES == 1 185 this->m_objName.toChar(),
188 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
193 #if !FW_DIRECT_PORT_CALLS 200 this->m_cmdResponseOut_OutputPort[port].
init();
202 #if FW_OBJECT_NAMES == 1 206 this->m_objName.toChar(),
209 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
214 #if !FW_DIRECT_PORT_CALLS 221 this->m_logOut_OutputPort[port].
init();
223 #if FW_OBJECT_NAMES == 1 227 this->m_objName.toChar(),
230 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
235 #if !FW_DIRECT_PORT_CALLS 242 this->m_timeCaller_OutputPort[port].
init();
244 #if FW_OBJECT_NAMES == 1 248 this->m_objName.toChar(),
251 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
256 #if !FW_DIRECT_PORT_CALLS 263 this->m_pingOut_OutputPort[port].
init();
265 #if FW_OBJECT_NAMES == 1 269 this->m_objName.toChar(),
272 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
280 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
284 static_cast<FwAssertArgType>(qStat)
288 #if !FW_DIRECT_PORT_CALLS 299 static_cast<FwAssertArgType>(portNum)
302 return &this->m_cmdIn_InputPort[portNum];
307 #if !FW_DIRECT_PORT_CALLS 318 static_cast<FwAssertArgType>(portNum)
321 return &this->m_comIn_InputPort[portNum];
329 static_cast<FwAssertArgType>(portNum)
332 return &this->m_pingIn_InputPort[portNum];
337 #if !FW_DIRECT_PORT_CALLS 343 #if FW_ENABLE_TEXT_LOGGING == 1 345 void ComLoggerComponentBase ::
346 set_LogText_OutputPort(
352 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
353 static_cast<FwAssertArgType>(portNum)
356 this->m_LogText_OutputPort[portNum].addCallPort(port);
369 static_cast<FwAssertArgType>(portNum)
372 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
383 static_cast<FwAssertArgType>(portNum)
386 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
397 static_cast<FwAssertArgType>(portNum)
400 this->m_logOut_OutputPort[portNum].
addCallPort(port);
411 static_cast<FwAssertArgType>(portNum)
414 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
419 #if !FW_DIRECT_PORT_CALLS 433 static_cast<FwAssertArgType>(portNum)
436 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
441 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 447 #if FW_ENABLE_TEXT_LOGGING == 1 449 void ComLoggerComponentBase ::
450 set_LogText_OutputPort(
452 Fw::InputSerializePort* port
456 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
457 static_cast<FwAssertArgType>(portNum)
460 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
468 Fw::InputSerializePort* port
473 static_cast<FwAssertArgType>(portNum)
476 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
482 Fw::InputSerializePort* port
487 static_cast<FwAssertArgType>(portNum)
490 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
496 Fw::InputSerializePort* port
501 static_cast<FwAssertArgType>(portNum)
504 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
510 Fw::InputSerializePort* port
515 static_cast<FwAssertArgType>(portNum)
518 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
523 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 532 Fw::InputSerializePort* port
537 static_cast<FwAssertArgType>(portNum)
540 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
566 Fw::ActiveComponentBase(compName)
568 this->m_FileNotInitializedThrottle = 0;
577 #if !FW_DIRECT_PORT_CALLS 583 #if FW_ENABLE_TEXT_LOGGING == 1 585 bool ComLoggerComponentBase ::
586 isConnected_LogText_OutputPort(
FwIndexType portNum)
const 589 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
590 static_cast<FwAssertArgType>(portNum)
593 return this->m_LogText_OutputPort[portNum].isConnected();
603 static_cast<FwAssertArgType>(portNum)
606 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
614 static_cast<FwAssertArgType>(portNum)
617 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
625 static_cast<FwAssertArgType>(portNum)
628 return this->m_logOut_OutputPort[portNum].
isConnected();
636 static_cast<FwAssertArgType>(portNum)
639 return this->m_timeCaller_OutputPort[portNum].
isConnected();
644 #if !FW_DIRECT_PORT_CALLS 655 static_cast<FwAssertArgType>(portNum)
658 return this->m_pingOut_OutputPort[portNum].
isConnected();
679 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
682 switch (opCode - idBase) {
713 static_cast<FwAssertArgType>(portNum)
722 ComponentIpcSerializableBuffer msg;
726 _status = msg.serializeFrom(
727 static_cast<FwEnumStoreType>(COMIN_COM)
731 static_cast<FwAssertArgType>(_status)
735 _status = msg.serializeFrom(portNum);
738 static_cast<FwAssertArgType>(_status)
742 _status = msg.serializeFrom(data);
745 static_cast<FwAssertArgType>(_status)
749 _status = msg.serializeFrom(context);
752 static_cast<FwAssertArgType>(_status)
761 static_cast<FwAssertArgType>(qStatus)
774 static_cast<FwAssertArgType>(portNum)
782 ComponentIpcSerializableBuffer msg;
786 _status = msg.serializeFrom(
787 static_cast<FwEnumStoreType>(PINGIN_PING)
791 static_cast<FwAssertArgType>(_status)
795 _status = msg.serializeFrom(portNum);
798 static_cast<FwAssertArgType>(_status)
802 _status = msg.serializeFrom(key);
805 static_cast<FwAssertArgType>(_status)
814 static_cast<FwAssertArgType>(qStatus)
845 #if !FW_DIRECT_PORT_CALLS 859 static_cast<FwAssertArgType>(portNum)
863 this->m_pingOut_OutputPort[portNum].isConnected(),
864 static_cast<FwAssertArgType>(portNum)
866 this->m_pingOut_OutputPort[portNum].
invoke(
885 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
906 ComponentIpcSerializableBuffer msg;
910 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLOSEFILE));
913 static_cast<FwAssertArgType>(_status)
919 _status = msg.serializeFrom(port);
922 static_cast<FwAssertArgType>(_status)
925 _status = msg.serializeFrom(opCode);
928 static_cast<FwAssertArgType>(_status)
931 _status = msg.serializeFrom(cmdSeq);
934 static_cast<FwAssertArgType>(_status)
937 _status = msg.serializeFrom(args);
940 static_cast<FwAssertArgType>(_status)
949 static_cast<FwAssertArgType>(qStatus)
985 this->timeCaller_out(0, _logTime);
995 #if FW_AMPCS_COMPATIBLE 1000 static_cast<FwAssertArgType>(_status)
1004 #if FW_AMPCS_COMPATIBLE 1007 static_cast<U8>(
sizeof(U32))
1011 static_cast<FwAssertArgType>(_status)
1017 static_cast<FwAssertArgType>(_status)
1026 static_cast<FwAssertArgType>(_status)
1039 #if FW_ENABLE_TEXT_LOGGING 1040 if (this->isConnected_LogText_OutputPort(0)) {
1041 #if FW_OBJECT_NAMES == 1 1042 const char* _formatString =
1043 "(%s) %s: Error %" PRIu32
" opening file %s";
1045 const char* _formatString =
1046 "%s: Error %" PRIu32
" opening file %s";
1050 (void) _logString.
format(
1053 this->m_objName.toChar(),
1082 this->timeCaller_out(0, _logTime);
1092 #if FW_AMPCS_COMPATIBLE 1097 static_cast<FwAssertArgType>(_status)
1101 #if FW_AMPCS_COMPATIBLE 1104 static_cast<U8>(
sizeof(U32))
1108 static_cast<FwAssertArgType>(_status)
1114 static_cast<FwAssertArgType>(_status)
1117 #if FW_AMPCS_COMPATIBLE 1120 static_cast<U8>(
sizeof(U32))
1124 static_cast<FwAssertArgType>(_status)
1130 static_cast<FwAssertArgType>(_status)
1133 #if FW_AMPCS_COMPATIBLE 1136 static_cast<U8>(
sizeof(U32))
1140 static_cast<FwAssertArgType>(_status)
1146 static_cast<FwAssertArgType>(_status)
1155 static_cast<FwAssertArgType>(_status)
1168 #if FW_ENABLE_TEXT_LOGGING 1169 if (this->isConnected_LogText_OutputPort(0)) {
1170 #if FW_OBJECT_NAMES == 1 1171 const char* _formatString =
1172 "(%s) %s: Error %" PRIu32
" while writing %" PRIu32
" of %" PRIu32
" bytes to %s";
1174 const char* _formatString =
1175 "%s: Error %" PRIu32
" while writing %" PRIu32
" of %" PRIu32
" bytes to %s";
1179 (void) _logString.
format(
1182 this->m_objName.toChar(),
1212 this->timeCaller_out(0, _logTime);
1222 #if FW_AMPCS_COMPATIBLE 1227 static_cast<FwAssertArgType>(_status)
1237 static_cast<FwAssertArgType>(_status)
1246 static_cast<FwAssertArgType>(_status)
1249 #if FW_AMPCS_COMPATIBLE 1252 static_cast<U8>(
sizeof(U32))
1256 static_cast<FwAssertArgType>(_status)
1262 static_cast<FwAssertArgType>(_status)
1275 #if FW_ENABLE_TEXT_LOGGING 1276 if (this->isConnected_LogText_OutputPort(0)) {
1277 #if FW_OBJECT_NAMES == 1 1278 const char* _formatString =
1279 "(%s) %s: The ComLogger failed to create a validation file %s for %s with error %" PRIu32
".";
1281 const char* _formatString =
1282 "%s: The ComLogger failed to create a validation file %s for %s with error %" PRIu32
".";
1286 (void) _logString.
format(
1289 this->m_objName.toChar(),
1291 "FileValidationError ",
1314 this->timeCaller_out(0, _logTime);
1324 #if FW_AMPCS_COMPATIBLE 1329 static_cast<FwAssertArgType>(_status)
1339 static_cast<FwAssertArgType>(_status)
1352 #if FW_ENABLE_TEXT_LOGGING 1353 if (this->isConnected_LogText_OutputPort(0)) {
1354 #if FW_OBJECT_NAMES == 1 1355 const char* _formatString =
1356 "(%s) %s: File %s closed successfully.";
1358 const char* _formatString =
1359 "%s: File %s closed successfully.";
1363 (void) _logString.
format(
1366 this->m_objName.toChar(),
1391 this->m_FileNotInitializedThrottle++;
1397 this->timeCaller_out(0, _logTime);
1406 #if FW_AMPCS_COMPATIBLE 1412 static_cast<FwAssertArgType>(_status)
1426 #if FW_ENABLE_TEXT_LOGGING 1427 if (this->isConnected_LogText_OutputPort(0)) {
1428 #if FW_OBJECT_NAMES == 1 1429 const char* _formatString =
1430 "(%s) %s: Could not open ComLogger file. File not initialized";
1432 const char* _formatString =
1433 "%s: Could not open ComLogger file. File not initialized";
1437 (void) _logString.
format(
1440 this->m_objName.toChar(),
1442 "FileNotInitialized " 1464 this->m_FileNotInitializedThrottle = 0;
1476 this->timeCaller_out(0, _time);
1491 ComponentIpcSerializableBuffer _msg;
1501 static_cast<FwAssertArgType>(_msgStatus)
1511 static_cast<FwAssertArgType>(_deserStatus)
1514 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
1516 if (_msgType == COMLOGGER_COMPONENT_EXIT) {
1521 _deserStatus = _msg.deserializeTo(portNum);
1524 static_cast<FwAssertArgType>(_deserStatus)
1532 _deserStatus = _msg.deserializeTo(data);
1535 static_cast<FwAssertArgType>(_deserStatus)
1540 _deserStatus = _msg.deserializeTo(context);
1543 static_cast<FwAssertArgType>(_deserStatus)
1559 _deserStatus = _msg.deserializeTo(key);
1562 static_cast<FwAssertArgType>(_deserStatus)
1574 case CMD_CLOSEFILE: {
1577 _deserStatus = _msg.deserializeTo(_opCode);
1580 static_cast<FwAssertArgType>(_deserStatus)
1585 _deserStatus = _msg.deserializeTo(_cmdSeq);
1588 static_cast<FwAssertArgType>(_deserStatus)
1593 _deserStatus = _msg.deserializeTo(args);
1596 static_cast<FwAssertArgType>(_deserStatus)
1604 #if FW_CMD_CHECK_RESIDUAL 1631 void ComLoggerComponentBase ::
1642 compPtr->cmdIn_handlerBase(
1654 void ComLoggerComponentBase ::
1664 compPtr->comIn_handlerBase(
1671 void ComLoggerComponentBase ::
1680 compPtr->pingIn_handlerBase(
1686 #if !FW_DIRECT_PORT_CALLS 1692 #if FW_ENABLE_TEXT_LOGGING 1694 void ComLoggerComponentBase ::
1704 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
1705 static_cast<FwAssertArgType>(portNum)
1709 this->m_LogText_OutputPort[portNum].isConnected(),
1710 static_cast<FwAssertArgType>(portNum)
1712 this->m_LogText_OutputPort[portNum].invoke(
1722 void ComLoggerComponentBase ::
1730 static_cast<FwAssertArgType>(portNum)
1734 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
1735 static_cast<FwAssertArgType>(portNum)
1737 this->m_cmdRegOut_OutputPort[portNum].
invoke(
1742 void ComLoggerComponentBase ::
1752 static_cast<FwAssertArgType>(portNum)
1756 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
1757 static_cast<FwAssertArgType>(portNum)
1759 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
1766 void ComLoggerComponentBase ::
1777 static_cast<FwAssertArgType>(portNum)
1781 this->m_logOut_OutputPort[portNum].isConnected(),
1782 static_cast<FwAssertArgType>(portNum)
1784 this->m_logOut_OutputPort[portNum].
invoke(
1792 void ComLoggerComponentBase ::
1800 static_cast<FwAssertArgType>(portNum)
1804 this->m_timeCaller_OutputPort[portNum].isConnected(),
1805 static_cast<FwAssertArgType>(portNum)
1807 this->m_timeCaller_OutputPort[portNum].
invoke(
Serialization/Deserialization operation was successful.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void addCallPort(InputTimePort *callPort)
Register an input port.
static constexpr FwSizeType CAPACITY
ComLoggerComponentBase(const char *compName="")
Construct ComLoggerComponentBase object.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
FwIdType FwOpcodeType
The type of a command opcode.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
FwIdType getIdBase() const
virtual void comIn_preMsgHook(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Pre-message hook for async input port comIn.
PlatformSizeType FwSizeType
void log_WARNING_LO_FileNotInitialized()
Log event FileNotInitialized.
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void log_DIAGNOSTIC_FileClosed(const Fw::StringBase &file) const
Status
status returned from the queue send function
message to exit active component task
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
void invoke(U32 key) const
Invoke a port connection.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
static constexpr FwIndexType getNum_pingIn_InputPorts()
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
Enum representing a command response.
No time base has been established (Required)
void regCommands()
Register commands with the Command Dispatcher.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
Os::Queue m_queue
queue object for active component
Software diagnostic events.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void init()
Object initializer.
SerializeStatus
forward declaration for string
Message will block until space is available.
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
FwIdType FwEventIdType
The type of an event identifier.
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwSizeType CAPACITY
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
void init()
Initialization function.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
static constexpr FwSizeType CAPACITY
virtual void CloseFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CloseFile.
void log_WARNING_HI_FileOpenError(U32 errornum, const Fw::StringBase &file) const
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
A less serious but recoverable event.
void init()
Initialization function.
void log_WARNING_LO_FileNotInitialized_ThrottleClear()
Reset throttle value for FileNotInitialized.
void invoke(Fw::Time &time) const
Invoke a port connection.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
void CloseFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void addCallPort(InputPingPort *callPort)
Register an input port.
The ComLogger encountered an error opening a file.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Fw::InputComPort * get_comIn_InputPort(FwIndexType portNum)
The ComLogger successfully closed a file on command.
void log_WARNING_HI_FileWriteError(U32 errornum, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file) const
virtual ~ComLoggerComponentBase()
Destroy ComLoggerComponentBase object.
A serious but recoverable event.
Errors dispatching messages.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
const char * toChar() const
Convert to a C-style char*.
The ComLogger encountered an error writing to a file.
Enum representing event severity.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
static constexpr FwIndexType getNum_logOut_OutputPorts()
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
uint8_t U8
8-bit unsigned integer
Command failed to deserialize.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
void log_WARNING_LO_FileValidationError(const Fw::StringBase &validationFile, const Fw::StringBase &file, U32 status) const
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
static constexpr FwIndexType getNum_comIn_InputPorts()
A message was sent requesting an exit of the loop.
PlatformIndexType FwIndexType
virtual void comIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port comIn.
void addCallPort(InputLogPort *callPort)
Register an input port.
void init()
Initialization function.
void comIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port comIn.
Forces a close of the currently opened file.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
message sent/received okay
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
The ComLogger encountered an error writing the validation file.
Message will return with status when space is unavailable.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
Implementation of malloc based allocator.
void init()
Initialization function.
virtual void CloseFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
Throttle reset count for FileNotInitialized.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]