Package sensor

Class AbstractSensor

  • All Implemented Interfaces:
    core.InterfaceScenarioElement, dispatch.Pokable

    public abstract class AbstractSensor
    extends Object
    implements dispatch.Pokable, core.InterfaceScenarioElement
    • Constructor Detail

      • AbstractSensor

        public AbstractSensor​(jaxb.Sensor jaxb_sensor)
    • Method Detail

      • initialize

        public void initialize​(Scenario scenario)
                        throws error.OTMException
        Throws:
        error.OTMException
      • validate_post_init

        public void validate_post_init​(error.OTMErrorLog errorLog)
      • getSEType

        public final core.ScenarioElementType getSEType()
        Specified by:
        getSEType in interface core.InterfaceScenarioElement
      • getId

        public final Long getId()
        Specified by:
        getId in interface core.InterfaceScenarioElement
      • to_jaxb

        public error.OTMErrorLog to_jaxb()
        Specified by:
        to_jaxb in interface core.InterfaceScenarioElement
      • take_measurement

        public abstract void take_measurement​(dispatch.Dispatcher dispatcher,
                                              float timestamp)
      • poke

        public void poke​(dispatch.Dispatcher dispatcher,
                         float timestamp)
        Specified by:
        poke in interface dispatch.Pokable