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 final String PROPERTY_MAXRANGE
public static final String PROPERTY_RANGE
public static final String PROPERTY_PERCEPTTYPES
public static final String APPEARED
public static final String DISAPPEARED
public static final String CREATED
public static final String DESTROYED
public static final 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 © 2013. All Rights Reserved.