Public Types | |
typedef std::map< std::string, CallbackHelperPtr > | M_Method |
Public Member Functions | |
void | addMethod (const std::string &name, const CallbackHelperPtr &helper) |
void | callback (const ros::MessageEvent< RequestWrapper const > &evt) |
ResponseWrapperPtr | createClientConnectedResponse () |
void | handleClientConnected (const RequestWrapperConstPtr &req) |
void | handleProtocolMessage (const RequestWrapperConstPtr &req) |
Impl (const std::string &name, const ros::NodeHandle &nh) | |
void | ready () |
void | respond (const ResponseWrapperConstPtr &res) |
void | subscriberConnected (const ros::SingleSubscriberPublisher &pub) |
~Impl () | |
Public Attributes | |
M_Method | methods_ |
boost::mutex | methods_mutex_ |
std::string | name_ |
ros::NodeHandle | nh_ |
ros::Publisher | pub_ |
bool | ready_ |
bool | shutting_down_ |
boost::mutex | shutting_down_mutex_ |
ros::Subscriber | sub_ |
Definition at line 40 of file server.cpp.
typedef std::map<std::string, CallbackHelperPtr> rve_rpc::Server::Impl::M_Method |
Definition at line 63 of file server.cpp.
rve_rpc::Server::Impl::Impl | ( | const std::string & | name, |
const ros::NodeHandle & | nh | ||
) |
Definition at line 71 of file server.cpp.
Definition at line 79 of file server.cpp.
void rve_rpc::Server::Impl::addMethod | ( | const std::string & | name, |
const CallbackHelperPtr & | helper | ||
) |
Definition at line 155 of file server.cpp.
void rve_rpc::Server::Impl::callback | ( | const ros::MessageEvent< RequestWrapper const > & | evt | ) |
Definition at line 179 of file server.cpp.
Definition at line 101 of file server.cpp.
void rve_rpc::Server::Impl::handleClientConnected | ( | const RequestWrapperConstPtr & | req | ) |
Definition at line 129 of file server.cpp.
void rve_rpc::Server::Impl::handleProtocolMessage | ( | const RequestWrapperConstPtr & | req | ) |
Definition at line 134 of file server.cpp.
void rve_rpc::Server::Impl::ready | ( | ) |
Definition at line 146 of file server.cpp.
void rve_rpc::Server::Impl::respond | ( | const ResponseWrapperConstPtr & | res | ) |
Definition at line 211 of file server.cpp.
void rve_rpc::Server::Impl::subscriberConnected | ( | const ros::SingleSubscriberPublisher & | pub | ) |
Definition at line 124 of file server.cpp.
Definition at line 64 of file server.cpp.
boost::mutex rve_rpc::Server::Impl::methods_mutex_ |
Definition at line 65 of file server.cpp.
std::string rve_rpc::Server::Impl::name_ |
Definition at line 60 of file server.cpp.
Definition at line 57 of file server.cpp.
Definition at line 58 of file server.cpp.
Definition at line 61 of file server.cpp.
Definition at line 67 of file server.cpp.
boost::mutex rve_rpc::Server::Impl::shutting_down_mutex_ |
Definition at line 68 of file server.cpp.
Definition at line 59 of file server.cpp.