7 #ifndef Svc_Ccsds_SdlsSaRouterComponentAc_HPP 8 #define Svc_Ccsds_SdlsSaRouterComponentAc_HPP 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 99 #if !FW_DIRECT_PORT_CALLS 137 #if !FW_DIRECT_PORT_CALLS 151 #if FW_ENABLE_TEXT_LOGGING == 1 154 void set_logTextOut_OutputPort(
169 #if !FW_DIRECT_PORT_CALLS 203 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 214 Fw::InputSerializePort* port
217 #if FW_ENABLE_TEXT_LOGGING == 1 220 void set_logTextOut_OutputPort(
222 Fw::InputSerializePort* port
230 Fw::InputSerializePort* port
235 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 246 Fw::InputSerializePort* port
252 Fw::InputSerializePort* port
258 Fw::InputSerializePort* port
264 Fw::InputSerializePort* port
277 const char* compName =
"" 330 #if FW_ENABLE_TEXT_LOGGING == 1 335 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
395 #if FW_ENABLE_TEXT_LOGGING == 1 400 bool isConnected_logTextOut_OutputPort(
456 U16 securityAssociationIndex,
483 #if FW_DIRECT_PORT_CALLS 498 U16 securityAssociationIndex,
549 U16 securityAssociationIndex,
610 static void m_p_dataIn_in(
613 U16 securityAssociationIndex,
619 static void m_p_dataReturnIn_in(
627 static void m_p_saBufferReturnIn_in(
635 static void m_p_saDataIn_in(
658 #if FW_ENABLE_TEXT_LOGGING 677 #if !FW_DIRECT_PORT_CALLS 699 #if !FW_DIRECT_PORT_CALLS 710 #if FW_ENABLE_TEXT_LOGGING == 1 722 #if !FW_DIRECT_PORT_CALLS Svc::InputComDataWithContextPort * get_saBufferReturnIn_InputPort(FwIndexType portNum)
void set_saDataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to saDataReturnOut[portNum].
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
void log_WARNING_HI_UntrackedBufferReturned() const
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
friend class SdlsSaRouterTesterBase
Friend class tester to support autocoded test harness.
SdlsSaRouterComponentBase(const char *compName="")
Construct SdlsSaRouterComponentBase object.
Link-time delegating Mutex implementation.
void bufferReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port bufferReturnOut.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
bool isConnected_saDataOut_OutputPort(FwIndexType portNum) const
bool isConnected_saDataReturnOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_saBufferReturnIn_InputPorts()
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void init()
Object initializer.
Status of an SDLS (Space Data Link Security) encryption/decryption request.
virtual void lock()
Lock the guarded mutex.
void log_WARNING_HI_TrackingTableFull() const
void saDataOut_out(FwIndexType portNum, U16 securityAssociationIndex, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port saDataOut.
FwIdType FwEventIdType
The type of an event identifier.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
A returned buffer was not found in the tracking table; it was returned upstream.
void dataOut_out(FwIndexType portNum, const Svc::Ccsds::SdlsStatus &status, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::Ccsds::InputCcsdsSdlsDataPort *port)
Connect port to dataOut[portNum].
virtual void dataIn_handler(FwIndexType portNum, U16 securityAssociationIndex, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
virtual void unLock()
Unlock the guarded mutex.
void saDataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port saDataReturnOut.
virtual void saBufferReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port saBufferReturnIn.
Enum representing event severity.
Svc::Ccsds::InputCcsdsSdlsEncryptionPort * get_dataIn_InputPort(FwIndexType portNum)
The outstanding-buffer tracking table is full; the data was dropped and its buffer returned...
bool isConnected_bufferReturnOut_OutputPort(FwIndexType portNum) const
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_dataIn_InputPorts()
static constexpr FwIndexType getNum_bufferReturnOut_OutputPorts()
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void dataIn_handlerBase(FwIndexType portNum, U16 securityAssociationIndex, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
virtual void saDataIn_handler(FwIndexType portNum, const Svc::Ccsds::SdlsStatus &status, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port saDataIn.
Type used to pass context info between components during framing/deframing.
void saDataIn_handlerBase(FwIndexType portNum, const Svc::Ccsds::SdlsStatus &status, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port saDataIn.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_saDataReturnOut_OutputPorts()
Auto-generated base for SdlsSaRouter component.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
friend class SdlsSaRouterTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void set_bufferReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to bufferReturnOut[portNum].
static constexpr FwIndexType getNum_saDataOut_OutputPorts()
Svc::Ccsds::InputCcsdsSdlsDataPort * get_saDataIn_InputPort(FwIndexType portNum)
void saBufferReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port saBufferReturnIn.
virtual ~SdlsSaRouterComponentBase()
Destroy SdlsSaRouterComponentBase object.
static constexpr FwIndexType getNum_saDataIn_InputPorts()
void set_saDataOut_OutputPort(FwIndexType portNum, Svc::Ccsds::InputCcsdsSdlsEncryptionPort *port)
Connect port to saDataOut[portNum].
static constexpr FwIndexType getNum_logOut_OutputPorts()
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const