17 #ifndef _SIMEVENTS_PLUGIN_HH_
18 #define _SIMEVENTS_PLUGIN_HH_
49 private:
void OnModelInfo(ConstModelPtr &_msg);
53 private:
void OnRequest(ConstRequestPtr &_msg);
59 private: sdf::ElementPtr sdf;
62 private: std::map<std::string, RegionPtr> regions;
65 private: std::vector<EventSourcePtr> events;
77 private: std::set<std::string> models;
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
A plugin with access to physics::World.
Definition: Plugin.hh:220
void Init()
Called upon initialization.
void Update()
Called every simulation step.
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:84
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
virtual ~SimEventsPlugin()
Destrutor.
Definition: SimEventsPlugin.hh:31
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf)
Called when the world file is loaded.