rosjava.cpp File Reference

#include <list>
#include <vector>
#include <set>
#include <string>
#include <map>
#include <sstream>
#include <stdexcept>
#include <cstdio>
#include <boost/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/thread/tss.hpp>
#include <ros/init.h>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include <iostream>
#include <cmath>
#include "duration.h"
#include <sys/time.h>
#include "exceptions.h"
#include <stdint.h>
#include <ros/time.h>
#include "forwards.h"
#include <time.h>
#include "ros/forwards.h"
#include <assert.h>
#include <stddef.h>
#include <log4cxx/logger.h>
#include <boost/static_assert.hpp>
#include <cassert>
#include "ros/types.h"
#include <boost/shared_array.hpp>
#include "ros/macros.h"
#include "ros/assert.h"
#include <string.h>
#include <boost/array.hpp>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include <typeinfo>
#include <ros/message.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/message_traits.h"
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "ros/common.h"
#include "timer_options.h"
#include "wall_timer_options.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include "ros/init.h"
#include <XmlRpcValue.h>
#include "ros/node_handle.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include "tinystr.h"
#include <signal.h>
#include <jni.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JavaMessage
struct  ros::serialization::Serializer< JavaMessage >
class  ServiceMessage
class  SubscriptionMessage
class  ThreadJNIEnv

Namespaces

namespace  ros
namespace  ros::serialization

Defines

#define MY_ROS_ASSERT(cond)
#define PRIdS   "zd"

Functions

