kaos.flexfeed.robots
Class KAoSRobotWrapperAgent

java.lang.Object
  extended by Agent
      extended by kaos.flexfeed.robots.KAoSRobotWrapperAgent
All Implemented Interfaces:
VideoFeed

public class KAoSRobotWrapperAgent
extends Agent
implements VideoFeed


Field Summary
 KAoSRobot _robot
           
 
Constructor Summary
KAoSRobotWrapperAgent()
           
 
Method Summary
 void exceptionOccurred(java.lang.String feedID, FlexFeedException ffXcp)
           
static KAoSRobotWrapperAgent getInstance()
           
 java.lang.String getNodeName()
           
 void moveTo(double latitude, double longitude)
           
 void newAgentNotification(AgentNotification msg)
           
 void start(java.lang.String[] args)
           
 void StartFeed(java.util.HashMap properties)
          StartFeed
 void startFeed(java.lang.String dest, java.lang.String resolution, double fps, int delay)
          Utility method called by the KAoS Robot when TRIPS requests a video feed
 void stop()
           
 void StopFeed(java.util.HashMap properties)
          StopFeed
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_robot

public KAoSRobot _robot
Constructor Detail

KAoSRobotWrapperAgent

public KAoSRobotWrapperAgent()
Method Detail

getInstance

public static KAoSRobotWrapperAgent getInstance()

start

public void start(java.lang.String[] args)

getNodeName

public java.lang.String getNodeName()

newAgentNotification

public void newAgentNotification(AgentNotification msg)

exceptionOccurred

public void exceptionOccurred(java.lang.String feedID,
                              FlexFeedException ffXcp)

startFeed

public void startFeed(java.lang.String dest,
                      java.lang.String resolution,
                      double fps,
                      int delay)
               throws java.lang.Exception
Utility method called by the KAoS Robot when TRIPS requests a video feed

Throws:
java.lang.Exception

terminate

public void terminate()

moveTo

public void moveTo(double latitude,
                   double longitude)

stop

public void stop()

StartFeed

public void StartFeed(java.util.HashMap properties)
               throws java.lang.Exception
Description copied from interface: VideoFeed
StartFeed

Specified by:
StartFeed in interface VideoFeed
Throws:
java.lang.Exception

StopFeed

public void StopFeed(java.util.HashMap properties)
              throws java.lang.Exception
Description copied from interface: VideoFeed
StopFeed

Specified by:
StopFeed in interface VideoFeed
Throws:
java.lang.Exception