org.robokind.api.motion.utils
Class RobotManager

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.motion.utils.RobotManager
All Implemented Interfaces:
PropertyChangeSource

public class RobotManager
extends PropertyChangeNotifier

Author:
Matthew Stevenson

Field Summary
static String PROP_ADD_ROBOT
           
static String PROP_REMOVE_ROBOT
           
static String PROP_SELECT_ROBOT
           
 
Constructor Summary
RobotManager(org.osgi.framework.BundleContext context)
           
 
Method Summary
 void addRobot(Robot.Id robotId)
           
 void addServiceRegistration(Robot.Id robotId, org.osgi.framework.ServiceRegistration registration)
           
 Map<Robot.Id,RobotController> getControllerMap()
           
 List<RobotController> getControllers()
           
 void removeRobot(Robot.Id robotId)
           
 void selectRobot(Robot.Id robotId)
           
 
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_ADD_ROBOT

public static final String PROP_ADD_ROBOT
See Also:
Constant Field Values

PROP_REMOVE_ROBOT

public static final String PROP_REMOVE_ROBOT
See Also:
Constant Field Values

PROP_SELECT_ROBOT

public static final String PROP_SELECT_ROBOT
See Also:
Constant Field Values
Constructor Detail

RobotManager

public RobotManager(org.osgi.framework.BundleContext context)
Method Detail

addRobot

public void addRobot(Robot.Id robotId)

addServiceRegistration

public void addServiceRegistration(Robot.Id robotId,
                                   org.osgi.framework.ServiceRegistration registration)

removeRobot

public void removeRobot(Robot.Id robotId)

getControllerMap

public Map<Robot.Id,RobotController> getControllerMap()

selectRobot

public void selectRobot(Robot.Id robotId)

getControllers

public List<RobotController> getControllers()


Copyright © 2011-2012. All Rights Reserved.