bool cacheClass (JNIEnv *env, jclass &ref, const char *name)
bool cacheMethod (JNIEnv *env, jmethodID &ref, jclass cls, const char *name, const char *args)
bool dieOnException (JNIEnv *env, const char *message="")
JNIEnv * getJNIEnv ()
string getString (JNIEnv *env, jstring s)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_advertise (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jtopic, jobject jmessage, jint queueSize, jboolean latch)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_advertiseService (JNIEnv *env, jclass __jni, jlong cppHandle, jstring name, jlong cppCallback)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_callService (JNIEnv *env, jclass __jni, jlong cppServiceClient, jobject jrequest, jobject jresponse, jstring md5)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_checkMaster (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createNodeHandle (JNIEnv *env, jclass __jni, jstring jns, jobjectArray jmappings)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createSrvCallback (JNIEnv *env, jclass __jni, jobject jcallback, jstring serviceMD5, jstring serviceDataType, jobject jreq, jobject jres)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createSubCallback (JNIEnv *env, jclass __jni, jobject jcallback, jobject messageTemplate)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_deleteSrvCallback (JNIEnv *env, jclass __jni, jlong cppCallback)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_deleteSubCallback (JNIEnv *env, jclass __jni, jlong cppCallback)
JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getAdvertisedTopics (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_getBooleanParam (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jboolean cache)
JNIEXPORT jdouble JNICALL Java_ros_roscpp_JNI_getDoubleParam (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jboolean cache)
JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getIntParam (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jboolean cache)
JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getMasterHost (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getMasterPort (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getName (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getNumSubscribers (JNIEnv *env, jclass __jni, jlong cppPublisher)
JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getPackageLocation (JNIEnv *env, jclass __jni, jstring jname)
JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getPublishedTopics (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getStringParam (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jboolean cache)
JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getSubscribedTopics (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_hasParam (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_init (JNIEnv *env, jclass __jni, jstring name, jboolean noSigintHandler, jboolean anonymousName, jboolean noRosout, jobjectArray args)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isPublisherValid (JNIEnv *env, jclass __jni, jlong cppPublisher)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isServiceServerValid (JNIEnv *env, jclass __jni, jlong cppServiceServer)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isSubscriberValid (JNIEnv *env, jclass __jni, jlong cppSubscriber)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logDebug (JNIEnv *env, jclass __jni, jstring jmessage)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logError (JNIEnv *env, jclass __jni, jstring jmessage)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logFatal (JNIEnv *env, jclass __jni, jstring jmessage)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logInfo (JNIEnv *env, jclass __jni, jstring jmessage)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logWarn (JNIEnv *env, jclass __jni, jstring jmessage)
JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_mapName (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jname)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_nhOk (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT jobject JNICALL Java_ros_roscpp_JNI_now (JNIEnv *env, jclass __jni)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_publish (JNIEnv *env, jclass __jni, jlong cppPublisher, jobject jmessage)
JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_rosOk (JNIEnv *env, jclass __jni)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_serviceClient (JNIEnv *env, jclass __jni, jlong cppHandle, jstring name, jstring md5, jboolean persist, jobjectArray jheaderValues)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setMasterRetryTimeout (JNIEnv *env, jclass __jni, jlong cppHandle, jint ms)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2D (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jdouble val)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2I (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jint val)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jstring val)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2Z (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jparam, jboolean val)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdown (JNIEnv *env, jclass __jni, jlong cppHandle)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownPublisher (JNIEnv *env, jclass __jni, jlong cppPublisher)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownServiceClient (JNIEnv *env, jclass __jni, jlong cppServiceClient)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownServiceServer (JNIEnv *env, jclass __jni, jlong cppServiceServer)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownSubscriber (JNIEnv *env, jclass __jni, jlong cppSubscriber)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_spin (JNIEnv *env, jclass __jni)
JNIEXPORT void JNICALL Java_ros_roscpp_JNI_spinOnce (JNIEnv *env, jclass __jni)
JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_subscribe (JNIEnv *env, jclass __jni, jlong cppHandle, jstring jtopic, jlong cppCallback, jint queueSize)
jstring makeString (JNIEnv *env, const string &s)

Variables

static jclass jByteBuffer
static jmethodID jByteBufferOrder
static jobject jByteOrderLittleEndian
static jclass jMessage
static jmethodID jMessageClone
static jmethodID jMessageDeserialize
static jmethodID jMessageGetDataType
static jmethodID jMessageGetMD5Sum
static jmethodID jMessageGetMessageDefinition
static jmethodID jMessageGetServerMD5Sum
static jmethodID jMessageSerializationLength
static jmethodID jMessageSerialize
static jclass jObject
static jclass jRosException
static jclass jServiceCallback
static jmethodID jServiceCallbackCall
static jclass jString
static jclass jSubscriberCallback
static jmethodID jSubscriberCallbackCall
static jclass jTime
static jmethodID jTimeCtor
static
boost::thread_specific_ptr
< ThreadJNIEnv
tp
static JavaVM * vm = NULL

Define Documentation

#define MY_ROS_ASSERT ( cond   ) 
Value:
do { \
    if (!(cond)) { \
      ROS_FATAL("ASSERTION FAILED\n\tfile = %s\n\tline = %d\n\tcond = %s\n", __FILE__, __LINE__, #cond); \
      ROS_ISSUE_BREAK() \
    } \
  } while (0)

Definition at line 67 of file rosjava.cpp.

#define PRIdS   "zd"

Definition at line 80 of file rosjava.cpp.


Function Documentation

bool cacheClass ( JNIEnv *  env,
jclass &  ref,
const char *  name 
)

Definition at line 207 of file rosjava.cpp.

bool cacheMethod ( JNIEnv *  env,
jmethodID &  ref,
jclass  cls,
const char *  name,
const char *  args 
)

Definition at line 214 of file rosjava.cpp.

bool dieOnException ( JNIEnv *  env,
const char *  message = "" 
)

Definition at line 115 of file rosjava.cpp.

JNIEnv* getJNIEnv (  ) 

Definition at line 153 of file rosjava.cpp.

string getString ( JNIEnv *  env,
jstring  s 
)

Definition at line 94 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_advertise ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jtopic,
jobject  jmessage,
jint  queueSize,
jboolean  latch 
)

Definition at line 880 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_advertiseService ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  name,
jlong  cppCallback 
)

Definition at line 1049 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_callService ( JNIEnv *  env,
jclass  __jni,
jlong  cppServiceClient,
jobject  jrequest,
jobject  jresponse,
jstring  md5 
)

Definition at line 940 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_checkMaster ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 342 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createNodeHandle ( JNIEnv *  env,
jclass  __jni,
jstring  jns,
jobjectArray  jmappings 
)

Definition at line 279 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createSrvCallback ( JNIEnv *  env,
jclass  __jni,
jobject  jcallback,
jstring  serviceMD5,
jstring  serviceDataType,
jobject  jreq,
jobject  jres 
)

Definition at line 1025 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_createSubCallback ( JNIEnv *  env,
jclass  __jni,
jobject  jcallback,
jobject  messageTemplate 
)

Definition at line 818 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_deleteSrvCallback ( JNIEnv *  env,
jclass  __jni,
jlong  cppCallback 
)

Definition at line 1037 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_deleteSubCallback ( JNIEnv *  env,
jclass  __jni,
jlong  cppCallback 
)

Definition at line 828 of file rosjava.cpp.

JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getAdvertisedTopics ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 480 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_getBooleanParam ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jboolean  cache 
)

Definition at line 535 of file rosjava.cpp.

JNIEXPORT jdouble JNICALL Java_ros_roscpp_JNI_getDoubleParam ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jboolean  cache 
)

Definition at line 559 of file rosjava.cpp.

JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getIntParam ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jboolean  cache 
)

Definition at line 547 of file rosjava.cpp.

JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getMasterHost ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 348 of file rosjava.cpp.

JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getMasterPort ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 355 of file rosjava.cpp.

JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getName ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 372 of file rosjava.cpp.

JNIEXPORT jint JNICALL Java_ros_roscpp_JNI_getNumSubscribers ( JNIEnv *  env,
jclass  __jni,
jlong  cppPublisher 
)

Definition at line 892 of file rosjava.cpp.

JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getPackageLocation ( JNIEnv *  env,
jclass  __jni,
jstring  jname 
)

Definition at line 389 of file rosjava.cpp.

JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getPublishedTopics ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 499 of file rosjava.cpp.

JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_getStringParam ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jboolean  cache 
)

Definition at line 571 of file rosjava.cpp.

JNIEXPORT jobjectArray JNICALL Java_ros_roscpp_JNI_getSubscribedTopics ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 461 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_hasParam ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam 
)

Definition at line 528 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_init ( JNIEnv *  env,
jclass  __jni,
jstring  name,
jboolean  noSigintHandler,
jboolean  anonymousName,
jboolean  noRosout,
jobjectArray  args 
)

Definition at line 226 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isPublisherValid ( JNIEnv *  env,
jclass  __jni,
jlong  cppPublisher 
)

Definition at line 905 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isServiceServerValid ( JNIEnv *  env,
jclass  __jni,
jlong  cppServiceServer 
)

Definition at line 1074 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_isSubscriberValid ( JNIEnv *  env,
jclass  __jni,
jlong  cppSubscriber 
)

Definition at line 860 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logDebug ( JNIEnv *  env,
jclass  __jni,
jstring  jmessage 
)

Definition at line 417 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logError ( JNIEnv *  env,
jclass  __jni,
jstring  jmessage 
)

Definition at line 435 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logFatal ( JNIEnv *  env,
jclass  __jni,
jstring  jmessage 
)

Definition at line 441 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logInfo ( JNIEnv *  env,
jclass  __jni,
jstring  jmessage 
)

Definition at line 423 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_logWarn ( JNIEnv *  env,
jclass  __jni,
jstring  jmessage 
)

Definition at line 429 of file rosjava.cpp.

JNIEXPORT jstring JNICALL Java_ros_roscpp_JNI_mapName ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jname 
)

Definition at line 381 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_nhOk ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 311 of file rosjava.cpp.

JNIEXPORT jobject JNICALL Java_ros_roscpp_JNI_now ( JNIEnv *  env,
jclass  __jni 
)

Definition at line 454 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_publish ( JNIEnv *  env,
jclass  __jni,
jlong  cppPublisher,
jobject  jmessage 
)

Definition at line 898 of file rosjava.cpp.

JNIEXPORT jboolean JNICALL Java_ros_roscpp_JNI_rosOk ( JNIEnv *  env,
jclass  __jni 
)

Definition at line 318 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_serviceClient ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  name,
jstring  md5,
jboolean  persist,
jobjectArray  jheaderValues 
)

