7 #ifndef Svc_Ccsds_TcDeframerComponentAc_HPP 8 #define Svc_Ccsds_TcDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 131 #if FW_ENABLE_TEXT_LOGGING == 1 134 void set_logTextOut_OutputPort(
189 #if FW_PORT_SERIALIZATION 200 Fw::InputSerializePort* port
203 #if FW_ENABLE_TEXT_LOGGING == 1 206 void set_logTextOut_OutputPort(
208 Fw::InputSerializePort* port
216 Fw::InputSerializePort* port
222 Fw::InputSerializePort* port
228 Fw::InputSerializePort* port
233 #if FW_PORT_SERIALIZATION 244 Fw::InputSerializePort* port
250 Fw::InputSerializePort* port
256 Fw::InputSerializePort* port
269 const char* compName =
"" 302 #if FW_ENABLE_TEXT_LOGGING == 1 365 #if FW_ENABLE_TEXT_LOGGING == 1 370 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
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
FwIndexType getNum_dataIn_InputPorts() const
Deframing received an invalid frame length.
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum)
Deframing received an invalid VCID.
bool isConnected_errorNotify_OutputPort(FwIndexType portNum)
FwIndexType getNum_logOut_OutputPorts() const
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
Enum representing an error during framing/deframing in the CCSDS protocols.
PlatformSizeType FwSizeType
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum)
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
FwIndexType getNum_dataReturnOut_OutputPorts() const
FwIndexType getNum_errorNotify_OutputPorts() const
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
bool isConnected_logOut_OutputPort(FwIndexType portNum)
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_timeCaller_OutputPorts() const
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
FwIndexType getNum_prmGetOut_OutputPorts() const
virtual void lock()
Lock the guarded mutex.
void init()
Object initializer.
void log_ACTIVITY_LO_InvalidVcId(U16 transmitted, U16 configured) const
Deframing received an invalid SCID.
void log_WARNING_HI_InvalidCrc(U16 transmitted, U16 computed) const
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
bool isConnected_dataOut_OutputPort(FwIndexType portNum)
virtual ~TcDeframerComponentBase()
Destroy TcDeframerComponentBase object.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
TcDeframerComponentBase(const char *compName="")
Construct TcDeframerComponentBase object.
FwIndexType getNum_prmSetOut_OutputPorts() const
friend class TcDeframerTester
Friend class tester implementation to support white-box testing.
Deframing received an invalid checksum.
void set_errorNotify_OutputPort(FwIndexType portNum, Svc::Ccsds::InputErrorNotifyPort *port)
Connect port to errorNotify[portNum].
void log_WARNING_LO_InvalidSpacecraftId(U16 transmitted, U16 configured) const
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode)
Invoke output port errorNotify.
PlatformIndexType FwIndexType
void set_dataOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataOut[portNum].
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataIn.
friend class TcDeframerTesterBase
Friend class tester to support autocoded test harness.
Type used to pass context info between components during framing/deframing.
FwIndexType getNum_dataOut_OutputPorts() const
RateGroupDivider component implementation.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
FwIndexType getNum_tlmOut_OutputPorts() const
Svc::InputComDataWithContextPort * get_dataReturnIn_InputPort(FwIndexType portNum)
virtual void unLock()
Unlock the guarded mutex.
Auto-generated base for TcDeframer component.
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
FwIndexType getNum_dataReturnIn_InputPorts() const
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_InvalidFrameLength(U16 transmitted, FwSizeType actual) const