public class DefaultVisionGenerator extends SimplePropertyObject implements IPerceptGenerator
Modifier and Type | Field and Description |
---|---|
static String |
APPEARED
The appeared percept type.
|
static String |
CREATED
The created percept type.
|
static String |
DESTROYED
The destroyed percept type.
|
static String |
DISAPPEARED
The disappeared percept type.
|
static String |
MOVED
The moved percept type.
|
static String |
PROPERTY_MAXRANGE
The maxrange property.
|
static String |
PROPERTY_PERCEPTTYPES
The percept types property.
|
static String |
PROPERTY_RANGE
The maxrange property.
|
Constructor and Description |
---|
DefaultVisionGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
componentAdded(IComponentDescription component,
IEnvironmentSpace space)
Called when an component was added to the space.
|
void |
componentRemoved(IComponentDescription component,
IEnvironmentSpace space)
Called when an component was remove from the space.
|
void |
dispatchEnvironmentEvent(EnvironmentEvent event)
Dispatch an environment event to this listener.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
public static String PROPERTY_MAXRANGE
public static String PROPERTY_RANGE
public static String PROPERTY_PERCEPTTYPES
public static String APPEARED
public static String DISAPPEARED
public static String CREATED
public static String DESTROYED
public static String MOVED
public void componentAdded(IComponentDescription component, IEnvironmentSpace space)
componentAdded
in interface IPerceptGenerator
component
- The component identifier.space
- The space.public void componentRemoved(IComponentDescription component, IEnvironmentSpace space)
componentRemoved
in interface IPerceptGenerator
component
- The component identifier.space
- The space.public void dispatchEnvironmentEvent(EnvironmentEvent event)
dispatchEnvironmentEvent
in interface IEnvironmentListener
event
- The event.Copyright © 2012. All Rights Reserved.