|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.node.AnonymousParmeterTree
public class AnonymousParmeterTree
Constructor Summary | |
---|---|
AnonymousParmeterTree(java.net.URI masterUri)
|
Method Summary | |
---|---|
void |
addParameterListener(GraphName name,
ParameterListener listener)
Subscribes to changes to the specified parameter. |
void |
addParameterListener(java.lang.String name,
ParameterListener listener)
|
void |
delete(GraphName name)
Deletes a specified parameter. |
void |
delete(java.lang.String name)
|
boolean |
getBoolean(GraphName name)
|
boolean |
getBoolean(GraphName name,
boolean defaultValue)
|
boolean |
getBoolean(java.lang.String name)
|
boolean |
getBoolean(java.lang.String name,
boolean defaultValue)
|
double |
getDouble(GraphName name)
|
double |
getDouble(GraphName name,
double defaultValue)
|
double |
getDouble(java.lang.String name)
|
double |
getDouble(java.lang.String name,
double defaultValue)
|
int |
getInteger(GraphName name)
|
int |
getInteger(GraphName name,
int defaultValue)
|
int |
getInteger(java.lang.String name)
|
int |
getInteger(java.lang.String name,
int defaultValue)
|
java.util.List<?> |
getList(GraphName name)
|
java.util.List<?> |
getList(GraphName name,
java.util.List<?> defaultValue)
|
java.util.List<?> |
getList(java.lang.String name)
|
java.util.List<?> |
getList(java.lang.String name,
java.util.List<?> defaultValue)
|
java.util.Map<?,?> |
getMap(GraphName name)
|
java.util.Map<?,?> |
getMap(GraphName name,
java.util.Map<?,?> defaultValue)
|
java.util.Map<?,?> |
getMap(java.lang.String name)
|
java.util.Map<?,?> |
getMap(java.lang.String name,
java.util.Map<?,?> defaultValue)
|
java.util.Collection<GraphName> |
getNames()
|
java.lang.String |
getString(GraphName name)
|
java.lang.String |
getString(GraphName name,
java.lang.String defaultValue)
|
java.lang.String |
getString(java.lang.String name)
|
java.lang.String |
getString(java.lang.String name,
java.lang.String defaultValue)
|
boolean |
has(GraphName name)
|
boolean |
has(java.lang.String name)
|
void |
removeParameterListener(GraphName name,
ParameterListener listener)
Unsubscribes from changes to the specified parameter. |
void |
removeParameterListener(java.lang.String name,
ParameterListener listener)
|
GraphName |
search(GraphName name)
Search for parameter key on the Parameter Server. |
GraphName |
search(java.lang.String name)
|
void |
set(GraphName name,
boolean value)
|
void |
set(GraphName name,
double value)
|
void |
set(GraphName name,
int value)
|
void |
set(GraphName name,
java.util.List<?> value)
|
void |
set(GraphName name,
java.util.Map<?,?> value)
|
void |
set(GraphName name,
java.lang.String value)
|
void |
set(java.lang.String name,
boolean value)
|
void |
set(java.lang.String name,
double value)
|
void |
set(java.lang.String name,
int value)
|
void |
set(java.lang.String name,
java.util.List<?> value)
|
void |
set(java.lang.String name,
java.util.Map<?,?> value)
|
void |
set(java.lang.String name,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnonymousParmeterTree(java.net.URI masterUri)
Method Detail |
---|
public boolean getBoolean(GraphName name)
getBoolean
in interface ParameterTree
name
- the parameter name
public boolean getBoolean(java.lang.String name)
getBoolean
in interface ParameterTree
ParameterTree.getBoolean(GraphName)
public boolean getBoolean(GraphName name, boolean defaultValue)
getBoolean
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public boolean getBoolean(java.lang.String name, boolean defaultValue)
getBoolean
in interface ParameterTree
ParameterTree.getBoolean(GraphName, boolean)
public int getInteger(GraphName name)
getInteger
in interface ParameterTree
name
- the parameter name
public int getInteger(java.lang.String name)
getInteger
in interface ParameterTree
ParameterTree.getInteger(GraphName)
public int getInteger(GraphName name, int defaultValue)
getInteger
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public int getInteger(java.lang.String name, int defaultValue)
getInteger
in interface ParameterTree
ParameterTree.getInteger(GraphName, int)
public double getDouble(GraphName name)
getDouble
in interface ParameterTree
name
- the parameter name
public double getDouble(java.lang.String name)
getDouble
in interface ParameterTree
ParameterTree.getDouble(GraphName)
public double getDouble(GraphName name, double defaultValue)
getDouble
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public double getDouble(java.lang.String name, double defaultValue)
getDouble
in interface ParameterTree
ParameterTree.getDouble(GraphName, double)
public java.lang.String getString(GraphName name)
getString
in interface ParameterTree
name
- the parameter name
public java.lang.String getString(java.lang.String name)
getString
in interface ParameterTree
ParameterTree.getString(GraphName)
public java.lang.String getString(GraphName name, java.lang.String defaultValue)
getString
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public java.lang.String getString(java.lang.String name, java.lang.String defaultValue)
getString
in interface ParameterTree
ParameterTree.getString(GraphName, String)
public java.util.List<?> getList(GraphName name)
getList
in interface ParameterTree
name
- the parameter name
public java.util.List<?> getList(java.lang.String name)
getList
in interface ParameterTree
ParameterTree.getList(GraphName)
public java.util.List<?> getList(GraphName name, java.util.List<?> defaultValue)
getList
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public java.util.List<?> getList(java.lang.String name, java.util.List<?> defaultValue)
getList
in interface ParameterTree
ParameterTree.getList(GraphName, List)
public java.util.Map<?,?> getMap(GraphName name)
getMap
in interface ParameterTree
name
- the parameter name
public java.util.Map<?,?> getMap(java.lang.String name)
getMap
in interface ParameterTree
ParameterTree.getMap(GraphName)
public java.util.Map<?,?> getMap(GraphName name, java.util.Map<?,?> defaultValue)
getMap
in interface ParameterTree
name
- the parameter namedefaultValue
- the default value
public java.util.Map<?,?> getMap(java.lang.String name, java.util.Map<?,?> defaultValue)
getMap
in interface ParameterTree
ParameterTree.getMap(GraphName, Map)
public void set(GraphName name, boolean value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, boolean value)
set
in interface ParameterTree
ParameterTree.set(GraphName, boolean)
public void set(GraphName name, int value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, int value)
set
in interface ParameterTree
ParameterTree.set(GraphName, int)
public void set(GraphName name, double value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, double value)
set
in interface ParameterTree
ParameterTree.set(GraphName, double)
public void set(GraphName name, java.lang.String value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, java.lang.String value)
set
in interface ParameterTree
ParameterTree.set(GraphName, String)
public void set(GraphName name, java.util.List<?> value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, java.util.List<?> value)
set
in interface ParameterTree
ParameterTree.set(GraphName, List)
public void set(GraphName name, java.util.Map<?,?> value)
set
in interface ParameterTree
name
- the parameter namevalue
- the value that the parameter will be set topublic void set(java.lang.String name, java.util.Map<?,?> value)
set
in interface ParameterTree
ParameterTree.set(GraphName, Map)
public boolean has(GraphName name)
has
in interface ParameterTree
name
- the parameter name
true
if a parameter with the given name exists,
false
otherwisepublic boolean has(java.lang.String name)
has
in interface ParameterTree
ParameterTree.has(GraphName)
public void delete(GraphName name)
ParameterTree
delete
in interface ParameterTree
name
- the parameter namepublic void delete(java.lang.String name)
delete
in interface ParameterTree
ParameterTree.delete(GraphName)
public GraphName search(GraphName name)
ParameterTree
ParameterServer
finds a matching key.
search
in interface ParameterTree
name
- the parameter name to search for
null
if no matching
parameter was foundpublic GraphName search(java.lang.String name)
search
in interface ParameterTree
ParameterTree.search(GraphName)
public java.util.Collection<GraphName> getNames()
getNames
in interface ParameterTree
public void addParameterListener(GraphName name, ParameterListener listener)
ParameterTree
addParameterListener
in interface ParameterTree
name
- the parameter name to subscribe tolistener
- a ParameterListener
that will be called when the
subscribed parameter changes
java.lang.UnsupportedOperationException
public void addParameterListener(java.lang.String name, ParameterListener listener)
addParameterListener
in interface ParameterTree
java.lang.UnsupportedOperationException
ParameterTree.addParameterListener(GraphName, ParameterListener)
public void removeParameterListener(GraphName name, ParameterListener listener)
ParameterTree
removeParameterListener
in interface ParameterTree
java.lang.UnsupportedOperationException
public void removeParameterListener(java.lang.String name, ParameterListener listener)
removeParameterListener
in interface ParameterTree
java.lang.UnsupportedOperationException
ParameterTree.removeParameterListener(GraphName, ParameterListener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |