kaos.robots.capabilities.impl
Class GPSMobileBaseImpl

java.lang.Object
  extended by kaos.robots.capabilities.impl.GPSMobileBaseImpl
All Implemented Interfaces:
KAoSObserver, GPSMobileRobot

public class GPSMobileBaseImpl
extends java.lang.Object
implements GPSMobileRobot, KAoSObserver


Constructor Summary
GPSMobileBaseImpl(KAoSRobot robot)
           
 
Method Summary
 GPSPosition GetGPSCoordinate()
           
 java.lang.String getID()
          Return the unique identifier of this observer.
 void GPSMoveTo(java.util.HashMap properties)
           
static void main(java.lang.String[] args)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPSMobileBaseImpl

public GPSMobileBaseImpl(KAoSRobot robot)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

GPSMoveTo

public void GPSMoveTo(java.util.HashMap properties)
               throws java.lang.Exception
Specified by:
GPSMoveTo in interface GPSMobileRobot
Throws:
java.lang.Exception

GetGPSCoordinate

public GPSPosition GetGPSCoordinate()
                             throws java.lang.Exception
Specified by:
GetGPSCoordinate in interface GPSMobileRobot
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:
update in 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()
Description copied from interface: KAoSObserver
Return the unique identifier of this observer.

Specified by:
getID in interface KAoSObserver
Returns:
String containing the unique ID of this observer.

main

public static void main(java.lang.String[] args)