7 #ifndef Svc_Ccsds_ApidManagerComponentAc_HPP 8 #define Svc_Ccsds_ApidManagerComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 86 #if !FW_DIRECT_PORT_CALLS 110 #if !FW_DIRECT_PORT_CALLS 124 #if FW_ENABLE_TEXT_LOGGING == 1 127 void set_logTextOut_OutputPort(
142 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 153 Fw::InputSerializePort* port
156 #if FW_ENABLE_TEXT_LOGGING == 1 159 void set_logTextOut_OutputPort(
161 Fw::InputSerializePort* port
169 Fw::InputSerializePort* port
182 const char* compName =
"" 221 #if FW_ENABLE_TEXT_LOGGING == 1 226 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
252 #if FW_ENABLE_TEXT_LOGGING == 1 257 bool isConnected_logTextOut_OutputPort(
290 #if FW_DIRECT_PORT_CALLS 368 static U16 m_p_getApidSeqCountIn_in(
376 static U16 m_p_validateApidSeqCountIn_in(
398 #if FW_ENABLE_TEXT_LOGGING 417 #if !FW_DIRECT_PORT_CALLS 433 #if !FW_DIRECT_PORT_CALLS 444 #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.
Received an unregistered APID.
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.
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.