13 #ifndef Svc_ActivePhaser_HPP 14 #define Svc_ActivePhaser_HPP 100 void Tick_internalInterfaceHandler()
override;
108 void startChild(U32 current_ticks);
116 U32 timeInCycle(U32 full_ticks);
121 U32 m_ticks_rollover;
122 U32 m_last_start_ticks;
123 U32 m_last_cycle_ticks;
static const U32 MAX_CHILDREN
void configure(U32 cycle_ticks)
PlatformSizeType FwSizeType
friend class ActivePhaserTester
FinishStatus
Finish status.
static constexpr FwIndexType CONNECTION_COUNT_MAX
PhaserStateEntry entries[MAX_CHILDREN]
ActivePhaser(const char *const compName)
Construct ActivePhaser object.
void init()
Object initializer.
configuration for phasing
PhaserContextType contextType
void register_phased(FwIndexType port, U32 length, U32 start=DONT_CARE, U32 context=DONT_CARE)
~ActivePhaser()
Destroy ActivePhaser object.
Improper finish call: child not running, no child, etc.
static const U32 DONT_CARE
Auto-generated base for ActivePhaser component.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
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
U32 used
The number of registered tasks (the last registered task is at used - 1)
U32 current
The current child task entry index.