10 #if FW_ENABLE_TEXT_LOGGING 32 this->m_recvReturnIn_InputPort[port].
init();
37 this->m_recvReturnIn_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1 43 this->m_objName.toChar(),
46 this->m_recvReturnIn_InputPort[port].setObjName(portName.
toChar());
56 this->m_send_InputPort[port].
init();
63 #if FW_OBJECT_NAMES == 1 67 this->m_objName.toChar(),
70 this->m_send_InputPort[port].setObjName(portName.
toChar());
80 this->m_Log_OutputPort[port].
init();
82 #if FW_OBJECT_NAMES == 1 86 this->m_objName.toChar(),
89 this->m_Log_OutputPort[port].setObjName(portName.
toChar());
93 #if FW_ENABLE_TEXT_LOGGING == 1 97 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
100 this->m_LogText_OutputPort[port].
init();
102 #if FW_OBJECT_NAMES == 1 106 this->m_objName.toChar(),
109 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
120 this->m_Time_OutputPort[port].
init();
122 #if FW_OBJECT_NAMES == 1 126 this->m_objName.toChar(),
129 this->m_Time_OutputPort[port].setObjName(portName.
toChar());
139 this->m_Tlm_OutputPort[port].
init();
141 #if FW_OBJECT_NAMES == 1 145 this->m_objName.toChar(),
148 this->m_Tlm_OutputPort[port].setObjName(portName.
toChar());
158 this->m_allocate_OutputPort[port].
init();
160 #if FW_OBJECT_NAMES == 1 164 this->m_objName.toChar(),
167 this->m_allocate_OutputPort[port].setObjName(portName.
toChar());
177 this->m_deallocate_OutputPort[port].
init();
179 #if FW_OBJECT_NAMES == 1 183 this->m_objName.toChar(),
186 this->m_deallocate_OutputPort[port].setObjName(portName.
toChar());
196 this->m_ready_OutputPort[port].
init();
198 #if FW_OBJECT_NAMES == 1 202 this->m_objName.toChar(),
205 this->m_ready_OutputPort[port].setObjName(portName.
toChar());
215 this->m_recv_OutputPort[port].
init();
217 #if FW_OBJECT_NAMES == 1 221 this->m_objName.toChar(),
224 this->m_recv_OutputPort[port].setObjName(portName.
toChar());
234 this->m_sendReturnOut_OutputPort[port].
init();
236 #if FW_OBJECT_NAMES == 1 240 this->m_objName.toChar(),
243 this->m_sendReturnOut_OutputPort[port].setObjName(portName.
toChar());
257 static_cast<FwAssertArgType>(portNum)
260 return &this->m_recvReturnIn_InputPort[portNum];
268 static_cast<FwAssertArgType>(portNum)
271 return &this->m_send_InputPort[portNum];
286 static_cast<FwAssertArgType>(portNum)
292 #if FW_ENABLE_TEXT_LOGGING == 1 294 void LinuxUartDriverComponentBase ::
295 set_LogText_OutputPort(
301 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
302 static_cast<FwAssertArgType>(portNum)
305 this->m_LogText_OutputPort[portNum].addCallPort(port);
318 static_cast<FwAssertArgType>(portNum)
321 this->m_Time_OutputPort[portNum].
addCallPort(port);
332 static_cast<FwAssertArgType>(portNum)
350 static_cast<FwAssertArgType>(portNum)
353 this->m_allocate_OutputPort[portNum].
addCallPort(port);
364 static_cast<FwAssertArgType>(portNum)
367 this->m_deallocate_OutputPort[portNum].
addCallPort(port);
378 static_cast<FwAssertArgType>(portNum)
381 this->m_ready_OutputPort[portNum].
addCallPort(port);
392 static_cast<FwAssertArgType>(portNum)
395 this->m_recv_OutputPort[portNum].
addCallPort(port);
406 static_cast<FwAssertArgType>(portNum)
409 this->m_sendReturnOut_OutputPort[portNum].
addCallPort(port);
412 #if FW_PORT_SERIALIZATION 421 Fw::InputSerializePort* port
426 static_cast<FwAssertArgType>(portNum)
429 this->m_Log_OutputPort[portNum].registerSerialPort(port);
432 #if FW_ENABLE_TEXT_LOGGING == 1 434 void LinuxUartDriverComponentBase ::
435 set_LogText_OutputPort(
437 Fw::InputSerializePort* port
441 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
442 static_cast<FwAssertArgType>(portNum)
445 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
453 Fw::InputSerializePort* port
458 static_cast<FwAssertArgType>(portNum)
461 this->m_Time_OutputPort[portNum].registerSerialPort(port);
467 Fw::InputSerializePort* port
472 static_cast<FwAssertArgType>(portNum)
475 this->m_Tlm_OutputPort[portNum].registerSerialPort(port);
480 #if FW_PORT_SERIALIZATION 489 Fw::InputSerializePort* port
494 static_cast<FwAssertArgType>(portNum)
497 this->m_deallocate_OutputPort[portNum].registerSerialPort(port);
503 Fw::InputSerializePort* port
508 static_cast<FwAssertArgType>(portNum)
511 this->m_ready_OutputPort[portNum].registerSerialPort(port);
517 Fw::InputSerializePort* port
522 static_cast<FwAssertArgType>(portNum)
525 this->m_recv_OutputPort[portNum].registerSerialPort(port);
531 Fw::InputSerializePort* port
536 static_cast<FwAssertArgType>(portNum)
539 this->m_sendReturnOut_OutputPort[portNum].registerSerialPort(port);
550 Fw::PassiveComponentBase(compName)
552 this->m_WriteErrorThrottle = 0;
553 this->m_ReadErrorThrottle = 0;
554 this->m_NoBuffersThrottle = 0;
589 #if FW_ENABLE_TEXT_LOGGING == 1 592 getNum_LogText_OutputPorts()
const 654 static_cast<FwAssertArgType>(portNum)
657 return this->m_Log_OutputPort[portNum].
isConnected();
660 #if FW_ENABLE_TEXT_LOGGING == 1 662 bool LinuxUartDriverComponentBase ::
663 isConnected_LogText_OutputPort(
FwIndexType portNum)
666 (0 <= portNum) && (portNum < this->getNum_LogText_OutputPorts()),
667 static_cast<FwAssertArgType>(portNum)
670 return this->m_LogText_OutputPort[portNum].isConnected();
680 static_cast<FwAssertArgType>(portNum)
683 return this->m_Time_OutputPort[portNum].
isConnected();
691 static_cast<FwAssertArgType>(portNum)
694 return this->m_Tlm_OutputPort[portNum].
isConnected();
706 static_cast<FwAssertArgType>(portNum)
709 return this->m_allocate_OutputPort[portNum].
isConnected();
717 static_cast<FwAssertArgType>(portNum)
720 return this->m_deallocate_OutputPort[portNum].
isConnected();
728 static_cast<FwAssertArgType>(portNum)
731 return this->m_ready_OutputPort[portNum].
isConnected();
739 static_cast<FwAssertArgType>(portNum)
742 return this->m_recv_OutputPort[portNum].
isConnected();
750 static_cast<FwAssertArgType>(portNum)
753 return this->m_sendReturnOut_OutputPort[portNum].
isConnected();
771 static_cast<FwAssertArgType>(portNum)
796 static_cast<FwAssertArgType>(portNum)
824 static_cast<FwAssertArgType>(portNum)
828 this->m_allocate_OutputPort[portNum].isConnected(),
829 static_cast<FwAssertArgType>(portNum)
831 return this->m_allocate_OutputPort[portNum].
invoke(
844 static_cast<FwAssertArgType>(portNum)
848 this->m_deallocate_OutputPort[portNum].isConnected(),
849 static_cast<FwAssertArgType>(portNum)
851 this->m_deallocate_OutputPort[portNum].
invoke(
861 static_cast<FwAssertArgType>(portNum)
865 this->m_ready_OutputPort[portNum].isConnected(),
866 static_cast<FwAssertArgType>(portNum)
868 this->m_ready_OutputPort[portNum].
invoke();
880 static_cast<FwAssertArgType>(portNum)
884 this->m_recv_OutputPort[portNum].isConnected(),
885 static_cast<FwAssertArgType>(portNum)
887 this->m_recv_OutputPort[portNum].
invoke(
902 static_cast<FwAssertArgType>(portNum)
906 this->m_sendReturnOut_OutputPort[portNum].isConnected(),
907 static_cast<FwAssertArgType>(portNum)
909 this->m_sendReturnOut_OutputPort[portNum].
invoke(
928 if (this->m_Time_OutputPort[0].isConnected()) {
929 this->m_Time_OutputPort[0].
invoke(_logTime);
937 if (this->m_Log_OutputPort[0].isConnected()) {
941 #if FW_AMPCS_COMPATIBLE 943 _status = _logBuff.
serialize(static_cast<U8>(3));
946 static_cast<FwAssertArgType>(_status)
953 static_cast<FwAssertArgType>(_status)
956 #if FW_AMPCS_COMPATIBLE 959 static_cast<U8>(
sizeof(I32))
963 static_cast<FwAssertArgType>(_status)
969 static_cast<FwAssertArgType>(_status)
975 static_cast<FwAssertArgType>(_status)
978 this->m_Log_OutputPort[0].
invoke(
987 #if FW_ENABLE_TEXT_LOGGING 988 if (this->m_LogText_OutputPort[0].isConnected()) {
989 #if FW_OBJECT_NAMES == 1 990 const char* _formatString =
991 "(%s) %s: Error opening UART device %s: %" PRIi32
" %s";
993 const char* _formatString =
994 "%s: Error opening UART device %s: %" PRIi32
" %s";
1001 this->m_objName.toChar(),
1009 this->m_LogText_OutputPort[0].invoke(
1027 if (this->m_Time_OutputPort[0].isConnected()) {
1028 this->m_Time_OutputPort[0].
invoke(_logTime);
1036 if (this->m_Log_OutputPort[0].isConnected()) {
1040 #if FW_AMPCS_COMPATIBLE 1042 _status = _logBuff.
serialize(static_cast<U8>(2));
1045 static_cast<FwAssertArgType>(_status)
1052 static_cast<FwAssertArgType>(_status)
1055 #if FW_AMPCS_COMPATIBLE 1058 static_cast<U8>(
sizeof(I32))
1062 static_cast<FwAssertArgType>(_status)
1068 static_cast<FwAssertArgType>(_status)
1071 this->m_Log_OutputPort[0].
invoke(
1080 #if FW_ENABLE_TEXT_LOGGING 1081 if (this->m_LogText_OutputPort[0].isConnected()) {
1082 #if FW_OBJECT_NAMES == 1 1083 const char* _formatString =
1084 "(%s) %s: Error configuring UART device %s: %" PRIi32
"";
1086 const char* _formatString =
1087 "%s: Error configuring UART device %s: %" PRIi32
"";
1094 this->m_objName.toChar(),
1101 this->m_LogText_OutputPort[0].invoke(
1122 (void) this->m_WriteErrorThrottle.fetch_add(1);
1127 if (this->m_Time_OutputPort[0].isConnected()) {
1128 this->m_Time_OutputPort[0].
invoke(_logTime);
1136 if (this->m_Log_OutputPort[0].isConnected()) {
1140 #if FW_AMPCS_COMPATIBLE 1142 _status = _logBuff.
serialize(static_cast<U8>(2));
1145 static_cast<FwAssertArgType>(_status)
1152 static_cast<FwAssertArgType>(_status)
1155 #if FW_AMPCS_COMPATIBLE 1158 static_cast<U8>(
sizeof(I32))
1162 static_cast<FwAssertArgType>(_status)
1168 static_cast<FwAssertArgType>(_status)
1171 this->m_Log_OutputPort[0].
invoke(
1180 #if FW_ENABLE_TEXT_LOGGING 1181 if (this->m_LogText_OutputPort[0].isConnected()) {
1182 #if FW_OBJECT_NAMES == 1 1183 const char* _formatString =
1184 "(%s) %s: Error writing UART device %s: %" PRIi32
"";
1186 const char* _formatString =
1187 "%s: Error writing UART device %s: %" PRIi32
"";
1194 this->m_objName.toChar(),
1201 this->m_LogText_OutputPort[0].invoke(
1222 (void) this->m_ReadErrorThrottle.fetch_add(1);
1227 if (this->m_Time_OutputPort[0].isConnected()) {
1228 this->m_Time_OutputPort[0].
invoke(_logTime);
1236 if (this->m_Log_OutputPort[0].isConnected()) {
1240 #if FW_AMPCS_COMPATIBLE 1242 _status = _logBuff.
serialize(static_cast<U8>(2));
1245 static_cast<FwAssertArgType>(_status)
1252 static_cast<FwAssertArgType>(_status)
1255 #if FW_AMPCS_COMPATIBLE 1258 static_cast<U8>(
sizeof(I32))
1262 static_cast<FwAssertArgType>(_status)
1268 static_cast<FwAssertArgType>(_status)
1271 this->m_Log_OutputPort[0].
invoke(
1280 #if FW_ENABLE_TEXT_LOGGING 1281 if (this->m_LogText_OutputPort[0].isConnected()) {
1282 #if FW_OBJECT_NAMES == 1 1283 const char* _formatString =
1284 "(%s) %s: Error reading UART device %s: %" PRIi32
"";
1286 const char* _formatString =
1287 "%s: Error reading UART device %s: %" PRIi32
"";
1294 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 1331 _status = _logBuff.
serialize(static_cast<U8>(1));
1334 static_cast<FwAssertArgType>(_status)
1341 static_cast<FwAssertArgType>(_status)
1344 this->m_Log_OutputPort[0].
invoke(
1353 #if FW_ENABLE_TEXT_LOGGING 1354 if (this->m_LogText_OutputPort[0].isConnected()) {
1355 #if FW_OBJECT_NAMES == 1 1356 const char* _formatString =
1357 "(%s) %s: UART Device %s configured";
1359 const char* _formatString =
1360 "%s: UART Device %s configured";
1367 this->m_objName.toChar(),
1373 this->m_LogText_OutputPort[0].invoke(
1391 (void) this->m_NoBuffersThrottle.fetch_add(1);
1396 if (this->m_Time_OutputPort[0].isConnected()) {
1397 this->m_Time_OutputPort[0].
invoke(_logTime);
1405 if (this->m_Log_OutputPort[0].isConnected()) {
1409 #if FW_AMPCS_COMPATIBLE 1411 _status = _logBuff.
serialize(static_cast<U8>(1));
1414 static_cast<FwAssertArgType>(_status)
1421 static_cast<FwAssertArgType>(_status)
1424 this->m_Log_OutputPort[0].
invoke(
1433 #if FW_ENABLE_TEXT_LOGGING 1434 if (this->m_LogText_OutputPort[0].isConnected()) {
1435 #if FW_OBJECT_NAMES == 1 1436 const char* _formatString =
1437 "(%s) %s: UART Device %s ran out of buffers";
1439 const char* _formatString =
1440 "%s: UART Device %s ran out of buffers";
1447 this->m_objName.toChar(),
1453 this->m_LogText_OutputPort[0].invoke(
1472 if (this->m_Time_OutputPort[0].isConnected()) {
1473 this->m_Time_OutputPort[0].
invoke(_logTime);
1481 if (this->m_Log_OutputPort[0].isConnected()) {
1485 #if FW_AMPCS_COMPATIBLE 1487 _status = _logBuff.
serialize(static_cast<U8>(3));
1490 static_cast<FwAssertArgType>(_status)
1497 static_cast<FwAssertArgType>(_status)
1500 #if FW_AMPCS_COMPATIBLE 1503 static_cast<U8>(
sizeof(U32))
1507 static_cast<FwAssertArgType>(_status)
1513 static_cast<FwAssertArgType>(_status)
1516 #if FW_AMPCS_COMPATIBLE 1519 static_cast<U8>(
sizeof(U32))
1523 static_cast<FwAssertArgType>(_status)
1529 static_cast<FwAssertArgType>(_status)
1532 this->m_Log_OutputPort[0].
invoke(
1541 #if FW_ENABLE_TEXT_LOGGING 1542 if (this->m_LogText_OutputPort[0].isConnected()) {
1543 #if FW_OBJECT_NAMES == 1 1544 const char* _formatString =
1545 "(%s) %s: UART Device %s target buffer too small. Size: %" PRIu32
" Needs: %" PRIu32
"";
1547 const char* _formatString =
1548 "%s: UART Device %s target buffer too small. Size: %" PRIu32
" Needs: %" PRIu32
"";
1555 this->m_objName.toChar(),
1563 this->m_LogText_OutputPort[0].invoke(
1581 this->m_WriteErrorThrottle = 0;
1588 this->m_ReadErrorThrottle = 0;
1595 this->m_NoBuffersThrottle = 0;
1608 if (this->m_Tlm_OutputPort[0].isConnected()) {
1610 this->m_Time_OutputPort[0].isConnected() &&
1613 this->m_Time_OutputPort[0].
invoke(_tlmTime);
1620 static_cast<FwAssertArgType>(_stat)
1627 this->m_Tlm_OutputPort[0].
invoke(
1641 if (this->m_Tlm_OutputPort[0].isConnected()) {
1643 this->m_Time_OutputPort[0].isConnected() &&
1646 this->m_Time_OutputPort[0].
invoke(_tlmTime);
1653 static_cast<FwAssertArgType>(_stat)
1660 this->m_Tlm_OutputPort[0].
invoke(
1675 if (this->m_Time_OutputPort[0].isConnected()) {
1677 this->m_Time_OutputPort[0].
invoke(_time);
1695 this->m_guardedPortMutex.
lock();
1701 this->m_guardedPortMutex.
unLock();
1708 void LinuxUartDriverComponentBase ::
1709 m_p_recvReturnIn_in(
1723 void LinuxUartDriverComponentBase ::
1732 compPtr->send_handlerBase(
virtual void lock()
Lock the guarded mutex.
Serialization/Deserialization operation was successful.
virtual void unLock()
Unlock the guarded mutex.
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
void addCallPort(InputTimePort *callPort)
Register an input port.
void addCallPort(InputByteStreamReadyPort *callPort)
Register an input port.
void log_WARNING_HI_BufferTooSmall(const Fw::StringBase &device, U32 size, U32 needed) const
bool isConnected_Time_OutputPort(FwIndexType portNum)
void sendReturnOut_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port sendReturnOut.
void recvReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port recvReturnIn.
bool isConnected_allocate_OutputPort(FwIndexType portNum)
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
bool isConnected_sendReturnOut_OutputPort(FwIndexType portNum)
Throttle reset count for ReadError.
Fw::Buffer invoke(U32 size) const
Invoke a port interface.
FwIndexType getNum_deallocate_OutputPorts() const
virtual void recvReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port recvReturnIn.
void unLock()
unlock the mutex and assert success
Channel ID for BytesRecv.
U32 FwChanIdType
The type of a telemetry channel identifier.
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
FwIndexType getNum_send_InputPorts() const
LinuxUartDriverComponentBase(const char *compName="")
Construct LinuxUartDriverComponentBase object.
void init()
Initialization function.
Auto-generated base for LinuxUartDriver component.
Throttle reset count for WriteError.
void log_WARNING_HI_WriteError(const Fw::StringBase &device, I32 error)
void addCallPort(InputTlmPort *callPort)
Register an input port.
void set_sendReturnOut_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to sendReturnOut[portNum].
virtual void send_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port send.
void set_ready_OutputPort(FwIndexType portNum, Drv::InputByteStreamReadyPort *port)
Connect port to ready[portNum].
void init()
Object initializer.
void log_WARNING_HI_ReadError(const Fw::StringBase &device, I32 error)
U32 FwEventIdType
The type of an event identifier.
SerializeStatus
forward declaration for string
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
void addCallPort(InputByteStreamDataPort *callPort)
Register an input port.
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
Fw::InputBufferSendPort * get_recvReturnIn_InputPort(FwIndexType portNum)
Status returned by the send call.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
void init()
Initialization function.
FwIndexType getNum_recv_OutputPorts() const
FwIndexType getNum_ready_OutputPorts() const
#define FW_MIN(a, b)
MIN macro.
void invoke(Fw::Buffer &buffer, const Drv::ByteStreamStatus &status) const
Invoke a port interface.
void tlmWrite_BytesRecv(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port interface.
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
void invoke(Fw::Time &time) const
Invoke a port interface.
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void recv_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port recv.
void log_WARNING_HI_WriteError_ThrottleClear()
Reset throttle value for WriteError.
const char * toChar() const
Channel ID for BytesSent.
void log_WARNING_HI_OpenError(const Fw::StringBase &device, I32 error, const Fw::StringBase &name) const
A serious but recoverable event.
bool isConnected_Log_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_PortOpened(const Fw::StringBase &device) const
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port interface.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
FwIndexType getNum_Log_OutputPorts() const
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
void log_WARNING_HI_NoBuffers(const Fw::StringBase &device)
bool isConnected_Tlm_OutputPort(FwIndexType portNum)
void tlmWrite_BytesSent(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
bool isConnected_recv_OutputPort(FwIndexType portNum)
Important informational events.
void init()
Initialization function.
FwIndexType getNum_sendReturnOut_OutputPorts() const
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port interface.
FwIndexType getNum_Tlm_OutputPorts() const
FwIndexType getNum_allocate_OutputPorts() const
void init()
Initialization function.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
No time base has been established.
PlatformIndexType FwIndexType
void invoke() const
Invoke a port interface.
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
void addCallPort(InputLogPort *callPort)
Register an input port.
Fw::InputBufferSendPort * get_send_InputPort(FwIndexType portNum)
void ready_out(FwIndexType portNum)
Invoke output port ready.
void init()
Initialization function.
FwIndexType getNum_recvReturnIn_InputPorts() const
FwIndexType getNum_Time_OutputPorts() const
void set_Time_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to Time[portNum].
virtual ~LinuxUartDriverComponentBase()
Destroy LinuxUartDriverComponentBase object.
bool isConnected_ready_OutputPort(FwIndexType portNum)
virtual SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
void log_WARNING_HI_NoBuffers_ThrottleClear()
Reset throttle value for NoBuffers.
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to recv[portNum].
Throttle reset count for NoBuffers.
void init()
Initialization function.
virtual const CHAR * toChar() const =0
void lock()
lock the mutex and assert success
void log_WARNING_HI_ReadError_ThrottleClear()
Reset throttle value for ReadError.
void send_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port send.
void log_WARNING_HI_ConfigError(const Fw::StringBase &device, I32 error) const