Go to the documentation of this file.
18 #ifndef GAZEBO_PLUGINS_EVENTS_OCCUPIEDEVENTSSOURCE_HH_
19 #define GAZEBO_PLUGINS_EVENTS_OCCUPIEDEVENTSSOURCE_HH_
63 const std::map<std::string, RegionPtr> &_regions);
69 public:
virtual void Load(
const sdf::ElementPtr _sdf);
72 private:
void Update();
75 private: sdf::ElementPtr sdf;
78 private: std::map<std::string, RegionPtr> regions;
81 public: msgs::GzString
msg;
93 private: std::string regionName;
Forward declarations for the common classes.
Definition: Animation.hh:26
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
Forward declarations for transport.
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
msgs::GzString msg
String message that is transmitted when an event occurs.
Definition: OccupiedEventSource.hh:81
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
The base class for emitting SimEvents.
Definition: EventSource.hh:40
transport::PublisherPtr msgPub
Publisher that transmits the message when an event occurs.
Definition: OccupiedEventSource.hh:84
A plugin that transmits a message when an in-region event occurs.
Definition: OccupiedEventSource.hh:58
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:89
#define GAZEBO_VISIBLE
Definition: system.hh:59