7 #ifndef Drv_LinuxUartDriverComponentAc_HPP 8 #define Drv_LinuxUartDriverComponentAc_HPP 19 #if FW_ENABLE_TEXT_LOGGING == 1 131 #if FW_ENABLE_TEXT_LOGGING == 1 134 void set_LogText_OutputPort(
183 #if FW_PORT_SERIALIZATION 194 Fw::InputSerializePort* port
197 #if FW_ENABLE_TEXT_LOGGING == 1 200 void set_LogText_OutputPort(
202 Fw::InputSerializePort* port
210 Fw::InputSerializePort* port
216 Fw::InputSerializePort* port
221 #if FW_PORT_SERIALIZATION 232 Fw::InputSerializePort* port
238 Fw::InputSerializePort* port
244 Fw::InputSerializePort* port
257 const char* compName =
"" 285 #if FW_ENABLE_TEXT_LOGGING == 1 343 #if FW_ENABLE_TEXT_LOGGING == 1 348 bool isConnected_LogText_OutputPort(
614 #if FW_ENABLE_TEXT_LOGGING == 1 virtual void lock()
Lock the guarded mutex.
virtual void unLock()
Unlock the guarded mutex.
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
void log_WARNING_HI_BufferTooSmall(const Fw::StringBase &device, U32 size, U32 needed) const
bool isConnected_Time_OutputPort(FwIndexType portNum)
bool isConnected_allocate_OutputPort(FwIndexType portNum)
Drv::InputByteStreamSendPort * get_send_InputPort(FwIndexType portNum)
void set_Tlm_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to Tlm[portNum].
Status associated with the received data.
FwIndexType getNum_deallocate_OutputPorts() const
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
FwIndexType getNum_send_InputPorts() const
LinuxUartDriverComponentBase(const char *compName="")
Construct LinuxUartDriverComponentBase object.
Auto-generated base for LinuxUartDriver component.
PlatformIndexType FwIndexType
void log_WARNING_HI_WriteError(const Fw::StringBase &device, I32 error)
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)
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
Channel ID for BytesSent.
FwIndexType getNum_recv_OutputPorts() const
FwIndexType getNum_ready_OutputPorts() const
void tlmWrite_BytesRecv(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void set_Log_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to Log[portNum].
void log_WARNING_HI_WriteError_ThrottleClear()
Reset throttle value for WriteError.
void log_WARNING_HI_OpenError(const Fw::StringBase &device, I32 error, const Fw::StringBase &name) const
Channel ID for BytesRecv.
Drv::SendStatus send_handlerBase(FwIndexType portNum, Fw::Buffer &sendBuffer)
Handler base-class function for input port send.
bool isConnected_Log_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_PortOpened(const Fw::StringBase &device) const
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
FwIndexType getNum_Log_OutputPorts() const
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamRecvPort *port)
Connect port to recv[portNum].
void log_WARNING_HI_NoBuffers(const Fw::StringBase &device)
C++-compatible configuration header for fprime configuration.
bool isConnected_Tlm_OutputPort(FwIndexType portNum)
void tlmWrite_BytesSent(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void recv_out(FwIndexType portNum, Fw::Buffer &recvBuffer, const Drv::RecvStatus &recvStatus)
Invoke output port recv.
Status returned by the send call.
bool isConnected_recv_OutputPort(FwIndexType portNum)
FwIndexType getNum_Tlm_OutputPorts() const
FwIndexType getNum_allocate_OutputPorts() const
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
void ready_out(FwIndexType portNum)
Invoke output port ready.
FwIndexType getNum_Time_OutputPorts() const
Throttle reset count for WriteError.
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)
void log_WARNING_HI_NoBuffers_ThrottleClear()
Reset throttle value for NoBuffers.
Throttle reset count for NoBuffers.
virtual Drv::SendStatus send_handler(FwIndexType portNum, Fw::Buffer &sendBuffer)=0
Handler for input port send.
Throttle reset count for ReadError.
friend class LinuxUartDriverComponentBaseFriend
Friend class for white-box testing.
void log_WARNING_HI_ReadError_ThrottleClear()
Reset throttle value for ReadError.
void log_WARNING_HI_ConfigError(const Fw::StringBase &device, I32 error) const