7 #ifndef Svc_ActivePhaserComponentAc_HPP 8 #define Svc_ActivePhaserComponentAc_HPP 16 #if FW_ENABLE_TEXT_LOGGING == 1 19 #if !FW_DIRECT_PORT_CALLS 22 #if !FW_DIRECT_PORT_CALLS 97 #if !FW_DIRECT_PORT_CALLS 114 #if !FW_DIRECT_PORT_CALLS 128 #if FW_ENABLE_TEXT_LOGGING == 1 131 void set_logTextOut_OutputPort(
152 #if !FW_DIRECT_PORT_CALLS 168 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 179 Fw::InputSerializePort* port
182 #if FW_ENABLE_TEXT_LOGGING == 1 185 void set_logTextOut_OutputPort(
187 Fw::InputSerializePort* port
195 Fw::InputSerializePort* port
201 Fw::InputSerializePort* port
206 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 217 Fw::InputSerializePort* port
230 const char* compName =
"" 262 #if FW_ENABLE_TEXT_LOGGING == 1 267 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
313 #if FW_ENABLE_TEXT_LOGGING == 1 318 bool isConnected_logTextOut_OutputPort(
363 #if FW_DIRECT_PORT_CALLS 479 static void m_p_CycleIn_in(
500 #if FW_ENABLE_TEXT_LOGGING 519 #if !FW_DIRECT_PORT_CALLS 532 #if !FW_DIRECT_PORT_CALLS 543 #if FW_ENABLE_TEXT_LOGGING == 1 558 #if !FW_DIRECT_PORT_CALLS 578 std::atomic<FwIndexType> m_MissedDeadlineThrottle;
static constexpr FwIndexType getNum_CycleIn_InputPorts()
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
PlatformSizeType FwSizeType
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
void set_PhaserMemberOut_OutputPort(FwIndexType portNum, Svc::InputSchedPort *port)
Connect port to PhaserMemberOut[portNum].
void PhaserMemberOut_out(FwIndexType portNum, U32 context) const
Invoke output port PhaserMemberOut.
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
void init()
Object initializer.
FwIdType FwEventIdType
The type of an event identifier.
ActivePhaserComponentBase(const char *compName="")
Construct ActivePhaserComponentBase object.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
virtual ~ActivePhaserComponentBase()
Destroy ActivePhaserComponentBase object.
friend class ActivePhaserTester
Friend class tester implementation to support white-box testing.
Enum representing event severity.
void Tick_internalInterfaceInvoke()
Internal interface base-class function for Tick.
Svc::InputCyclePort * get_CycleIn_InputPort(FwIndexType portNum)
bool isConnected_PhaserMemberOut_OutputPort(FwIndexType portNum) const
friend class ActivePhaserTesterBase
Friend class tester to support autocoded test harness.
Auto-generated base for ActivePhaser component.
PlatformIndexType FwIndexType
virtual void Tick_internalInterfaceHandler()=0
Internal interface handler for Tick.
static constexpr FwIndexType getNum_PhaserMemberOut_OutputPorts()
void log_WARNING_HI_MissedDeadline_ThrottleClear()
Reset throttle value for MissedDeadline.
void CycleIn_handlerBase(FwIndexType portNum, Os::RawTime &cycleStart)
Handler base-class function for input port CycleIn.
virtual void CycleIn_handler(FwIndexType portNum, Os::RawTime &cycleStart)=0
Handler for input port CycleIn.
RateGroupDivider component implementation.
Throttle reset count for MissedDeadline.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Warning event that rate group has had a missed deadline.
virtual void CycleIn_preMsgHook(FwIndexType portNum, Os::RawTime &cycleStart)
Pre-message hook for async input port CycleIn.
void start(FwTaskPriorityType priority=Os::Task::TASK_PRIORITY_DEFAULT, FwSizeType stackSize=Os::Task::TASK_DEFAULT, FwSizeType cpuAffinity=Os::Task::TASK_DEFAULT, FwTaskIdType identifier=static_cast< FwTaskIdType >(Os::Task::TASK_DEFAULT))
called by instantiator when task is to be started
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_logOut_OutputPorts()
void log_WARNING_HI_MissedDeadline(FwIndexType p, U32 start, U32 length, U32 ticks)