Interface Actuator
-
- All Known Implementing Classes:
AbstractActuator
,BinaryActuator
,LinearActuator
,RotaryActuator
public interface Actuator extends Device
Actuator - "part of a machine or system that moves something or makes something work". This interface provides methods for
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
controlSignal()
Actuator is waiting for impulse to start simulation.StateMachine
getStateMachine()
Returns instance of StateMachinevoid
setStateMachine(StateMachine stateMachine)
Sets StateMachine for Actuator-
Methods inherited from interface io.patriot_framework.generator.device.Device
getCoapController, getDataObservable, getNetworkAdapter, requestData, setCoapController, setDataObservable, setNetworkAdapter, startCoapController, stopCoapController
-
-
-
-
Method Detail
-
controlSignal
void controlSignal()
Actuator is waiting for impulse to start simulation. After control signal it should change state for set duration of time.
-
getStateMachine
StateMachine getStateMachine()
Returns instance of StateMachine- Returns:
- instance of StateMachine
-
setStateMachine
void setStateMachine(StateMachine stateMachine)
Sets StateMachine for Actuator- Parameters:
stateMachine
- machine internally used by actuator
-
-