7 #ifndef Svc_Ccsds_SpacePacketDeframerComponentAc_HPP 8 #define Svc_Ccsds_SpacePacketDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 130 #if FW_ENABLE_TEXT_LOGGING == 1 133 void set_logTextOut_OutputPort(
194 #if FW_PORT_SERIALIZATION 205 Fw::InputSerializePort* port
208 #if FW_ENABLE_TEXT_LOGGING == 1 211 void set_logTextOut_OutputPort(
213 Fw::InputSerializePort* port
221 Fw::InputSerializePort* port
227 Fw::InputSerializePort* port
233 Fw::InputSerializePort* port
238 #if FW_PORT_SERIALIZATION 249 Fw::InputSerializePort* port
255 Fw::InputSerializePort* port
261 Fw::InputSerializePort* port
274 const char* compName =
"" 313 #if FW_ENABLE_TEXT_LOGGING == 1 318 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
399 #if FW_ENABLE_TEXT_LOGGING == 1 404 bool isConnected_logTextOut_OutputPort(
594 static void m_p_dataIn_in(
602 static void m_p_dataReturnIn_in(
630 #if FW_ENABLE_TEXT_LOGGING == 1 bool isConnected_validateApidSeqCount_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_validateApidSeqCount_OutputPorts()
Enum representing an error during framing/deframing in the CCSDS protocols.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
Deframing received an invalid frame length.
PlatformSizeType FwSizeType
void set_errorNotify_OutputPort(FwIndexType portNum, Svc::Ccsds::InputErrorNotifyPort *port)
Connect port to errorNotify[portNum].
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void log_WARNING_HI_InvalidLength(U16 transmitted, FwSizeType actual) const
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
virtual void lock()
Lock the guarded mutex.
void init()
Object initializer.
friend class SpacePacketDeframerTester
Friend class tester implementation to support white-box testing.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
SpacePacketDeframerComponentBase(const char *compName="")
Construct SpacePacketDeframerComponentBase object.
friend class SpacePacketDeframerTesterBase
Friend class tester to support autocoded test harness.
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
virtual void unLock()
Unlock the guarded mutex.
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode)
Invoke output port errorNotify.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
static constexpr FwIndexType getNum_dataIn_InputPorts()
static constexpr FwIndexType getNum_errorNotify_OutputPorts()
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
bool isConnected_logOut_OutputPort(FwIndexType portNum)
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
PlatformIndexType FwIndexType
bool isConnected_errorNotify_OutputPort(FwIndexType portNum)
Type used to pass context info between components during framing/deframing.
void set_validateApidSeqCount_OutputPort(FwIndexType portNum, Svc::Ccsds::InputApidSequenceCountPort *port)
Connect port to validateApidSeqCount[portNum].
RateGroupDivider component implementation.
Auto-generated base for SpacePacketDeframer component.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
static constexpr FwIndexType getNum_logOut_OutputPorts()
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
virtual ~SpacePacketDeframerComponentBase()
Destroy SpacePacketDeframerComponentBase object.
U16 validateApidSeqCount_out(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)
Invoke output port validateApidSeqCount.