7 #ifndef Svc_Ccsds_ApidManagerComponentAc_HPP 8 #define Svc_Ccsds_ApidManagerComponentAc_HPP 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 84 #if !FW_DIRECT_PORT_CALLS 108 #if !FW_DIRECT_PORT_CALLS 122 #if FW_ENABLE_TEXT_LOGGING == 1 125 void set_logTextOut_OutputPort(
140 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 151 Fw::InputSerializePort* port
154 #if FW_ENABLE_TEXT_LOGGING == 1 157 void set_logTextOut_OutputPort(
159 Fw::InputSerializePort* port
167 Fw::InputSerializePort* port
180 const char* compName =
"" 219 #if FW_ENABLE_TEXT_LOGGING == 1 224 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
250 #if FW_ENABLE_TEXT_LOGGING == 1 255 bool isConnected_logTextOut_OutputPort(
288 #if FW_DIRECT_PORT_CALLS 366 static U16 m_p_getApidSeqCountIn_in(
374 static U16 m_p_validateApidSeqCountIn_in(
396 #if FW_ENABLE_TEXT_LOGGING 415 #if !FW_DIRECT_PORT_CALLS 431 #if !FW_DIRECT_PORT_CALLS 442 #if FW_ENABLE_TEXT_LOGGING == 1 void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Deframing received an unexpected sequence count.
virtual void unLock()
Unlock the guarded mutex.
friend class ApidManagerTesterBase
Friend class tester to support autocoded test harness.
virtual ~ApidManagerComponentBase()
Destroy ApidManagerComponentBase object.
static constexpr FwIndexType getNum_getApidSeqCountIn_InputPorts()
void init()
Object initializer.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
Svc::Ccsds::InputApidSequenceCountPort * get_validateApidSeqCountIn_InputPort(FwIndexType portNum)
FwIdType FwEventIdType
The type of an event identifier.
ApidManagerComponentBase(const char *compName="")
Construct ApidManagerComponentBase object.
friend class ApidManagerTester
Friend class tester implementation to support white-box testing.
virtual U16 validateApidSeqCountIn_handler(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)=0
Handler for input port validateApidSeqCountIn.
Enum representing event severity.
void log_WARNING_HI_ApidTableFull(U16 invalidApidValue) const
void log_WARNING_LO_UnexpectedSequenceCount(U16 transmitted, U16 expected) const
virtual void lock()
Lock the guarded mutex.
Received an unregistered APID.
static constexpr FwIndexType getNum_logOut_OutputPorts()
U16 getApidSeqCountIn_handlerBase(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)
Handler base-class function for input port getApidSeqCountIn.
PlatformIndexType FwIndexType
U16 validateApidSeqCountIn_handlerBase(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)
Handler base-class function for input port validateApidSeqCountIn.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
RateGroupDivider component implementation.
Auto-generated base for ApidManager component.
static constexpr FwIndexType getNum_validateApidSeqCountIn_InputPorts()
Svc::Ccsds::InputApidSequenceCountPort * get_getApidSeqCountIn_InputPort(FwIndexType portNum)
APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
virtual U16 getApidSeqCountIn_handler(FwIndexType portNum, const ComCfg::Apid &apid, U16 sequenceCount)=0
Handler for input port getApidSeqCountIn.