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 =
"" 307 #if FW_ENABLE_TEXT_LOGGING == 1 375 #if FW_ENABLE_TEXT_LOGGING == 1 380 bool isConnected_logTextOut_OutputPort(
570 static void m_p_dataIn_in(
578 static void m_p_dataReturnIn_in(
606 #if FW_ENABLE_TEXT_LOGGING == 1 bool isConnected_validateApidSeqCount_OutputPort(FwIndexType portNum)
Enum representing an error during framing/deframing in the CCSDS protocols.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
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)
FwIndexType getNum_dataIn_InputPorts() const
FwIndexType getNum_prmGetOut_OutputPorts() const
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.
FwIndexType getNum_tlmOut_OutputPorts() const
FwIndexType getNum_dataReturnOut_OutputPorts() const
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
FwIndexType getNum_validateApidSeqCount_OutputPorts() const
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)
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.
FwIndexType getNum_errorNotify_OutputPorts() const
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
FwIndexType getNum_prmSetOut_OutputPorts() const
SpacePacketDeframerComponentBase(const char *compName="")
Construct SpacePacketDeframerComponentBase object.
friend class SpacePacketDeframerTesterBase
Friend class tester to support autocoded test harness.
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
virtual void unLock()
Unlock the guarded mutex.
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode)
Invoke output port errorNotify.
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)
FwIndexType getNum_dataOut_OutputPorts() const
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].
FwIndexType getNum_dataReturnIn_InputPorts() const
RateGroupDivider component implementation.
Auto-generated base for SpacePacketDeframer component.
FwIndexType getNum_logOut_OutputPorts() const
FwIndexType getNum_timeCaller_OutputPorts() const
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.
Deframing received an invalid frame length.
virtual ~SpacePacketDeframerComponentBase()
Destroy SpacePacketDeframerComponentBase object.
U16 validateApidSeqCount_out(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)
Invoke output port validateApidSeqCount.