7 #ifndef Svc_CCSDS_SpacePacketDeframerComponentAc_HPP 8 #define Svc_CCSDS_SpacePacketDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 127 #if FW_ENABLE_TEXT_LOGGING == 1 130 void set_logTextOut_OutputPort(
185 #if FW_PORT_SERIALIZATION 196 Fw::InputSerializePort* port
199 #if FW_ENABLE_TEXT_LOGGING == 1 202 void set_logTextOut_OutputPort(
204 Fw::InputSerializePort* port
212 Fw::InputSerializePort* port
218 Fw::InputSerializePort* port
224 Fw::InputSerializePort* port
229 #if FW_PORT_SERIALIZATION 240 Fw::InputSerializePort* port
246 Fw::InputSerializePort* port
259 const char* compName =
"" 292 #if FW_ENABLE_TEXT_LOGGING == 1 355 #if FW_ENABLE_TEXT_LOGGING == 1 360 bool isConnected_logTextOut_OutputPort(
537 static void m_p_dataIn_in(
545 static void m_p_dataReturnIn_in(
573 #if FW_ENABLE_TEXT_LOGGING == 1
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
Auto-generated base for SpacePacketDeframer component.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_tlmOut_OutputPorts() const
virtual void lock()
Lock the guarded mutex.
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
bool isConnected_validateApidSeqCount_OutputPort(FwIndexType portNum)
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
void init()
Object initializer.
U16 validateApidSeqCount_out(FwIndexType portNum, const ComCfg::APID &apid, U16 sequenceCount)
Invoke output port validateApidSeqCount.
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_prmGetOut_OutputPorts() const
FwIndexType getNum_timeCaller_OutputPorts() const
FwIndexType getNum_validateApidSeqCount_OutputPorts() const
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void log_WARNING_HI_InvalidLength(U16 transmitted, U32 actual) const
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_prmSetOut_OutputPorts() const
friend class SpacePacketDeframerTester
Friend class tester implementation to support white-box testing.
virtual void unLock()
Unlock the guarded mutex.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
friend class SpacePacketDeframerTesterBase
Friend class tester to support autocoded test harness.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
FwIndexType getNum_dataReturnOut_OutputPorts() const
FwIndexType getNum_dataOut_OutputPorts() const
Deframing received an invalid frame length.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataIn_InputPorts() const
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
SpacePacketDeframerComponentBase(const char *compName="")
Construct SpacePacketDeframerComponentBase object.
PlatformIndexType FwIndexType
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
virtual ~SpacePacketDeframerComponentBase()
Destroy SpacePacketDeframerComponentBase object.
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
void set_validateApidSeqCount_OutputPort(FwIndexType portNum, Svc::CCSDS::InputApidSequenceCountPort *port)
Connect port to validateApidSeqCount[portNum].
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
bool isConnected_logOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dataReturnIn_InputPorts() const
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
FwIndexType getNum_logOut_OutputPorts() const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)