10#if FW_ENABLE_TEXT_LOGGING
20 void RateGroupDriverComponentBase ::
29 port < static_cast<FwIndexType>(this->getNum_CycleIn_InputPorts());
32 this->m_CycleIn_InputPort[port].init();
33 this->m_CycleIn_InputPort[port].addCallComp(
37 this->m_CycleIn_InputPort[port].setPortNum(port);
39#if FW_OBJECT_NAMES == 1
43 this->m_objName.toChar(),
46 this->m_CycleIn_InputPort[port].setObjName(portName.
toChar());
53 port < static_cast<FwIndexType>(this->getNum_CycleOut_OutputPorts());
56 this->m_CycleOut_OutputPort[port].init();
58#if FW_OBJECT_NAMES == 1
62 this->m_objName.toChar(),
65 this->m_CycleOut_OutputPort[port].setObjName(portName.
toChar());
78 portNum < this->getNum_CycleIn_InputPorts(),
82 return &this->m_CycleIn_InputPort[portNum];
89 void RateGroupDriverComponentBase ::
90 set_CycleOut_OutputPort(
96 portNum < this->getNum_CycleOut_OutputPorts(),
100 this->m_CycleOut_OutputPort[portNum].addCallPort(port);
103#if FW_PORT_SERIALIZATION
109 void RateGroupDriverComponentBase ::
110 set_CycleOut_OutputPort(
112 Fw::InputSerializePort* port
116 portNum < this->getNum_CycleOut_OutputPorts(),
120 this->m_CycleOut_OutputPort[portNum].registerSerialPort(port);
129 RateGroupDriverComponentBase ::
130 RateGroupDriverComponentBase(
const char* compName) :
131 Fw::PassiveComponentBase(compName)
136 RateGroupDriverComponentBase ::
137 ~RateGroupDriverComponentBase()
147 getNum_CycleIn_InputPorts()
const
157 getNum_CycleOut_OutputPorts()
const
166 bool RateGroupDriverComponentBase ::
167 isConnected_CycleOut_OutputPort(
FwIndexType portNum)
170 portNum < this->getNum_CycleOut_OutputPorts(),
174 return this->m_CycleOut_OutputPort[portNum].isConnected();
183 void RateGroupDriverComponentBase ::
191 portNum < this->getNum_CycleIn_InputPorts(),
196 this->CycleIn_handler(
206 void RateGroupDriverComponentBase ::
213 portNum < this->getNum_CycleOut_OutputPorts(),
216 this->m_CycleOut_OutputPort[portNum].invoke(
225 void RateGroupDriverComponentBase ::
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
PlatformAssertArgType FwAssertArgType
PlatformIndexType FwIndexType
void init()
Object initializer.
const char * toChar() const
void format(const CHAR *formatString,...)
write formatted string to buffer
Auto-generated base for RateGroupDriver component.
void CycleIn_handlerBase(FwIndexType portNum, Os::RawTime &cycleStart)
Handler base-class function for input port CycleIn.