#include <ros/ros.h>
#include <ros/package.h>
#include <std_msgs/String.h>
#include <topic_tools/shape_shifter.h>
#include "rosR.h"
Go to the source code of this file.
Classes | |
struct | IStreamR |
class | SubscribeR |
Functions | |
bool | rros_stream_read_bool (IStreamR *s) |
float | rros_stream_read_float32 (IStreamR *s) |
std::vector< float > * | rros_stream_read_float32_array (IStreamR *s, unsigned int size=0) |
double | rros_stream_read_float64 (IStreamR *s) |
std::vector< double > * | rros_stream_read_float64_array (IStreamR *s, unsigned int size=0) |
signed short | rros_stream_read_int16 (IStreamR *s) |
std::vector< signed short > * | rros_stream_read_int16_array (IStreamR *s, unsigned int size=0) |
signed int | rros_stream_read_int32 (IStreamR *s) |
std::vector< signed int > * | rros_stream_read_int32_array (IStreamR *s, unsigned int size=0) |
signed long | rros_stream_read_int64 (IStreamR *s) |
std::vector< signed long > * | rros_stream_read_int64_array (IStreamR *s, unsigned int size=0) |
signed char | rros_stream_read_int8 (IStreamR *s) |
std::vector< signed char > * | rros_stream_read_int8_array (IStreamR *s, unsigned int size=0) |
char * | rros_stream_read_string (IStreamR *s) |
std::vector< std::string > * | rros_stream_read_string_array (IStreamR *s, unsigned int size=0) |
unsigned short | rros_stream_read_uint16 (IStreamR *s) |
std::vector< unsigned short > * | rros_stream_read_uint16_array (IStreamR *s, unsigned int size=0) |
unsigned int | rros_stream_read_uint32 (IStreamR *s) |
std::vector< unsigned int > * | rros_stream_read_uint32_array (IStreamR *s, unsigned int size=0) |
unsigned long | rros_stream_read_uint64 (IStreamR *s) |
std::vector< unsigned long > * | rros_stream_read_uint64_array (IStreamR *s, unsigned int size=0) |
unsigned char | rros_stream_read_uint8 (IStreamR *s) |
std::vector< unsigned char > * | rros_stream_read_uint8_array (IStreamR *s, unsigned int size=0) |
SubscribeR * | rrosSubscriber (NodeR *handle, const char *topic, const char *type, const char *msg_def, const char *msg_md5) |
const char * | rrosSubscriberGetMessageDefinition (SubscribeR *subscriber) |
const char * | rrosSubscriberGetMessageMD5 (SubscribeR *subscriber) |
IStreamR * | rrosSubscriberGetMessageStream (SubscribeR *subscriber) |
const char * | rrosSubscriberGetMessageType (SubscribeR *subscriber) |
const char * | rrosSubscriberGetPublisher (SubscribeR *subscriber) |
bool | rrosSubscriberHasAnyMsg (SubscribeR *subscriber) |
bool | rrosSubscriberHasNewMsg (SubscribeR *subscriber) |
bool rros_stream_read_bool | ( | IStreamR * | s | ) |
Definition at line 30 of file SubscribeR.cpp.
float rros_stream_read_float32 | ( | IStreamR * | s | ) |
Definition at line 66 of file SubscribeR.cpp.
std::vector<float>* rros_stream_read_float32_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 112 of file SubscribeR.cpp.
double rros_stream_read_float64 | ( | IStreamR * | s | ) |
Definition at line 70 of file SubscribeR.cpp.
std::vector<double>* rros_stream_read_float64_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 116 of file SubscribeR.cpp.
signed short rros_stream_read_int16 | ( | IStreamR * | s | ) |
Definition at line 42 of file SubscribeR.cpp.
std::vector<signed short>* rros_stream_read_int16_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 88 of file SubscribeR.cpp.
signed int rros_stream_read_int32 | ( | IStreamR * | s | ) |
Definition at line 50 of file SubscribeR.cpp.
std::vector<signed int>* rros_stream_read_int32_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 96 of file SubscribeR.cpp.
signed long rros_stream_read_int64 | ( | IStreamR * | s | ) |
Definition at line 58 of file SubscribeR.cpp.
std::vector<signed long>* rros_stream_read_int64_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 104 of file SubscribeR.cpp.
signed char rros_stream_read_int8 | ( | IStreamR * | s | ) |
Definition at line 34 of file SubscribeR.cpp.
std::vector<signed char>* rros_stream_read_int8_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 80 of file SubscribeR.cpp.
char* rros_stream_read_string | ( | IStreamR * | s | ) |
Definition at line 74 of file SubscribeR.cpp.
std::vector<std::string>* rros_stream_read_string_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 120 of file SubscribeR.cpp.
unsigned short rros_stream_read_uint16 | ( | IStreamR * | s | ) |
Definition at line 46 of file SubscribeR.cpp.
std::vector<unsigned short>* rros_stream_read_uint16_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 92 of file SubscribeR.cpp.
unsigned int rros_stream_read_uint32 | ( | IStreamR * | s | ) |
Definition at line 54 of file SubscribeR.cpp.
std::vector<unsigned int>* rros_stream_read_uint32_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 100 of file SubscribeR.cpp.
unsigned long rros_stream_read_uint64 | ( | IStreamR * | s | ) |
Definition at line 62 of file SubscribeR.cpp.
std::vector<unsigned long>* rros_stream_read_uint64_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 108 of file SubscribeR.cpp.
unsigned char rros_stream_read_uint8 | ( | IStreamR * | s | ) |
Definition at line 38 of file SubscribeR.cpp.
std::vector<unsigned char>* rros_stream_read_uint8_array | ( | IStreamR * | s, |
unsigned int | size = 0 |
||
) |
Definition at line 84 of file SubscribeR.cpp.
SubscribeR* rrosSubscriber | ( | NodeR * | handle, |
const char * | topic, | ||
const char * | type, | ||
const char * | msg_def, | ||
const char * | msg_md5 | ||
) |
Definition at line 3 of file SubscribeR.cpp.
const char* rrosSubscriberGetMessageDefinition | ( | SubscribeR * | subscriber | ) |
Definition at line 22 of file SubscribeR.cpp.
const char* rrosSubscriberGetMessageMD5 | ( | SubscribeR * | subscriber | ) |
Definition at line 20 of file SubscribeR.cpp.
IStreamR* rrosSubscriberGetMessageStream | ( | SubscribeR * | subscriber | ) |
Definition at line 27 of file SubscribeR.cpp.
const char* rrosSubscriberGetMessageType | ( | SubscribeR * | subscriber | ) |
Definition at line 18 of file SubscribeR.cpp.
const char* rrosSubscriberGetPublisher | ( | SubscribeR * | subscriber | ) |
Definition at line 16 of file SubscribeR.cpp.
bool rrosSubscriberHasAnyMsg | ( | SubscribeR * | subscriber | ) |
Definition at line 13 of file SubscribeR.cpp.
bool rrosSubscriberHasNewMsg | ( | SubscribeR * | subscriber | ) |
Definition at line 11 of file SubscribeR.cpp.