Package actuator
Class AbstractActuator
- java.lang.Object
- 
- actuator.AbstractActuator
 
- 
- All Implemented Interfaces:
- core.InterfaceScenarioElement,- dispatch.Pokable
 - Direct Known Subclasses:
- ActuatorSignal
 
 public abstract class AbstractActuator extends Object implements dispatch.Pokable, core.InterfaceScenarioElement 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractActuator.Type
 - 
Field SummaryFields Modifier and Type Field Description Set<Long>commidsFloatdtlongidbooleaninitializedAbstractControllermyControlleractuator.InterfaceTargettarget
 - 
Constructor SummaryConstructors Constructor Description AbstractActuator(Scenario scenario, jaxb.Actuator jaxb_actuator)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description LonggetId()core.ScenarioElementTypegetSEType()abstract AbstractActuator.TypegetType()voidinitialize(Scenario scenario, float timestamp, boolean override_targets)voidpoke(dispatch.Dispatcher dispatcher, float timestamp)abstract voidprocess_command(control.command.InterfaceCommand command, float timestamp)error.OTMErrorLogto_jaxb()voidturn_off()voidturn_on()voidvalidate_post_init(error.OTMErrorLog errorLog)voidvalidate_pre_init(error.OTMErrorLog errorLog)
 
- 
- 
- 
Field Detail- 
idpublic long id 
 - 
dtpublic Float dt 
 - 
initializedpublic boolean initialized 
 - 
myControllerpublic AbstractController myController 
 - 
targetpublic actuator.InterfaceTarget target 
 
- 
 - 
Constructor Detail- 
AbstractActuatorpublic AbstractActuator(Scenario scenario, jaxb.Actuator jaxb_actuator) throws error.OTMException - Throws:
- error.OTMException
 
 
- 
 - 
Method Detail- 
getTypepublic abstract AbstractActuator.Type getType() 
 - 
process_commandpublic abstract void process_command(control.command.InterfaceCommand command, float timestamp) throws error.OTMException- Throws:
- error.OTMException
 
 - 
getIdpublic final Long getId() - Specified by:
- getIdin interface- core.InterfaceScenarioElement
 
 - 
getSETypepublic final core.ScenarioElementType getSEType() - Specified by:
- getSETypein interface- core.InterfaceScenarioElement
 
 - 
validate_pre_initpublic void validate_pre_init(error.OTMErrorLog errorLog) 
 - 
initializepublic void initialize(Scenario scenario, float timestamp, boolean override_targets) throws error.OTMException - Throws:
- error.OTMException
 
 - 
validate_post_initpublic void validate_post_init(error.OTMErrorLog errorLog) 
 - 
to_jaxbpublic error.OTMErrorLog to_jaxb() - Specified by:
- to_jaxbin interface- core.InterfaceScenarioElement
 
 - 
pokepublic void poke(dispatch.Dispatcher dispatcher, float timestamp) throws error.OTMException- Specified by:
- pokein interface- dispatch.Pokable
- Throws:
- error.OTMException
 
 - 
turn_onpublic final void turn_on() throws error.OTMException- Throws:
- error.OTMException
 
 - 
turn_offpublic final void turn_off() throws error.OTMException- Throws:
- error.OTMException
 
 
- 
 
-