7 #ifndef Svc_Ccsds_SpacePacketFramerComponentAc_HPP 8 #define Svc_Ccsds_SpacePacketFramerComponentAc_HPP 15 #if FW_ENABLE_TEXT_LOGGING == 1 132 #if FW_ENABLE_TEXT_LOGGING == 1 135 void set_logTextOut_OutputPort(
208 #if FW_PORT_SERIALIZATION 219 Fw::InputSerializePort* port
222 #if FW_ENABLE_TEXT_LOGGING == 1 225 void set_logTextOut_OutputPort(
227 Fw::InputSerializePort* port
235 Fw::InputSerializePort* port
241 Fw::InputSerializePort* port
247 Fw::InputSerializePort* port
252 #if FW_PORT_SERIALIZATION 263 Fw::InputSerializePort* port
269 Fw::InputSerializePort* port
275 Fw::InputSerializePort* port
281 Fw::InputSerializePort* port
294 const char* compName =
"" 332 #if FW_ENABLE_TEXT_LOGGING == 1 410 #if FW_ENABLE_TEXT_LOGGING == 1 415 bool isConnected_logTextOut_OutputPort(
614 static void m_p_comStatusIn_in(
621 static void m_p_dataIn_in(
629 static void m_p_dataReturnIn_in(
660 #if FW_ENABLE_TEXT_LOGGING == 1 bool isConnected_getApidSeqCount_OutputPort(FwIndexType portNum)
bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum)
SpacePacketFramerComponentBase(const char *compName="")
Construct SpacePacketFramerComponentBase object.
FwIndexType getNum_bufferAllocate_OutputPorts() const
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
PlatformSizeType FwSizeType
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
FwIndexType getNum_dataReturnOut_OutputPorts() const
FwIndexType getNum_dataReturnIn_InputPorts() const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
void comStatusIn_handlerBase(FwIndexType portNum, Fw::Success &condition)
Handler base-class function for input port comStatusIn.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.
Fw::InputSuccessConditionPort * get_comStatusIn_InputPort(FwIndexType portNum)
void init()
Object initializer.
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
void set_getApidSeqCount_OutputPort(FwIndexType portNum, Svc::Ccsds::InputApidSequenceCountPort *port)
Connect port to getApidSeqCount[portNum].
FwIndexType getNum_bufferDeallocate_OutputPorts() const
friend class SpacePacketFramerTester
Friend class tester implementation to support white-box testing.
U16 getApidSeqCount_out(FwIndexType portNum, const ComCfg::APID &apid, U16 sequenceCount)
Invoke output port getApidSeqCount.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
FwIndexType getNum_comStatusIn_InputPorts() const
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
FwIndexType getNum_timeCaller_OutputPorts() const
Auto-generated base for SpacePacketFramer component.
virtual void comStatusIn_handler(FwIndexType portNum, Fw::Success &condition)=0
Handler for input port comStatusIn.
friend class SpacePacketFramerTesterBase
Friend class tester to support autocoded test harness.
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_tlmOut_OutputPorts() const
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
bool isConnected_logOut_OutputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
Type used to pass context info between components during framing/deframing.
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
RateGroupDivider component implementation.
FwIndexType getNum_comStatusOut_OutputPorts() const
FwIndexType getNum_getApidSeqCount_OutputPorts() const
FwIndexType getNum_dataIn_InputPorts() const
FwIndexType getNum_prmSetOut_OutputPorts() const
FwIndexType getNum_dataOut_OutputPorts() const
virtual ~SpacePacketFramerComponentBase()
Destroy SpacePacketFramerComponentBase object.
void set_comStatusOut_OutputPort(FwIndexType portNum, Fw::InputSuccessConditionPort *port)
Connect port to comStatusOut[portNum].
FwIndexType getNum_logOut_OutputPorts() const
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum)
FwIndexType getNum_prmGetOut_OutputPorts() const
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size)
Invoke output port bufferAllocate.