#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 <boost/algorithm/string.hpp>
#include <boost/variant.hpp>
#include <boost/foreach.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"
Go to the source code of this file.
#define class eus_class |
Definition at line 76 of file roseus.cpp.
#define def_rosconsole_formatter | ( | funcname, | |
rosfuncname | |||
) |
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 730 of file roseus.cpp.
#define export eus_export |
Definition at line 78 of file roseus.cpp.
#define isInstalledCheck if( ! ros::ok() ) { error(E_USER,"You must call (ros::roseus \"name\") before creating the first NodeHandle"); } |
Definition at line 115 of file roseus.cpp.
#define s_mapAdvertised s_staticdata.mapAdvertised |
Definition at line 138 of file roseus.cpp.
#define s_mapHandle s_staticdata.mapHandle |
Definition at line 142 of file roseus.cpp.
#define s_mapServiced s_staticdata.mapServiced |
Definition at line 140 of file roseus.cpp.
#define s_mapSubscribed s_staticdata.mapSubscribed |
Definition at line 139 of file roseus.cpp.
#define s_mapTimered s_staticdata.mapTimered |
Definition at line 141 of file roseus.cpp.
#define s_node s_staticdata.node |
Definition at line 136 of file roseus.cpp.
#define s_rate s_staticdata.rate |
Definition at line 137 of file roseus.cpp.
#define string eus_string |
Definition at line 80 of file roseus.cpp.
#define throw eus_throw |
Definition at line 77 of file roseus.cpp.
#define vector eus_vector |
Definition at line 79 of file roseus.cpp.
Definition at line 1773 of file roseus.cpp.
Definition at line 1766 of file roseus.cpp.
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 | |||
) |
void EusValueToXmlRpc | ( | register context * | ctx, |
pointer | argp, | ||
XmlRpc::XmlRpcValue & | rpc_value | ||
) |
Definition at line 1150 of file roseus.cpp.
byte* get_string | ( | register pointer | s | ) |
Definition at line 90 of file roseus.cpp.
int getInteger | ( | pointer | message, |
pointer | method | ||
) |
Definition at line 180 of file roseus.cpp.
if | ( | s_bInstalled | ) |
Definition at line 753 of file roseus.cpp.
void register_roseus | ( | ) |
Definition at line 85 of file roseus.cpp.
Definition at line 522 of file roseus.cpp.
pointer ROSEUS_ADVERTISE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 876 of file roseus.cpp.
pointer ROSEUS_ADVERTISE_SERVICE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1091 of file roseus.cpp.
pointer ROSEUS_CREATE_NODEHANDLE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 615 of file roseus.cpp.
pointer ROSEUS_CREATE_TIMER | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1703 of file roseus.cpp.
pointer ROSEUS_DELETE_PARAM | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1437 of file roseus.cpp.
pointer ROSEUS_GET_HOST | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1582 of file roseus.cpp.
pointer ROSEUS_GET_NODES | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1590 of file roseus.cpp.
pointer ROSEUS_GET_PARAM | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1347 of file roseus.cpp.
pointer ROSEUS_GET_PARAM_CACHED | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1387 of file roseus.cpp.
pointer ROSEUS_GET_PORT | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1613 of file roseus.cpp.
pointer ROSEUS_GET_TOPICS | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1628 of file roseus.cpp.
pointer ROSEUS_GET_URI | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1620 of file roseus.cpp.
pointer ROSEUS_GETNAME | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1529 of file roseus.cpp.
pointer ROSEUS_GETNAMESPACE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1536 of file roseus.cpp.
pointer ROSEUS_GETNUMPUBLISHERS | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 836 of file roseus.cpp.
pointer ROSEUS_GETNUMSUBSCRIBERS | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 958 of file roseus.cpp.
pointer ROSEUS_GETTOPICPUBLISHER | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 984 of file roseus.cpp.
pointer ROSEUS_GETTOPICSUBSCRIBER | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 856 of file roseus.cpp.
pointer ROSEUS_HAS_PARAM | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1426 of file roseus.cpp.
Definition at line 720 of file roseus.cpp.
pointer ROSEUS_PUBLISH | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 928 of file roseus.cpp.
pointer ROSEUS_RATE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 703 of file roseus.cpp.
pointer ROSEUS_RESOLVE_NAME | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1519 of file roseus.cpp.
pointer ROSEUS_ROSPACK_FIND | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1448 of file roseus.cpp.
pointer ROSEUS_ROSPACK_PLUGINS | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1474 of file roseus.cpp.
pointer ROSEUS_SERVICE_CALL | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1040 of file roseus.cpp.
pointer ROSEUS_SERVICE_EXISTS | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1026 of file roseus.cpp.
pointer ROSEUS_SET_LOGGER_LEVEL | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1545 of file roseus.cpp.
pointer ROSEUS_SET_PARAM | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1230 of file roseus.cpp.
pointer ROSEUS_SLEEP | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 713 of file roseus.cpp.
pointer ROSEUS_SPIN | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 651 of file roseus.cpp.
pointer ROSEUS_SPINONCE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 661 of file roseus.cpp.
pointer ROSEUS_SUBSCRIBE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 769 of file roseus.cpp.
pointer ROSEUS_TIME_NOW | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 689 of file roseus.cpp.
pointer ROSEUS_UNADVERTISE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 915 of file roseus.cpp.
pointer ROSEUS_UNADVERTISE_SERVICE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1136 of file roseus.cpp.
pointer ROSEUS_UNSUBSCRIBE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 823 of file roseus.cpp.
pointer ROSEUS_WAIT_FOR_SERVICE | ( | register context * | ctx, |
int | n, | ||
pointer * | argv | ||
) |
Definition at line 1007 of file roseus.cpp.
void roseusSignalHandler | ( | int | sig | ) |
Definition at line 512 of file roseus.cpp.
pointer XmlRpcToEusList | ( | register context * | ctx, |
XmlRpc::XmlRpcValue | param_list | ||
) |
Definition at line 1298 of file roseus.cpp.
pointer XmlRpcToEusValue | ( | register context * | ctx, |
XmlRpc::XmlRpcValue | rpc_value | ||
) |
Definition at line 1245 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 750 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
Definition at line 144 of file roseus.cpp.
bool s_bInstalled = false [static] |
Definition at line 135 of file roseus.cpp.
RoseusStaticData s_staticdata [static] |
Definition at line 134 of file roseus.cpp.