Public Member Functions | Protected Member Functions | Package Functions | Package Attributes | Private Attributes
ros.roscpp.CppNodeHandle Class Reference
Inheritance diagram for ros.roscpp.CppNodeHandle:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean checkMaster ()
NodeHandle copy ()
Collection< String > getAdvertisedTopics ()
boolean getBooleanParam (String param, boolean useCache) throws RosException
double getDoubleParam (String param, boolean useCache) throws RosException
int getIntParam (String param, boolean useCache) throws RosException
String getMasterHost ()
int getMasterPort ()
String getName ()
String getNamespace ()
String getStringParam (String param, boolean useCache) throws RosException
Collection< String > getSubscribedTopics ()
Collection< TopicgetTopics ()
boolean hasParam (String param)
boolean isValid ()
void logDebug (String message)
void logError (String message)
void logFatal (String message)
void logInfo (String message)
void logWarn (String message)
Time now ()
boolean ok ()
String resolveName (String name)
void setMasterRetryTimeout (int ms)
void setParam (String param, boolean value)
void setParam (String param, int value)
void setParam (String param, double value)
void setParam (String param, String value)
void shutdown ()
void spin ()
void spinOnce ()

Protected Member Functions

 CppNodeHandle (RosCpp ros, String ns, Map< String, String > remappings)
void finalize ()

Package Functions

public< M extends Message >
Publisher< M > 
advertise (String newTopic, M messageTemplate, int queueSize, boolean latch) throws RosException
public< Q extends Message, A
extends Message, S extends
Service< Q, A >
> ServiceServer< Q, A, S > 
advertiseService (String serviceName, S serviceTemplate, Callback< Q, A > callback) throws RosException
public< Q extends Message, A
extends Message, S extends
Service< Q, A >
> ServiceClient< Q, A, S > 
serviceClient (String serviceName, S serviceTemplate, boolean isPersistant, Map< String, String > headerValues)
protected< V > void submitFuture (FutureTask< V > f)
public< M extends Message >
Subscriber< M > 
subscribe (String topic, M messageTemplate, ros.Subscriber.Callback< M > callback, int queueSize) throws RosException

Package Attributes

String nsArg

Private Attributes

long cppHandle
boolean isValid
List< CppPublisher< Message > > publishers
Map< String, String > remappingArgs
RosCpp ros
List< CppServiceClient
< Message, Message, Service
< Message, Message > > > 
serviceClients
List< CppServiceServer
< Message, Message, Service
< Message, Message > > > 
serviceServers
List< CppSubscriber< Message > > subscribers
ExecutorService threadPool

Detailed Description

Definition at line 63 of file CppNodeHandle.java.


Constructor & Destructor Documentation

ros.roscpp.CppNodeHandle.CppNodeHandle ( RosCpp  ros,
String  ns,
Map< String, String >  remappings 
) [inline, protected]

Definition at line 86 of file CppNodeHandle.java.


Member Function Documentation

public<M extends Message> Publisher<M> ros.roscpp.CppNodeHandle.advertise ( String  newTopic,
messageTemplate,
int  queueSize,
boolean  latch 
) throws RosException [inline, package, virtual]

Implements ros::NodeHandle.

Definition at line 198 of file CppNodeHandle.java.

public<Q extends Message, A extends Message, S extends Service<Q, A> > ServiceServer<Q, A, S> ros.roscpp.CppNodeHandle.advertiseService ( String  serviceName,
serviceTemplate,
Callback< Q, A callback 
) throws RosException [inline, package]

Definition at line 219 of file CppNodeHandle.java.

boolean ros.roscpp.CppNodeHandle.checkMaster ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 121 of file CppNodeHandle.java.

Implements ros::NodeHandle.

Definition at line 102 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.finalize ( ) [inline, protected]

Definition at line 100 of file CppNodeHandle.java.

Collection<String> ros.roscpp.CppNodeHandle.getAdvertisedTopics ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 151 of file CppNodeHandle.java.

boolean ros.roscpp.CppNodeHandle.getBooleanParam ( String  param,
boolean  useCache 
) throws RosException [inline, virtual]

Implements ros::NodeHandle.

Definition at line 163 of file CppNodeHandle.java.

double ros.roscpp.CppNodeHandle.getDoubleParam ( String  param,
boolean  useCache 
) throws RosException [inline, virtual]

Implements ros::NodeHandle.

Definition at line 169 of file CppNodeHandle.java.

int ros.roscpp.CppNodeHandle.getIntParam ( String  param,
boolean  useCache 
) throws RosException [inline, virtual]

Implements ros::NodeHandle.

Definition at line 166 of file CppNodeHandle.java.

