Class ActuatorEvent#
Defined in Program listing for file control/src/utils/ActuatorEvent.hpp
-
class ActuatorEvent : public Event#
Events when sensor data capture is done.
Public Functions
-
inline ActuatorEvent(double time, int name)#
constructor with time value as a parameter
- Parameters:
time – the time of the Event
name – the type of Event
-
inline ~ActuatorEvent()#
destructor
-
inline SP::Actuator actuator() const#
get the Actuator linked to this Event
- Returns:
a pointer to Actuator
-
inline void setActuatorPtr(SP::Actuator newActuator)#
set the Actuator linked to this ActuatorEvent
- Parameters:
newActuator – the Actuator associated with this Event.
-
void process(Simulation &sim)#
Call the actuate method of the Actuator.
- Parameters:
sim – ignored argument.
-
inline ActuatorEvent(double time, int name)#