7 #ifndef Svc_Ccsds_CcsdsSdlsDeframerComponentAc_HPP 8 #define Svc_Ccsds_CcsdsSdlsDeframerComponentAc_HPP 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 105 #if !FW_DIRECT_PORT_CALLS 143 #if !FW_DIRECT_PORT_CALLS 157 #if FW_ENABLE_TEXT_LOGGING == 1 160 void set_logTextOut_OutputPort(
175 #if !FW_DIRECT_PORT_CALLS 215 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 226 Fw::InputSerializePort* port
229 #if FW_ENABLE_TEXT_LOGGING == 1 232 void set_logTextOut_OutputPort(
234 Fw::InputSerializePort* port
242 Fw::InputSerializePort* port
247 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 258 Fw::InputSerializePort* port
264 Fw::InputSerializePort* port
270 Fw::InputSerializePort* port
276 Fw::InputSerializePort* port
282 Fw::InputSerializePort* port
295 const char* compName =
"" 348 #if FW_ENABLE_TEXT_LOGGING == 1 353 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
420 #if FW_ENABLE_TEXT_LOGGING == 1 425 bool isConnected_logTextOut_OutputPort(
514 #if FW_DIRECT_PORT_CALLS 578 U16 securityAssociationIndex,
645 static void m_p_bufferReturnIn_in(
653 static void m_p_dataIn_in(
661 static void m_p_dataReturnIn_in(
669 static void m_p_decryptIn_in(
692 #if FW_ENABLE_TEXT_LOGGING 711 #if !FW_DIRECT_PORT_CALLS 733 #if !FW_DIRECT_PORT_CALLS 744 #if FW_ENABLE_TEXT_LOGGING == 1 756 #if !FW_DIRECT_PORT_CALLS static constexpr FwIndexType getNum_decryptReturnOut_OutputPorts()
bool isConnected_errorNotify_OutputPort(FwIndexType portNum) const
bool isConnected_decryptOut_OutputPort(FwIndexType portNum) const
friend class CcsdsSdlsDeframerTesterBase
Friend class tester to support autocoded test harness.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
virtual void bufferReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port bufferReturnIn.
virtual void lock()
Lock the guarded mutex.
virtual void decryptIn_handler(FwIndexType portNum, const Svc::Ccsds::SdlsStatus &status, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port decryptIn.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_decryptOut_OutputPort(FwIndexType portNum, Svc::Ccsds::InputCcsdsSdlsEncryptionPort *port)
Connect port to decryptOut[portNum].
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
Link-time delegating Mutex implementation.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_logOut_OutputPorts()
static constexpr FwIndexType getNum_errorNotify_OutputPorts()
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
void decryptIn_handlerBase(FwIndexType portNum, const Svc::Ccsds::SdlsStatus &status, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port decryptIn.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void decryptReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port decryptReturnOut.
void set_decryptReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to decryptReturnOut[portNum].
Auto-generated base for CcsdsSdlsDeframer component.
void init()
Object initializer.
Status of an SDLS (Space Data Link Security) encryption/decryption request.
void decryptOut_out(FwIndexType portNum, U16 securityAssociationIndex, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port decryptOut.
FwIdType FwEventIdType
The type of an event identifier.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_decryptIn_InputPorts()
Svc::InputComDataWithContextPort * get_bufferReturnIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
virtual ~CcsdsSdlsDeframerComponentBase()
Destroy CcsdsSdlsDeframerComponentBase object.
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode) const
Invoke output port errorNotify.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void log_WARNING_HI_InsufficientLength() const
Enum representing event severity.
void set_errorNotify_OutputPort(FwIndexType portNum, Svc::Ccsds::InputErrorNotifyPort *port)
Connect port to errorNotify[portNum].
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
static constexpr FwIndexType getNum_decryptOut_OutputPorts()
PlatformIndexType FwIndexType
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
Type used to pass context info between components during framing/deframing.
static constexpr FwIndexType getNum_bufferReturnIn_InputPorts()
RateGroupDivider component implementation.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
CcsdsSdlsDeframerComponentBase(const char *compName="")
Construct CcsdsSdlsDeframerComponentBase object.
void bufferReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port bufferReturnIn.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
virtual void unLock()
Unlock the guarded mutex.
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
void log_WARNING_HI_DecryptionFailed(const Svc::Ccsds::SdlsStatus &status) const
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
bool isConnected_decryptReturnOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_dataOut_OutputPorts()
Svc::Ccsds::InputCcsdsSdlsDataPort * get_decryptIn_InputPort(FwIndexType portNum)
Event raised when the frame is not long enough for the security association index of 16bits...
friend class CcsdsSdlsDeframerTester
Friend class tester implementation to support white-box testing.
Event raised when the decryption helper fails.
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()