Definition at line 926 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setMasterRetryTimeout ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jint  ms 
)

Definition at line 362 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2D ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jdouble  val 
)

Definition at line 600 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2I ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jint  val 
)

Definition at line 592 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2Ljava_lang_String_2 ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jstring  val 
)

Definition at line 608 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_setParam__JLjava_lang_String_2Z ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jparam,
jboolean  val 
)

Definition at line 585 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdown ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle 
)

Definition at line 292 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownPublisher ( JNIEnv *  env,
jclass  __jni,
jlong  cppPublisher 
)

Definition at line 913 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownServiceClient ( JNIEnv *  env,
jclass  __jni,
jlong  cppServiceClient 
)

Definition at line 949 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownServiceServer ( JNIEnv *  env,
jclass  __jni,
jlong  cppServiceServer 
)

Definition at line 1081 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_shutdownSubscriber ( JNIEnv *  env,
jclass  __jni,
jlong  cppSubscriber 
)

Definition at line 867 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_spin ( JNIEnv *  env,
jclass  __jni 
)

Definition at line 327 of file rosjava.cpp.

JNIEXPORT void JNICALL Java_ros_roscpp_JNI_spinOnce ( JNIEnv *  env,
jclass  __jni 
)

Definition at line 333 of file rosjava.cpp.

