10 RateGroupDriverComponentBase(compName),
11 m_ticks(0),m_rollover(1)
22 this->getNum_CycleOut_OutputPorts());
24 ::memset(this->m_dividers,0,
sizeof(this->m_dividers));
26 this->m_dividers[entry] = dividers[entry];
29 if (dividers[entry] != 0) {
30 this->m_rollover *= dividers[entry];
41 RateGroupDriverComponentBase::init();
50 if (this->m_dividers[entry] != 0) {
51 if (this->isConnected_CycleOut_OutputPort(entry)) {
52 if ((this->m_ticks % this->m_dividers[entry]) == 0) {
53 this->CycleOut_out(entry,cycleStart);
61 this->m_ticks = (this->m_ticks + 1) % this->m_rollover;