Classes | Public Types | Public Member Functions | Public Attributes
rve_rpc::Client::Impl Struct Reference

List of all members.

Classes

struct  RequestInfo

Public Types

typedef std::map< std::string,
MethodInfo
M_MethodInfo
typedef std::map
< rve_common::UUID,
RequestInfo
M_RequestInfo
typedef std::set< std::string > S_string

Public Member Functions

void addMethod (const MethodInfo &method)
void call (const RequestWrapperPtr &req, const boost::function< void(const ResponseWrapperConstPtr &)> &response_cb)
void cb (const ros::MessageEvent< ResponseWrapper const > &res)
void connect ()
void connectAsync ()
void disconnect ()
void flush ()
void handleMethodsAdded (const ros::MessageEvent< ResponseWrapper const > &evt)
 Impl (const std::string &name, const ros::NodeHandle &nh)
bool isConnected ()
void onQueueTimer (const ros::WallTimerEvent &)
void pump ()
void sendConnected ()
void subAndPub ()
void waitForConnection ()
 ~Impl ()

Public Attributes

S_string broken_methods_
ros::CallbackQueue cbqueue_
bool connected_
M_MethodInfo methods_
ros::NodeHandle nh_
ros::Publisher pub_
ros::WallTimer queue_timer_
M_RequestInfo requests_
boost::mutex requests_mutex_
std::vector< ros::Subscribersubs_

Detailed Description

Definition at line 47 of file client.cpp.


Member Typedef Documentation

typedef std::map<std::string, MethodInfo> rve_rpc::Client::Impl::M_MethodInfo

Definition at line 89 of file client.cpp.

typedef std::map<rve_common::UUID, RequestInfo> rve_rpc::Client::Impl::M_RequestInfo

Definition at line 85 of file client.cpp.

Definition at line 92 of file client.cpp.


Constructor & Destructor Documentation

rve_rpc::Client::Impl::Impl ( const std::string &  name,
const ros::NodeHandle nh 
)

Definition at line 101 of file client.cpp.

rve_rpc::Client::Impl::~Impl ( )

Definition at line 107 of file client.cpp.


Member Function Documentation

void rve_rpc::Client::Impl::addMethod ( const MethodInfo method)

Definition at line 278 of file client.cpp.

void rve_rpc::Client::Impl::call ( const RequestWrapperPtr req,
const boost::function< void(const ResponseWrapperConstPtr &)> &  response_cb 
)

Definition at line 290 of file client.cpp.

void rve_rpc::Client::Impl::cb ( const ros::MessageEvent< ResponseWrapper const > &  res)

Definition at line 247 of file client.cpp.

void rve_rpc::Client::Impl::connect ( )

Definition at line 140 of file client.cpp.

void rve_rpc::Client::Impl::connectAsync ( )

Definition at line 184 of file client.cpp.

void rve_rpc::Client::Impl::disconnect ( )

Definition at line 146 of file client.cpp.

void rve_rpc::Client::Impl::flush ( )

Definition at line 322 of file client.cpp.

void rve_rpc::Client::Impl::handleMethodsAdded ( const ros::MessageEvent< ResponseWrapper const > &  evt)

Definition at line 197 of file client.cpp.

bool rve_rpc::Client::Impl::isConnected ( ) [inline]

Definition at line 54 of file client.cpp.

void rve_rpc::Client::Impl::onQueueTimer ( const ros::WallTimerEvent )

Definition at line 171 of file client.cpp.

Definition at line 285 of file client.cpp.

void rve_rpc::Client::Impl::sendConnected ( )

Definition at line 189 of file client.cpp.

void rve_rpc::Client::Impl::subAndPub ( )

Definition at line 115 of file client.cpp.

void rve_rpc::Client::Impl::waitForConnection ( )

Definition at line 154 of file client.cpp.


Member Data Documentation

S_string rve_rpc::Client::Impl::broken_methods_

Definition at line 93 of file client.cpp.

ros::CallbackQueue rve_rpc::Client::Impl::cbqueue_

Definition at line 67 of file client.cpp.

bool rve_rpc::Client::Impl::connected_

Definition at line 95 of file client.cpp.

M_MethodInfo rve_rpc::Client::Impl::methods_

Definition at line 90 of file client.cpp.

ros::NodeHandle rve_rpc::Client::Impl::nh_

Definition at line 70 of file client.cpp.

ros::Publisher rve_rpc::Client::Impl::pub_

Definition at line 69 of file client.cpp.

ros::WallTimer rve_rpc::Client::Impl::queue_timer_

Definition at line 98 of file client.cpp.

M_RequestInfo rve_rpc::Client::Impl::requests_

Definition at line 86 of file client.cpp.

boost::mutex rve_rpc::Client::Impl::requests_mutex_

Definition at line 87 of file client.cpp.

std::vector<ros::Subscriber> rve_rpc::Client::Impl::subs_

Definition at line 68 of file client.cpp.


The documentation for this struct was generated from the following file:


rve_rpc
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:30:53