Static Public Member Functions | Static Package Functions | Private Member Functions
ros.roscpp.JNI Class Reference

List of all members.

Static Public Member Functions

static native long advertise (long cppHandle, String topic, Message msgTemplate, int queueSize, boolean latch)
static native long advertiseService (long cppHandle, String name, long cppCallback)
static native boolean callService (long cppServiceClient, Message request, Message response, String md5)
static native boolean checkMaster (long cppHandle)
static native long createNodeHandle (String ns, Object[] remappings)
static native long createSrvCallback (ServiceServer.Callback cb, String serviceMD5, String serviceDataType, Message reqTemplate, Message resTemplate)
static native long createSubCallback (Subscriber.Callback cb, Message template)
static native void deleteSrvCallback (long cppCallback)
static native void deleteSubCallback (long cppCallback)
static native String[] getAdvertisedTopics (long cppHandle)
static native boolean getBooleanParam (long cppHandle, String param, boolean useCache)
static native double getDoubleParam (long cppHandle, String param, boolean useCache)
static native int getIntParam (long cppHandle, String param, boolean useCache)
static native String getMasterHost (long cppHandle)
static native int getMasterPort (long cppHandle)
static native String getName (long cppHandle)
static native int getNumSubscribers (long cppPublisher)
static native String getPackageLocation (String name)
static native String[] getPublishedTopics (long cppHandle)
static native String getStringParam (long cppHandle, String param, boolean useCache)
static native String[] getSubscribedTopics (long cppHandle)
static native boolean hasParam (long cppHandle, String param)
static native void init (String name, boolean noSigintHandler, boolean anonymousName, boolean noRosout, String[] args)
static native boolean isPublisherValid (long cppPublisher)
static native boolean isServiceServerValid (long cppServiceServer)
static native boolean isSubscriberValid (long cppSubscriber)
static native void logDebug (String message)
static native void logError (String message)
static native void logFatal (String message)
static native void logInfo (String message)
static native void logWarn (String message)
static native String mapName (long cppHandle, String name)
static native boolean nhOk (long cppHandle)
static native Time now ()
static native void publish (long cppPublisher, Message m)
static native boolean rosOk ()
static native long serviceClient (long cppHandle, String name, String md5, boolean isPersistant, Object[] headerValues)
static native void setMasterRetryTimeout (long cppHandle, int ms)
static native boolean setParam (long cppHandle, String param, boolean value)
static native boolean setParam (long cppHandle, String param, int value)
static native boolean setParam (long cppHandle, String param, double value)
static native boolean setParam (long cppHandle, String param, String value)
static native void shutdown (long cppHandle)
static native void shutdownPublisher (long cppPublisher)
static native void shutdownServiceClient (long cppServiceClient)
static native void shutdownServiceServer (long cppServiceServer)
static native void shutdownSubscriber (long cppSubscriber)
static native void spin ()
static native void spinOnce ()
static native long subscribe (long cppHandle, String topic, long cppCallback, int queueSize)

Static Package Functions

 [static initializer]

Private Member Functions

 JNI ()

Detailed Description

Definition at line 45 of file JNI.java.


Constructor & Destructor Documentation

ros.roscpp.JNI.JNI ( ) [inline, private]

Definition at line 46 of file JNI.java.


Member Function Documentation

