kaos.robots.capabilities.impl
Class GPSPositionObservableImpl
java.lang.Object
   kaos.robots.capabilities.impl.GPSPositionObservableImpl
kaos.robots.capabilities.impl.GPSPositionObservableImpl
- All Implemented Interfaces: 
- KAoSObserver, RobotObservable
- public class GPSPositionObservableImpl 
- extends java.lang.Object- implements RobotObservable, KAoSObserver
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
_logger
protected Logger _logger
GPSPositionObservableImpl
public GPSPositionObservableImpl()
setRobot
public void setRobot(KAoSRobot kr)
- 
- Specified by:
- setRobotin interface- RobotObservable
 
- 
 
startSimulatedListening
public void startSimulatedListening()
- 
 
- 
 
startListening
public void startListening()
- 
- Specified by:
- startListeningin interface- RobotObservable
 
- 
 
stopListening
public void stopListening()
- 
- Specified by:
- stopListeningin interface- RobotObservable
 
- 
 
stopGPS
public void stopGPS()
- 
 
- 
 
GetGPSCoordinate
public GPSPosition GetGPSCoordinate()
                             throws java.lang.Exception
- 
 
- 
- Throws:
- java.lang.Exception
 
update
public void update(java.lang.String observableID,
                   java.lang.String updateType,
                   java.lang.Object updateCondition,
                   java.lang.Object update)
- Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.
 
- 
- Specified by:
- updatein interface- KAoSObserver
 
- 
- Parameters:
- observableID- String identifying the KAoSObservable sending the update.
- updateType- String indicating type of update.
- update- Object containing the update.
 
getID
public java.lang.String getID()
- Return the unique identifier of this observer.
 
- 
- Specified by:
- getIDin interface- KAoSObserver
 
- 
- Returns:
- String  containing the unique ID of this observer.
 
printDebugString
protected void printDebugString(java.lang.String msg,
                                int loggerDisplayLevel)
- 
 
- 
 
main
public static void main(java.lang.String[] args)
- 
 
-