|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VUObjectListener
This class can be used to create a object that watches which
changes appear related to objects.
Beside the possibility to retrieve objects that are available
within a defined area this class can be used to notice if an
object was built completely new too.
Please note: there is no constant for a changed object. If an
object was modified somehow, it is noticed as new. Within the
appropriate VUObjectInfo object the
ID of the old object can befound to identify this one as
changed. Please also refer to VUObjectInfoTool
| Field Summary | |
|---|---|
static int |
VU_OBJECT_CHANGE_ADD
change action flag: A new object was added to the world or an existing one was modified |
static int |
VU_OBJECT_CHANGE_REMOVE
change action flag: A object was removed from the world |
| Method Summary | |
|---|---|
void |
objectChanged(VUObjectInfo oi,
int changeFlag)
An object within the world the robot is currently logged in has changed |
void |
objectError(int errorCode)
This method mainly is called when building of an object failed |
| Field Detail |
|---|
static final int VU_OBJECT_CHANGE_ADD
static final int VU_OBJECT_CHANGE_REMOVE
| Method Detail |
|---|
void objectChanged(VUObjectInfo oi,
int changeFlag)
oi - gives all available information about the object
that changedchangeFlag - informs what kind of change happened using
the VU_OBJECT_CHANGE_-constants
ToDo: decouple this method call so that a blocking user handling doesn't
blocks the complete data flow of the APIvoid objectError(int errorCode)
errorCode - the error code as defined in VUConnections
ToDo: decouple this method call so that a blocking user handling doesn't
blocks the complete data flow of the API
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||