7 #ifndef Svc_Ccsds_TcDeframerComponentAc_HPP 8 #define Svc_Ccsds_TcDeframerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 104 #if !FW_DIRECT_PORT_CALLS 128 #if !FW_DIRECT_PORT_CALLS 142 #if FW_ENABLE_TEXT_LOGGING == 1 145 void set_logTextOut_OutputPort(
178 #if !FW_DIRECT_PORT_CALLS 206 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 217 Fw::InputSerializePort* port
220 #if FW_ENABLE_TEXT_LOGGING == 1 223 void set_logTextOut_OutputPort(
225 Fw::InputSerializePort* port
233 Fw::InputSerializePort* port
239 Fw::InputSerializePort* port
245 Fw::InputSerializePort* port
250 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 261 Fw::InputSerializePort* port
267 Fw::InputSerializePort* port
273 Fw::InputSerializePort* port
286 const char* compName =
"" 325 #if FW_ENABLE_TEXT_LOGGING == 1 330 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
404 #if FW_ENABLE_TEXT_LOGGING == 1 409 bool isConnected_logTextOut_OutputPort(
490 #if FW_DIRECT_PORT_CALLS 618 static void m_p_dataIn_in(
626 static void m_p_dataReturnIn_in(
648 #if FW_ENABLE_TEXT_LOGGING 667 #if !FW_DIRECT_PORT_CALLS 683 #if !FW_DIRECT_PORT_CALLS 694 #if FW_ENABLE_TEXT_LOGGING == 1 715 #if !FW_DIRECT_PORT_CALLS
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
static constexpr FwIndexType getNum_dataReturnOut_OutputPorts()
bool isConnected_dataReturnOut_OutputPort(FwIndexType portNum) const
Enum representing an error during framing/deframing in the CCSDS protocols.
PlatformSizeType FwSizeType
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataReturnOut.
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_logOut_OutputPorts()
static constexpr FwIndexType getNum_dataIn_InputPorts()
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
Invalid packet received that will be dropped.
static constexpr FwIndexType getNum_errorNotify_OutputPorts()
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataIn.
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
void set_dataReturnOut_OutputPort(FwIndexType portNum, Svc::InputComDataWithContextPort *port)
Connect port to dataReturnOut[portNum].
virtual void lock()
Lock the guarded mutex.
Deframing received an invalid SCID.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum) const
void init()
Object initializer.
void log_ACTIVITY_LO_InvalidVcId(U16 transmitted, U16 configured) const
void log_WARNING_HI_InvalidCrc(U16 transmitted, U16 computed) const
FwIdType FwEventIdType
The type of an event identifier.
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Handler base-class function for input port dataReturnIn.
virtual ~TcDeframerComponentBase()
Destroy TcDeframerComponentBase object.
Svc::InputComDataWithContextPort * get_dataIn_InputPort(FwIndexType portNum)
TcDeframerComponentBase(const char *compName="")
Construct TcDeframerComponentBase object.
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
friend class TcDeframerTester
Friend class tester implementation to support white-box testing.
Deframing received an invalid frame length.
void log_WARNING_LO_InvalidPacket() const
Enum representing event severity.
bool isConnected_errorNotify_OutputPort(FwIndexType portNum) const
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].
Deframing received an invalid checksum.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
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.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
friend class TcDeframerTesterBase
Friend class tester to support autocoded test harness.
Type used to pass context info between components during framing/deframing.
void errorNotify_out(FwIndexType portNum, const Svc::Ccsds::FrameError &errorCode) const
Invoke output port errorNotify.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) const
Invoke output port dataOut.
Deframing received an invalid VCID.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0
Handler for input port dataReturnIn.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
bool isConnected_logOut_OutputPort(FwIndexType portNum) 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].
void log_WARNING_HI_InvalidFrameLength(U16 transmitted, FwSizeType actual) const