JNIEXPORT jlong JNICALL Java_ros_roscpp_JNI_subscribe ( JNIEnv *  env,
jclass  __jni,
jlong  cppHandle,
jstring  jtopic,
jlong  cppCallback,
jint  queueSize 
)

Definition at line 840 of file rosjava.cpp.

jstring makeString ( JNIEnv *  env,
const string &  s 
)

Definition at line 104 of file rosjava.cpp.


Variable Documentation

jclass jByteBuffer [static]

Definition at line 188 of file rosjava.cpp.

jmethodID jByteBufferOrder [static]

Definition at line 202 of file rosjava.cpp.

jobject jByteOrderLittleEndian [static]

Definition at line 204 of file rosjava.cpp.

jclass jMessage [static]

Definition at line 185 of file rosjava.cpp.

jmethodID jMessageClone [static]

Definition at line 192 of file rosjava.cpp.

jmethodID jMessageDeserialize [static]

Definition at line 199 of file rosjava.cpp.

jmethodID jMessageGetDataType [static]

Definition at line 193 of file rosjava.cpp.

jmethodID jMessageGetMD5Sum [static]

Definition at line 194 of file rosjava.cpp.

jmethodID jMessageGetMessageDefinition [static]

Definition at line 196 of file rosjava.cpp.

jmethodID jMessageGetServerMD5Sum [static]

Definition at line 195 of file rosjava.cpp.

jmethodID jMessageSerializationLength [static]

Definition at line 197 of file rosjava.cpp.

jmethodID jMessageSerialize [static]

Definition at line 198 of file rosjava.cpp.

jclass jObject [static]

Definition at line 180 of file rosjava.cpp.

jclass jRosException [static]

Definition at line 182 of file rosjava.cpp.

jclass jServiceCallback [static]

Definition at line 187 of file rosjava.cpp.

jmethodID jServiceCallbackCall [static]

Definition at line 201 of file rosjava.cpp.

jclass jString [static]

Definition at line 184 of file rosjava.cpp.

jclass jSubscriberCallback [static]

Definition at line 186 of file rosjava.cpp.

jmethodID jSubscriberCallbackCall [static]

Definition at line 200 of file rosjava.cpp.

jclass jTime [static]

Definition at line 183 of file rosjava.cpp.

jmethodID jTimeCtor [static]

Definition at line 190 of file rosjava.cpp.

boost::thread_specific_ptr<ThreadJNIEnv> tp [static]

Definition at line 151 of file rosjava.cpp.

JavaVM* vm = NULL [static]

Definition at line 113 of file rosjava.cpp.

 All Classes Namespaces Files Functions Variables Defines


rosjava_jni
Author(s): Jason Wolfe (jawolfe@willowgarage.com), Nicholas Butko (nbutko@cogsci.ucsd.edu), Lorenz Moesenlechner (moesenle@in.tum.de)
autogenerated on Fri Jan 11 09:41:21 2013