7 #ifndef Svc_ActivePhaserComponentAc_HPP 8 #define Svc_ActivePhaserComponentAc_HPP 17 #if !FW_DIRECT_PORT_CALLS 20 #if !FW_DIRECT_PORT_CALLS 95 #if !FW_DIRECT_PORT_CALLS 112 #if !FW_DIRECT_PORT_CALLS 126 #if FW_ENABLE_TEXT_LOGGING == 1 129 void set_logTextOut_OutputPort(
150 #if !FW_DIRECT_PORT_CALLS 166 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 177 Fw::InputSerializePort* port
180 #if FW_ENABLE_TEXT_LOGGING == 1 183 void set_logTextOut_OutputPort(
185 Fw::InputSerializePort* port
193 Fw::InputSerializePort* port
199 Fw::InputSerializePort* port
204 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 215 Fw::InputSerializePort* port
228 const char* compName =
"" 260 #if FW_ENABLE_TEXT_LOGGING == 1 265 static constexpr
FwIndexType getNum_logTextOut_OutputPorts() {
311 #if FW_ENABLE_TEXT_LOGGING == 1 316 bool isConnected_logTextOut_OutputPort(
361 #if FW_DIRECT_PORT_CALLS 477 static void m_p_CycleIn_in(
498 #if FW_ENABLE_TEXT_LOGGING 517 #if !FW_DIRECT_PORT_CALLS 530 #if !FW_DIRECT_PORT_CALLS 541 #if FW_ENABLE_TEXT_LOGGING == 1 556 #if !FW_DIRECT_PORT_CALLS 576 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
Warning event that rate group has had a missed deadline.
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)
Throttle reset count for MissedDeadline.
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.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
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)