15 "Divider table size must match the number of cycle output ports");
25 this->m_dividers[entry] = dividerSet.
dividers[entry];
31 static_cast<FwAssertArgType>(this->m_rollover),
36 this->m_configured =
true;
50 if (this->m_dividers[entry].divisor != 0) {
52 if ((this->m_ticks % this->m_dividers[entry].divisor) == this->m_dividers[entry].offset) {
53 this->
CycleOut_out(static_cast<FwIndexType>(entry), cycleStart);
62 this->m_ticks = (this->m_ticks + 1) % this->m_rollover;
bool isConnected_CycleOut_OutputPort(FwIndexType portNum) const
FwSizeType divisor
Divisor.
Auto-generated base for RateGroupDriver component.
void configure(const DividerSet ÷rsSet)
RateGroupDriver configuration function.
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.
void CycleOut_out(FwIndexType portNum, Os::RawTime &cycleStart) const
Invoke output port CycleOut.
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.