9 #if FW_ENABLE_TEXT_LOGGING 34 class ComponentIpcSerializableBuffer :
44 MAX_DATA_SIZE =
sizeof(BuffUnion),
46 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
50 return sizeof(m_buff);
57 const U8* getBuffAddr()
const {
63 U8 m_buff[SERIALIZATION_SIZE];
81 #if !FW_DIRECT_PORT_CALLS 88 this->m_cmdIn_InputPort[port].
init();
93 this->m_cmdIn_InputPort[port].
setPortNum(port);
95 #if FW_OBJECT_NAMES == 1 99 this->m_objName.toChar(),
102 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
107 #if !FW_DIRECT_PORT_CALLS 114 this->m_comIn_InputPort[port].
init();
119 this->m_comIn_InputPort[port].
setPortNum(port);
121 #if FW_OBJECT_NAMES == 1 125 this->m_objName.toChar(),
128 this->m_comIn_InputPort[port].setObjName(portName.
toChar());
133 #if !FW_DIRECT_PORT_CALLS 140 this->m_pingIn_InputPort[port].
init();
145 this->m_pingIn_InputPort[port].
setPortNum(port);
147 #if FW_OBJECT_NAMES == 1 151 this->m_objName.toChar(),
154 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
159 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 163 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
166 this->m_LogText_OutputPort[port].
init();
168 #if FW_OBJECT_NAMES == 1 172 this->m_objName.toChar(),
175 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
180 #if !FW_DIRECT_PORT_CALLS 187 this->m_cmdRegOut_OutputPort[port].
init();
189 #if FW_OBJECT_NAMES == 1 193 this->m_objName.toChar(),
196 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
201 #if !FW_DIRECT_PORT_CALLS 208 this->m_cmdResponseOut_OutputPort[port].
init();
210 #if FW_OBJECT_NAMES == 1 214 this->m_objName.toChar(),
217 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
222 #if !FW_DIRECT_PORT_CALLS 229 this->m_logOut_OutputPort[port].
init();
231 #if FW_OBJECT_NAMES == 1 235 this->m_objName.toChar(),
238 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
243 #if !FW_DIRECT_PORT_CALLS 250 this->m_timeCaller_OutputPort[port].
init();
252 #if FW_OBJECT_NAMES == 1 256 this->m_objName.toChar(),
259 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
264 #if !FW_DIRECT_PORT_CALLS 271 this->m_pingOut_OutputPort[port].
init();
273 #if FW_OBJECT_NAMES == 1 277 this->m_objName.toChar(),
280 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
288 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
292 static_cast<FwAssertArgType>(qStat)
296 #if !FW_DIRECT_PORT_CALLS 307 static_cast<FwAssertArgType>(portNum)
310 return &this->m_cmdIn_InputPort[portNum];
315 #if !FW_DIRECT_PORT_CALLS 326 static_cast<FwAssertArgType>(portNum)
329 return &this->m_comIn_InputPort[portNum];
337 static_cast<FwAssertArgType>(portNum)
340 return &this->m_pingIn_InputPort[portNum];
345 #if !FW_DIRECT_PORT_CALLS 351 #if FW_ENABLE_TEXT_LOGGING == 1 353 void ComLoggerComponentBase ::
354 set_LogText_OutputPort(
360 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
361 static_cast<FwAssertArgType>(portNum)
364 this->m_LogText_OutputPort[portNum].addCallPort(port);
377 static_cast<FwAssertArgType>(portNum)
380 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
391 static_cast<FwAssertArgType>(portNum)
394 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
405 static_cast<FwAssertArgType>(portNum)
408 this->m_logOut_OutputPort[portNum].
addCallPort(port);
419 static_cast<FwAssertArgType>(portNum)
422 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
427 #if !FW_DIRECT_PORT_CALLS 441 static_cast<FwAssertArgType>(portNum)
444 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
449 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 455 #if FW_ENABLE_TEXT_LOGGING == 1 457 void ComLoggerComponentBase ::
458 set_LogText_OutputPort(
460 Fw::InputSerializePort* port
464 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
465 static_cast<FwAssertArgType>(portNum)
468 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
476 Fw::InputSerializePort* port
481 static_cast<FwAssertArgType>(portNum)
484 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
490 Fw::InputSerializePort* port
495 static_cast<FwAssertArgType>(portNum)
498 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
504 Fw::InputSerializePort* port
509 static_cast<FwAssertArgType>(portNum)
512 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
518 Fw::InputSerializePort* port
523 static_cast<FwAssertArgType>(portNum)
526 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
531 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 540 Fw::InputSerializePort* port
545 static_cast<FwAssertArgType>(portNum)
548 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
574 Fw::ActiveComponentBase(compName)
576 this->m_FileNotInitializedThrottle = 0;
585 #if !FW_DIRECT_PORT_CALLS 591 #if FW_ENABLE_TEXT_LOGGING == 1 593 bool ComLoggerComponentBase ::
594 isConnected_LogText_OutputPort(
FwIndexType portNum)
const 597 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
598 static_cast<FwAssertArgType>(portNum)
601 return this->m_LogText_OutputPort[portNum].isConnected();
611 static_cast<FwAssertArgType>(portNum)
614 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
622 static_cast<FwAssertArgType>(portNum)
625 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
633 static_cast<FwAssertArgType>(portNum)
636 return this->m_logOut_OutputPort[portNum].
isConnected();
644 static_cast<FwAssertArgType>(portNum)
647 return this->m_timeCaller_OutputPort[portNum].
isConnected();
652 #if !FW_DIRECT_PORT_CALLS 663 static_cast<FwAssertArgType>(portNum)
666 return this->m_pingOut_OutputPort[portNum].
isConnected();
687 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
690 switch (opCode - idBase) {
721 static_cast<FwAssertArgType>(portNum)
730 ComponentIpcSerializableBuffer msg;
734 _status = msg.serializeFrom(
735 static_cast<FwEnumStoreType>(COMIN_COM)
739 static_cast<FwAssertArgType>(_status)
743 _status = msg.serializeFrom(portNum);
746 static_cast<FwAssertArgType>(_status)
750 _status = msg.serializeFrom(data);
753 static_cast<FwAssertArgType>(_status)
757 _status = msg.serializeFrom(context);
760 static_cast<FwAssertArgType>(_status)
769 static_cast<FwAssertArgType>(qStatus)
782 static_cast<FwAssertArgType>(portNum)
790 ComponentIpcSerializableBuffer msg;
794 _status = msg.serializeFrom(
795 static_cast<FwEnumStoreType>(PINGIN_PING)
799 static_cast<FwAssertArgType>(_status)
803 _status = msg.serializeFrom(portNum);
806 static_cast<FwAssertArgType>(_status)
810 _status = msg.serializeFrom(key);
813 static_cast<FwAssertArgType>(_status)
822 static_cast<FwAssertArgType>(qStatus)
853 #if !FW_DIRECT_PORT_CALLS 867 static_cast<FwAssertArgType>(portNum)
871 this->m_pingOut_OutputPort[portNum].isConnected(),
872 static_cast<FwAssertArgType>(portNum)
874 this->m_pingOut_OutputPort[portNum].
invoke(
893 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
914 ComponentIpcSerializableBuffer msg;
918 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CLOSEFILE));
921 static_cast<FwAssertArgType>(_status)
927 _status = msg.serializeFrom(port);
930 static_cast<FwAssertArgType>(_status)
933 _status = msg.serializeFrom(opCode);
936 static_cast<FwAssertArgType>(_status)
939 _status = msg.serializeFrom(cmdSeq);
942 static_cast<FwAssertArgType>(_status)
945 _status = msg.serializeFrom(args);
948 static_cast<FwAssertArgType>(_status)
957 static_cast<FwAssertArgType>(qStatus)
993 this->timeCaller_out(0, _logTime);
1003 #if FW_AMPCS_COMPATIBLE 1008 static_cast<FwAssertArgType>(_status)
1012 #if FW_AMPCS_COMPATIBLE 1015 static_cast<U8>(
sizeof(U32))
1019 static_cast<FwAssertArgType>(_status)
1025 static_cast<FwAssertArgType>(_status)
1034 static_cast<FwAssertArgType>(_status)
1047 #if FW_ENABLE_TEXT_LOGGING 1048 if (this->isConnected_LogText_OutputPort(0)) {
1049 #if FW_OBJECT_NAMES == 1 1050 const char* _formatString =
1051 "(%s) %s: Error %" PRIu32
" opening file %s";
1053 const char* _formatString =
1054 "%s: Error %" PRIu32
" opening file %s";
1061 this->m_objName.toChar(),
1090 this->timeCaller_out(0, _logTime);
1100 #if FW_AMPCS_COMPATIBLE 1105 static_cast<FwAssertArgType>(_status)
1109 #if FW_AMPCS_COMPATIBLE 1112 static_cast<U8>(
sizeof(U32))
1116 static_cast<FwAssertArgType>(_status)
1122 static_cast<FwAssertArgType>(_status)
1125 #if FW_AMPCS_COMPATIBLE 1128 static_cast<U8>(
sizeof(U32))
1132 static_cast<FwAssertArgType>(_status)
1138 static_cast<FwAssertArgType>(_status)
1141 #if FW_AMPCS_COMPATIBLE 1144 static_cast<U8>(
sizeof(U32))
1148 static_cast<FwAssertArgType>(_status)
1154 static_cast<FwAssertArgType>(_status)
1163 static_cast<FwAssertArgType>(_status)
1176 #if FW_ENABLE_TEXT_LOGGING 1177 if (this->isConnected_LogText_OutputPort(0)) {
1178 #if FW_OBJECT_NAMES == 1 1179 const char* _formatString =
1180 "(%s) %s: Error %" PRIu32
" while writing %" PRIu32
" of %" PRIu32
" bytes to %s";
1182 const char* _formatString =
1183 "%s: Error %" PRIu32
" while writing %" PRIu32
" of %" PRIu32
" bytes to %s";
1190 this->m_objName.toChar(),
1220 this->timeCaller_out(0, _logTime);
1230 #if FW_AMPCS_COMPATIBLE 1235 static_cast<FwAssertArgType>(_status)
1245 static_cast<FwAssertArgType>(_status)
1254 static_cast<FwAssertArgType>(_status)
1257 #if FW_AMPCS_COMPATIBLE 1260 static_cast<U8>(
sizeof(U32))
1264 static_cast<FwAssertArgType>(_status)
1270 static_cast<FwAssertArgType>(_status)
1283 #if FW_ENABLE_TEXT_LOGGING 1284 if (this->isConnected_LogText_OutputPort(0)) {
1285 #if FW_OBJECT_NAMES == 1 1286 const char* _formatString =
1287 "(%s) %s: The ComLogger failed to create a validation file %s for %s with error %" PRIu32
".";
1289 const char* _formatString =
1290 "%s: The ComLogger failed to create a validation file %s for %s with error %" PRIu32
".";
1297 this->m_objName.toChar(),
1299 "FileValidationError ",
1322 this->timeCaller_out(0, _logTime);
1332 #if FW_AMPCS_COMPATIBLE 1337 static_cast<FwAssertArgType>(_status)
1347 static_cast<FwAssertArgType>(_status)
1360 #if FW_ENABLE_TEXT_LOGGING 1361 if (this->isConnected_LogText_OutputPort(0)) {
1362 #if FW_OBJECT_NAMES == 1 1363 const char* _formatString =
1364 "(%s) %s: File %s closed successfully.";
1366 const char* _formatString =
1367 "%s: File %s closed successfully.";
1374 this->m_objName.toChar(),
1399 this->m_FileNotInitializedThrottle++;
1405 this->timeCaller_out(0, _logTime);
1414 #if FW_AMPCS_COMPATIBLE 1420 static_cast<FwAssertArgType>(_status)
1434 #if FW_ENABLE_TEXT_LOGGING 1435 if (this->isConnected_LogText_OutputPort(0)) {
1436 #if FW_OBJECT_NAMES == 1 1437 const char* _formatString =
1438 "(%s) %s: Could not open ComLogger file. File not initialized";
1440 const char* _formatString =
1441 "%s: Could not open ComLogger file. File not initialized";
1448 this->m_objName.toChar(),
1450 "FileNotInitialized " 1472 this->m_FileNotInitializedThrottle = 0;
1484 this->timeCaller_out(0, _time);
1499 ComponentIpcSerializableBuffer _msg;
1509 static_cast<FwAssertArgType>(_msgStatus)
1519 static_cast<FwAssertArgType>(_deserStatus)
1522 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
1524 if (_msgType == COMLOGGER_COMPONENT_EXIT) {
1529 _deserStatus = _msg.deserializeTo(portNum);
1532 static_cast<FwAssertArgType>(_deserStatus)
1540 _deserStatus = _msg.deserializeTo(data);
1543 static_cast<FwAssertArgType>(_deserStatus)
1548 _deserStatus = _msg.deserializeTo(context);
1551 static_cast<FwAssertArgType>(_deserStatus)
1567 _deserStatus = _msg.deserializeTo(key);
1570 static_cast<FwAssertArgType>(_deserStatus)
1582 case CMD_CLOSEFILE: {
1585 _deserStatus = _msg.deserializeTo(_opCode);
1588 static_cast<FwAssertArgType>(_deserStatus)
1593 _deserStatus = _msg.deserializeTo(_cmdSeq);
1596 static_cast<FwAssertArgType>(_deserStatus)
1601 _deserStatus = _msg.deserializeTo(args);
1604 static_cast<FwAssertArgType>(_deserStatus)
1612 #if FW_CMD_CHECK_RESIDUAL 1639 void ComLoggerComponentBase ::
1650 compPtr->cmdIn_handlerBase(
1662 void ComLoggerComponentBase ::
1672 compPtr->comIn_handlerBase(
1679 void ComLoggerComponentBase ::
1688 compPtr->pingIn_handlerBase(
1694 #if !FW_DIRECT_PORT_CALLS 1700 #if FW_ENABLE_TEXT_LOGGING 1702 void ComLoggerComponentBase ::
1712 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
1713 static_cast<FwAssertArgType>(portNum)
1717 this->m_LogText_OutputPort[portNum].isConnected(),
1718 static_cast<FwAssertArgType>(portNum)
1720 this->m_LogText_OutputPort[portNum].invoke(
1730 void ComLoggerComponentBase ::
1738 static_cast<FwAssertArgType>(portNum)
1742 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
1743 static_cast<FwAssertArgType>(portNum)
1745 this->m_cmdRegOut_OutputPort[portNum].
invoke(
1750 void ComLoggerComponentBase ::
1760 static_cast<FwAssertArgType>(portNum)
1764 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
1765 static_cast<FwAssertArgType>(portNum)
1767 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
1774 void ComLoggerComponentBase ::
1785 static_cast<FwAssertArgType>(portNum)
1789 this->m_logOut_OutputPort[portNum].isConnected(),
1790 static_cast<FwAssertArgType>(portNum)
1792 this->m_logOut_OutputPort[portNum].
invoke(
1800 void ComLoggerComponentBase ::
1808 static_cast<FwAssertArgType>(portNum)
1812 this->m_timeCaller_OutputPort[portNum].isConnected(),
1813 static_cast<FwAssertArgType>(portNum)
1815 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)
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
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
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
The ComLogger encountered an error writing the validation file.
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.
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
The ComLogger successfully closed a file on command.
#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
message to exit active component task
void CloseFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
const char * toChar() const
Convert to a C-style char*.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void addCallPort(InputPingPort *callPort)
Register an input port.
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)
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.
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
Forces a close of the currently opened file.
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.
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
Throttle reset count for FileNotInitialized.
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
The ComLogger encountered an error writing to a file.
The ComLogger encountered an error opening a file.
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.