Classes | Namespaces | Defines | Functions | Variables
roseus.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <math.h>
#include <time.h>
#include <pthread.h>
#include <setjmp.h>
#include <errno.h>
#include <list>
#include <vector>
#include <set>
#include <string>
#include <map>
#include <sstream>
#include <cstdio>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include <boost/shared_ptr.hpp>
#include <ros/init.h>
#include <ros/rate.h>
#include <ros/master.h>
#include <ros/this_node.h>
#include <ros/node_handle.h>
#include <ros/service.h>
#include <rospack/rospack.h>
#include <ros/param.h>
#include <ros/callback_queue.h>
#include "eus.h"
Include dependency graph for roseus.cpp:

Go to the source code of this file.

Classes

class  EuslispMessage
class  EuslispServiceCallbackHelper
class  EuslispSubscriptionCallbackHelper
class  RoseusStaticData
struct  ros::serialization::Serializer< EuslispMessage >

Namespaces

namespace  ros
namespace  ros::master
namespace  ros::param
namespace  ros::serialization

Defines

#define class   eus_class
#define def_rosconsole_formatter(funcname, rosfuncname)
#define export   eus_export
#define isInstalledCheck   if( ! ros::ok() ) { error(E_USER,"You must call ros::init() before creating the first NodeHandle"); }
#define s_mapAdvertised   s_staticdata.mapAdvertised
#define s_mapHandle   s_staticdata.mapHandle
#define s_mapServiced   s_staticdata.mapServiced
#define s_mapSubscribed   s_staticdata.mapSubscribed
#define s_node   s_staticdata.node
#define s_rate   s_staticdata.rate
#define string   eus_string
#define throw   eus_throw
#define vector   eus_vector

Functions

