org.ros.internal.node.parameter
Class ParameterManager

java.lang.Object
  extended by org.ros.internal.node.parameter.ParameterManager

public class ParameterManager
extends java.lang.Object


Constructor Summary
ParameterManager(java.util.concurrent.ExecutorService executorService)
           
 
Method Summary
 void addListener(GraphName parameterName, ParameterListener listener)
           
 void removeListener(GraphName parameterName, ParameterListener listener)
           
 int updateParameter(GraphName parameterName, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterManager

public ParameterManager(java.util.concurrent.ExecutorService executorService)
Method Detail

addListener

public void addListener(GraphName parameterName,
                        ParameterListener listener)

removeListener

public void removeListener(GraphName parameterName,
                           ParameterListener listener)

updateParameter

public int updateParameter(GraphName parameterName,
                           java.lang.Object value)
Parameters:
parameterName -
value -
Returns:
the number of listeners called with the new value