Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
rve_rpc::Client Class Reference

#include <client.h>

List of all members.

Classes

struct  Impl
struct  MethodInfo

Public Member Functions

template<typename Req , typename Res >
Method< Req, Res > addMethod (const std::string &name)
 Client (const std::string &name, const ros::NodeHandle &nh)
void connect ()
void connectAsync ()
void disconnect ()
void flush ()
bool isConnected ()
void waitForConnection ()

Private Types

typedef boost::shared_ptr< ImplImplPtr

Private Member Functions

void addMethod (const MethodInfo &name)
void call (const RequestWrapperPtr &req, const boost::function< void(const ResponseWrapperConstPtr &)> &response_cb)
void pump ()

Private Attributes

ImplPtr impl_

Detailed Description

Definition at line 166 of file client.h.


Member Typedef Documentation

typedef boost::shared_ptr<Impl> rve_rpc::Client::ImplPtr [private]

Definition at line 210 of file client.h.


Constructor & Destructor Documentation

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

Definition at line 373 of file client.cpp.


Member Function Documentation

template<typename Req , typename Res >
Method<Req, Res> rve_rpc::Client::addMethod ( const std::string &  name) [inline]

Definition at line 190 of file client.h.

void rve_rpc::Client::addMethod ( const MethodInfo name) [private]

Definition at line 404 of file client.cpp.

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

Definition at line 399 of file client.cpp.

Definition at line 379 of file client.cpp.

Definition at line 384 of file client.cpp.

Definition at line 414 of file client.cpp.

Definition at line 419 of file client.cpp.

Definition at line 389 of file client.cpp.

void rve_rpc::Client::pump ( ) [private]

Definition at line 409 of file client.cpp.

Definition at line 394 of file client.cpp.


Member Data Documentation

Definition at line 212 of file client.h.


The documentation for this class was generated from the following files:


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