11 m_ticks(0),m_rollover(1),m_configured(false) {
30 this->m_dividers[entry] = dividerSet.
dividers[entry];
36 static_cast<FwAssertArgType>(this->m_rollover),
41 this->m_configured =
true;
58 if (this->m_dividers[entry].divisor != 0) {
60 if ((this->m_ticks % this->m_dividers[entry].divisor) == this->m_dividers[entry].offset) {
61 this->
CycleOut_out(static_cast<FwIndexType>(entry),cycleStart);
69 this->m_ticks = (this->m_ticks + 1) % this->m_rollover;
FwSizeType divisor
Divisor.
Auto-generated base for RateGroupDriver component.
void CycleOut_out(FwIndexType portNum, Os::RawTime &cycleStart)
Invoke output port CycleOut.
FwIndexType getNum_CycleOut_OutputPorts() const
void configure(const DividerSet ÷rsSet)
RateGroupDriver configuration function.
bool isConnected_CycleOut_OutputPort(FwIndexType portNum)
RateGroupDriver(const char *compName)
RateGroupDriver constructor.
PlatformIndexType FwIndexType
Divider dividers[Svc::RateGroupDriver::DIVIDER_SIZE]
Dividers.
~RateGroupDriver()
RateGroupDriverImpl destructor.
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
RateGroupDivider component implementation.
static const FwIndexType DIVIDER_SIZE
Size of the divider table, provided as a constants to users passing the table in. ...
Struct containing an array of dividers.