pointer ___roseus (register context *ctx, int n, pointer *argv, pointer env)
else _exit (ckintval(argv[0]))
 def_rosconsole_formatter (ROSEUS_ROSDEBUG, ROS_DEBUG) def_rosconsole_formatter(ROSEUS_ROSINFO
ROS_INFO def_rosconsole_formatter (ROSEUS_ROSWARN, ROS_WARN) def_rosconsole_formatter(ROSEUS_ROSERROR
ROS_INFO ROS_ERROR def_rosconsole_formatter (ROSEUS_ROSFATAL, ROS_FATAL) pointer ROSEUS_EXIT(register context *ctx
int getInteger (pointer message, pointer method)
string getString (pointer message, pointer method)
 if (s_bInstalled)
 if (n==0) _exit(0)
void ros::param::init (const M_string &remappings)
void ros::master::init (const M_string &remappings)
void register_roseus ()
ROS_INFO ROS_ERROR int pointer
*argv 
ROS_INFO ("%s", __PRETTY_FUNCTION__)
pointer ROSEUS (register context *ctx, int n, pointer *argv)
pointer ROSEUS_ADVERTISE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_ADVERTISE_SERVICE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_CREATE_NODEHANDLE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GET_PARAM (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GET_PARAM_CASHED (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETNAME (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETNAMESPACE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETNUMPUBLISHERS (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETNUMSUBSCRIBERS (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETTOPICPUBLISHER (register context *ctx, int n, pointer *argv)
pointer ROSEUS_GETTOPICSUBSCRIBER (register context *ctx, int n, pointer *argv)
pointer ROSEUS_HAS_PARAM (register context *ctx, int n, pointer *argv)
pointer ROSEUS_OK (register context *ctx, int n, pointer *argv)
pointer ROSEUS_PUBLISH (register context *ctx, int n, pointer *argv)
pointer ROSEUS_RATE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_RESOLVE_NAME (register context *ctx, int n, pointer *argv)
pointer ROSEUS_ROSPACK_FIND (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SERVICE_CALL (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SERVICE_EXISTS (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SET_PARAM (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SLEEP (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SPIN (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SPINONCE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_SUBSCRIBE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_TIME_NOW (register context *ctx, int n, pointer *argv)
pointer ROSEUS_UNADVERTISE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_UNADVERTISE_SERVICE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_UNSUBSCRIBE (register context *ctx, int n, pointer *argv)
pointer ROSEUS_WAIT_FOR_SERVICE (register context *ctx, int n, pointer *argv)
void roseusSignalHandler (int sig)
pointer XmlRpcToEusList (register context *ctx, XmlRpc::XmlRpcValue param_list)

Variables

std::string ros::master::g_uri
pointer K_ROSEUS_DATATYPE
pointer K_ROSEUS_DEFINITION
pointer K_ROSEUS_DESERIALIZE
pointer K_ROSEUS_GET
pointer K_ROSEUS_GROUPNAME
pointer K_ROSEUS_INIT
pointer K_ROSEUS_MD5SUM
pointer K_ROSEUS_REQUEST
pointer K_ROSEUS_RESPONSE
pointer K_ROSEUS_SERIALIZATION_LENGTH
pointer K_ROSEUS_SERIALIZE
pointer LAMCLOSURE
ROS_INFO ROS_ERROR int n
pointer QANON
pointer QNOOUT
pointer QSVNVERSION
static bool s_bInstalled = false
static RoseusStaticData s_staticdata

Define Documentation

#define class   eus_class

Definition at line 73 of file roseus.cpp.

#define def_rosconsole_formatter (   funcname,
  rosfuncname 
)
Value:
pointer funcname(register context *ctx,int n,pointer *argv)   \
  { pointer *argv2,msg;                                         \
    int argc2;                                                  \
    argc2 = n+1;                                                \
    argv2 = (pointer *)malloc(sizeof(pointer)*argc2);           \
    argv2[0] = NIL;                                             \
    for(int i=0;i<n;i++) argv2[i+1]=argv[i] ;                   \
    msg = XFORMAT(ctx, argc2, argv2);                           \
    rosfuncname("%s", msg->c.str.chars);                        \
    free(argv2);                                                \
    return (T);                                                 \
  }

Definition at line 696 of file roseus.cpp.

#define export   eus_export

Definition at line 75 of file roseus.cpp.

#define isInstalledCheck   if( ! ros::ok() ) { error(E_USER,"You must call ros::init() before creating the first NodeHandle"); }

Definition at line 106 of file roseus.cpp.

#define s_mapAdvertised   s_staticdata.mapAdvertised

Definition at line 128 of file roseus.cpp.

#define s_mapHandle   s_staticdata.mapHandle

Definition at line 131 of file roseus.cpp.

#define s_mapServiced   s_staticdata.mapServiced

Definition at line 130 of file roseus.cpp.

#define s_mapSubscribed   s_staticdata.mapSubscribed

Definition at line 129 of file roseus.cpp.

#define s_node   s_staticdata.node

Definition at line 126 of file roseus.cpp.

#define s_rate   s_staticdata.rate

Definition at line 127 of file roseus.cpp.

#define string   eus_string

Definition at line 77 of file roseus.cpp.

#define throw   eus_throw

Definition at line 74 of file roseus.cpp.

#define vector   eus_vector

Definition at line 76 of file roseus.cpp.


Function Documentation

pointer ___roseus ( register context *  ctx,
int  n,
pointer *  argv,
pointer  env 
)

Definition at line 1321 of file roseus.cpp.

else _exit ( ckintval(argv[0])  )
def_rosconsole_formatter ( ROSEUS_ROSDEBUG  ,
ROS_DEBUG   
)
ROS_INFO def_rosconsole_formatter ( ROSEUS_ROSWARN  ,
ROS_WARN   
)
ROS_INFO ROS_ERROR def_rosconsole_formatter ( ROSEUS_ROSFATAL  ,
ROS_FATAL   
)
int getInteger ( pointer  message,
pointer  method 
)

Definition at line 169 of file roseus.cpp.

string getString ( pointer  message,
pointer  method 
)

Definition at line 140 of file roseus.cpp.

Definition at line 719 of file roseus.cpp.

if ( n  = =0)
void register_roseus ( )

Definition at line 82 of file roseus.cpp.

ROS_INFO ROS_ERROR int pointer* argv ROS_INFO ( "%s"  ,
__PRETTY_FUNCTION__   
)
pointer ROSEUS ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 497 of file roseus.cpp.

pointer ROSEUS_ADVERTISE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 850 of file roseus.cpp.

pointer ROSEUS_ADVERTISE_SERVICE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1049 of file roseus.cpp.

pointer ROSEUS_CREATE_NODEHANDLE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 581 of file roseus.cpp.

pointer ROSEUS_GET_PARAM ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1177 of file roseus.cpp.

pointer ROSEUS_GET_PARAM_CASHED ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1217 of file roseus.cpp.

pointer ROSEUS_GETNAME ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1303 of file roseus.cpp.

pointer ROSEUS_GETNAMESPACE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1310 of file roseus.cpp.

pointer ROSEUS_GETNUMPUBLISHERS ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 798 of file roseus.cpp.

pointer ROSEUS_GETNUMSUBSCRIBERS ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 930 of file roseus.cpp.

pointer ROSEUS_GETTOPICPUBLISHER ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 956 of file roseus.cpp.

pointer ROSEUS_GETTOPICSUBSCRIBER ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 824 of file roseus.cpp.

pointer ROSEUS_HAS_PARAM ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1256 of file roseus.cpp.

pointer ROSEUS_OK ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 686 of file roseus.cpp.

pointer ROSEUS_PUBLISH ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 901 of file roseus.cpp.

pointer ROSEUS_RATE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 669 of file roseus.cpp.

pointer ROSEUS_RESOLVE_NAME ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1293 of file roseus.cpp.

pointer ROSEUS_ROSPACK_FIND ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1267 of file roseus.cpp.

pointer ROSEUS_SERVICE_CALL ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1018 of file roseus.cpp.

pointer ROSEUS_SERVICE_EXISTS ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1004 of file roseus.cpp.

pointer ROSEUS_SET_PARAM ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1108 of file roseus.cpp.

pointer ROSEUS_SLEEP ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 679 of file roseus.cpp.

pointer ROSEUS_SPIN ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 617 of file roseus.cpp.

pointer ROSEUS_SPINONCE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 627 of file roseus.cpp.

pointer ROSEUS_SUBSCRIBE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 734 of file roseus.cpp.

pointer ROSEUS_TIME_NOW ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 655 of file roseus.cpp.

pointer ROSEUS_UNADVERTISE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 888 of file roseus.cpp.

pointer ROSEUS_UNADVERTISE_SERVICE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 1094 of file roseus.cpp.

pointer ROSEUS_UNSUBSCRIBE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 785 of file roseus.cpp.

pointer ROSEUS_WAIT_FOR_SERVICE ( register context *  ctx,
int  n,
pointer *  argv 
)

Definition at line 985 of file roseus.cpp.

void roseusSignalHandler ( int  sig)

Definition at line 487 of file roseus.cpp.

pointer XmlRpcToEusList ( register context *  ctx,
XmlRpc::XmlRpcValue  param_list 
)

Definition at line 1134 of file roseus.cpp.


Variable Documentation

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

pointer K_ROSEUS_GET

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

pointer K_ROSEUS_INIT

Definition at line 133 of file roseus.cpp.

pointer K_ROSEUS_MD5SUM

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

Definition at line 133 of file roseus.cpp.

pointer LAMCLOSURE

Definition at line 716 of file roseus.cpp.

pointer QANON

Definition at line 133 of file roseus.cpp.

pointer QNOOUT

Definition at line 133 of file roseus.cpp.

pointer QSVNVERSION

Definition at line 133 of file roseus.cpp.

bool s_bInstalled = false [static]

Definition at line 125 of file roseus.cpp.

Definition at line 124 of file roseus.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


roseus
Author(s): Kei Okada (k-okada@jsk.t.u-tokyo.ac.jp)
autogenerated on Sat Mar 23 2013 14:37:37