String ros.roscpp.CppNodeHandle.getMasterHost ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 122 of file CppNodeHandle.java.

int ros.roscpp.CppNodeHandle.getMasterPort ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 123 of file CppNodeHandle.java.

String ros.roscpp.CppNodeHandle.getName ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 126 of file CppNodeHandle.java.

String ros.roscpp.CppNodeHandle.getNamespace ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 127 of file CppNodeHandle.java.

String ros.roscpp.CppNodeHandle.getStringParam ( String  param,
boolean  useCache 
) throws RosException [inline, virtual]

Implements ros::NodeHandle.

Definition at line 172 of file CppNodeHandle.java.

Collection<String> ros.roscpp.CppNodeHandle.getSubscribedTopics ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 147 of file CppNodeHandle.java.

Collection<Topic> ros.roscpp.CppNodeHandle.getTopics ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 136 of file CppNodeHandle.java.

boolean ros.roscpp.CppNodeHandle.hasParam ( String  param) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 159 of file CppNodeHandle.java.

boolean ros.roscpp.CppNodeHandle.isValid ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 118 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.logDebug ( String  message) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 237 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.logError ( String  message) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 240 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.logFatal ( String  message) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 241 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.logInfo ( String  message) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 238 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.logWarn ( String  message) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 239 of file CppNodeHandle.java.

Time ros.roscpp.CppNodeHandle.now ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 232 of file CppNodeHandle.java.

boolean ros.roscpp.CppNodeHandle.ok ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 116 of file CppNodeHandle.java.

String ros.roscpp.CppNodeHandle.resolveName ( String  name) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 128 of file CppNodeHandle.java.

public<Q extends Message, A extends Message, S extends Service<Q, A> > ServiceClient<Q, A, S> ros.roscpp.CppNodeHandle.serviceClient ( String  serviceName,
serviceTemplate,
boolean  isPersistant,
Map< String, String >  headerValues 
) [inline, package, virtual]

Implements ros::NodeHandle.

Definition at line 210 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.setMasterRetryTimeout ( int  ms) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 124 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.setParam ( String  param,
boolean  value 
) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 176 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.setParam ( String  param,
int  value 
) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 177 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.setParam ( String  param,
double  value 
) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 178 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.setParam ( String  param,
String  value 
) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 179 of file CppNodeHandle.java.

Reimplemented from ros::NodeHandle.

Definition at line 104 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.spin ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 234 of file CppNodeHandle.java.

void ros.roscpp.CppNodeHandle.spinOnce ( ) [inline, virtual]

Implements ros::NodeHandle.

Definition at line 235 of file CppNodeHandle.java.

protected<V> void ros.roscpp.CppNodeHandle.submitFuture ( FutureTask< V >  f) [inline, package]

Definition at line 76 of file CppNodeHandle.java.

public<M extends Message> Subscriber<M> ros.roscpp.CppNodeHandle.subscribe ( String  topic,
messageTemplate,
ros.Subscriber.Callback< M >  callback,
int  queueSize 
) throws RosException [inline, package]

Definition at line 190 of file CppNodeHandle.java.


Member Data Documentation

Definition at line 65 of file CppNodeHandle.java.

Definition at line 66 of file CppNodeHandle.java.

Definition at line 67 of file CppNodeHandle.java.

List<CppPublisher<Message> > ros.roscpp.CppNodeHandle.publishers [private]

Definition at line 69 of file CppNodeHandle.java.

Map<String, String> ros.roscpp.CppNodeHandle.remappingArgs [private]

Definition at line 68 of file CppNodeHandle.java.

Definition at line 64 of file CppNodeHandle.java.

List<CppServiceClient<Message,Message,Service<Message, Message> > > ros.roscpp.CppNodeHandle.serviceClients [private]

Definition at line 72 of file CppNodeHandle.java.

List<CppServiceServer<Message,Message,Service<Message, Message> > > ros.roscpp.CppNodeHandle.serviceServers [private]

Definition at line 71 of file CppNodeHandle.java.

List<CppSubscriber<Message> > ros.roscpp.CppNodeHandle.subscribers [private]

Definition at line 70 of file CppNodeHandle.java.

ExecutorService ros.roscpp.CppNodeHandle.threadPool [private]

Definition at line 74 of file CppNodeHandle.java.


The documentation for this class was generated from the following file:


rosjava_jni
Author(s): Jason Wolfe (jawolfe@willowgarage.com), Nicholas Butko (nbutko@cogsci.ucsd.edu), Lorenz Moesenlechner (moesenle@in.tum.de)
autogenerated on Thu Jan 2 2014 11:07:00