ros.roscpp.JNI.[static initializer] ( ) [inline, static, package]
static native long ros.roscpp.JNI.advertise ( long  cppHandle,
String  topic,
Message  msgTemplate,
int  queueSize,
boolean  latch 
) [static]
static native long ros.roscpp.JNI.advertiseService ( long  cppHandle,
String  name,
long  cppCallback 
) [static]
static native boolean ros.roscpp.JNI.callService ( long  cppServiceClient,
Message  request,
Message  response,
String  md5 
) [static]
static native boolean ros.roscpp.JNI.checkMaster ( long  cppHandle) [static]
static native long ros.roscpp.JNI.createNodeHandle ( String  ns,
Object[]  remappings 
) [static]
static native long ros.roscpp.JNI.createSrvCallback ( ServiceServer.Callback  cb,
String  serviceMD5,
String  serviceDataType,
Message  reqTemplate,
Message  resTemplate 
) [static]
static native long ros.roscpp.JNI.createSubCallback ( Subscriber.Callback  cb,
Message  template 
) [static]
static native void ros.roscpp.JNI.deleteSrvCallback ( long  cppCallback) [static]
static native void ros.roscpp.JNI.deleteSubCallback ( long  cppCallback) [static]
static native String [] ros.roscpp.JNI.getAdvertisedTopics ( long  cppHandle) [static]
static native boolean ros.roscpp.JNI.getBooleanParam ( long  cppHandle,
String  param,
boolean  useCache 
) [static]
static native double ros.roscpp.JNI.getDoubleParam ( long  cppHandle,
String  param,
boolean  useCache 
) [static]
static native int ros.roscpp.JNI.getIntParam ( long  cppHandle,
String  param,
boolean  useCache 
) [static]
static native String ros.roscpp.JNI.getMasterHost ( long  cppHandle) [static]
static native int ros.roscpp.JNI.getMasterPort ( long  cppHandle) [static]
static native String ros.roscpp.JNI.getName ( long  cppHandle) [static]
static native int ros.roscpp.JNI.getNumSubscribers ( long  cppPublisher) [static]
static native String ros.roscpp.JNI.getPackageLocation ( String  name) [static]
static native String [] ros.roscpp.JNI.getPublishedTopics ( long  cppHandle) [static]
static native String ros.roscpp.JNI.getStringParam ( long  cppHandle,
String  param,
boolean  useCache 
) [static]
static native String [] ros.roscpp.JNI.getSubscribedTopics ( long  cppHandle) [static]
static native boolean ros.roscpp.JNI.hasParam ( long  cppHandle,
String  param 
) [static]
static native void ros.roscpp.JNI.init ( String  name,
boolean  noSigintHandler,
boolean  anonymousName,
boolean  noRosout,
String[]  args 
) [static]
static native boolean ros.roscpp.JNI.isPublisherValid ( long  cppPublisher) [static]
static native boolean ros.roscpp.JNI.isServiceServerValid ( long  cppServiceServer) [static]
static native boolean ros.roscpp.JNI.isSubscriberValid ( long  cppSubscriber) [static]
static native void ros.roscpp.JNI.logDebug ( String  message) [static]
static native void ros.roscpp.JNI.logError ( String  message) [static]
static native void ros.roscpp.JNI.logFatal ( String  message) [static]
static native void ros.roscpp.JNI.logInfo ( String  message) [static]
static native void ros.roscpp.JNI.logWarn ( String  message) [static]
static native String ros.roscpp.JNI.mapName ( long  cppHandle,
String  name 
) [static]
static native boolean ros.roscpp.JNI.nhOk ( long  cppHandle) [static]
static native Time ros.roscpp.JNI.now ( ) [static]
static native void ros.roscpp.JNI.publish ( long  cppPublisher,
Message  m 
) [static]
static native boolean ros.roscpp.JNI.rosOk ( ) [static]
static native long ros.roscpp.JNI.serviceClient ( long  cppHandle,
String  name,
String  md5,
boolean  isPersistant,
Object[]  headerValues 
) [static]
static native void ros.roscpp.JNI.setMasterRetryTimeout ( long  cppHandle,
int  ms 
) [static]
static native boolean ros.roscpp.JNI.setParam ( long  cppHandle,
String  param,
boolean  value 
) [static]
static native boolean ros.roscpp.JNI.setParam ( long  cppHandle,
String  param,
int  value 
) [static]
static native boolean ros.roscpp.JNI.setParam ( long  cppHandle,
String  param,
double  value 
) [static]
static native boolean ros.roscpp.JNI.setParam ( long  cppHandle,
String  param,
String  value 
) [static]
static native void ros.roscpp.JNI.shutdown ( long  cppHandle) [static]
static native void ros.roscpp.JNI.shutdownPublisher ( long  cppPublisher) [static]
static native void ros.roscpp.JNI.shutdownServiceClient ( long  cppServiceClient) [static]
static native void ros.roscpp.JNI.shutdownServiceServer ( long  cppServiceServer) [static]
static native void ros.roscpp.JNI.shutdownSubscriber ( long  cppSubscriber) [static]
static native void ros.roscpp.JNI.spin ( ) [static]
static native void ros.roscpp.JNI.spinOnce ( ) [static]
static native long ros.roscpp.JNI.subscribe ( long  cppHandle,
String  topic,
long  cppCallback,
int  queueSize 
) [static]

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