de.jaetzold.art.examples
Class AWTRobotInterface.AWTActuatorPort

java.lang.Object
  |
  +--de.jaetzold.art.platform.BaseSensorPort
        |
        +--de.jaetzold.art.platform.BaseActuatorPort
              |
              +--de.jaetzold.art.examples.AWTRobotInterface.AWTActuatorPort
All Implemented Interfaces:
ActuatorPort, Port, SensorPort
Enclosing class:
AWTRobotInterface

protected class AWTRobotInterface.AWTActuatorPort
extends BaseActuatorPort


Fields inherited from class de.jaetzold.art.platform.BaseActuatorPort
type
 
Fields inherited from class de.jaetzold.art.platform.BaseSensorPort
excludedPorts, granularity, identifier, iface, maximumValue, minimumValue, portNumber
 
Method Summary
 ActuatorPeer getPeerFor(Actuator actuator)
          This is the Factory-method for creating peers.
 SensorPeer getPeerFor(Sensor sensor)
          Returns a SensorPeer which can be used by the given Sensor.
 
Methods inherited from class de.jaetzold.art.platform.BaseActuatorPort
connectWith, disconnect, getType
 
Methods inherited from class de.jaetzold.art.platform.BaseSensorPort
conformsTo, connectWith, disconnect, equals, getExcludedPorts, getGranularity, getMaximumValue, getMinimumValue, getPortID, getPortNumber, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.jaetzold.art.SensorPort
connectWith, disconnect
 
Methods inherited from interface de.jaetzold.art.Port
conformsTo, getExcludedPorts, getGranularity, getMaximumValue, getMinimumValue, getPortID, getPortNumber
 

Method Detail

getPeerFor

public SensorPeer getPeerFor(Sensor sensor)
Description copied from interface: SensorPort
Returns a SensorPeer which can be used by the given Sensor. There should never be the need in calling this method from somewhere outside of a Sensor-implementation.
Overrides:
getPeerFor in class BaseSensorPort
Following copied from interface: de.jaetzold.art.SensorPort
See Also:
SensorPort.connectWith(Sensor), RawSensor.connectWith(SensorPort)

getPeerFor

public ActuatorPeer getPeerFor(Actuator actuator)
Description copied from class: BaseActuatorPort
This is the Factory-method for creating peers. It must be implemented by non-abstract subclasses.
Overrides:
getPeerFor in class BaseActuatorPort
Following copied from interface: de.jaetzold.art.ActuatorPort
See Also:
ActuatorPort.connectWith(Actuator), RawActuator.connectWith(ActuatorPort)