18 #ifndef _GAZEBO_REST_WEB_PLUGIN_HH_ 
   19 #define _GAZEBO_REST_WEB_PLUGIN_HH_ 
   26 #include <gazebo/physics/physics.hh> 
   45     public: 
virtual void Load(
int _argc, 
char **_argv);
 
   49     public: 
void OnRestLoginRequest(ConstRestLoginPtr &_msg);
 
   53     public: 
void OnRestLogoutRequest(ConstRestLogoutPtr &_msg);
 
   57     public: 
void OnEventRestPost(ConstRestPostPtr &_msg);
 
   61     public: 
void OnSimEvent(ConstSimEventPtr &_msg);
 
   64     private: 
virtual void Init();
 
   67     private: 
void RunRequestQ();
 
   71     private: 
void ProcessLoginRequest(ConstRestLoginPtr _msg);
 
   92     private: std::vector<event::ConnectionPtr> connections;
 
   98     private: 
bool stopMsgProcessing;
 
  101     private: std::list<boost::shared_ptr<const gazebo::msgs::RestLogin>>
 
  105     private: boost::thread *requestQThread;
 
  108     private: boost::mutex requestQMutex;
 
  111     private: std::string session;
 
REST web plugin. 
Definition: RestWebPlugin.hh:34
 
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
 
REST interface. 
Definition: RestApi.hh:31
 
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
 
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
 
A plugin loaded within the gzserver on startup. 
Definition: Plugin.hh:303
 
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message. 
 
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:59