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;
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:89
Forward declarations for the common classes.
Definition: Animation.hh:26
Forward declarations for transport.
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
A plugin that transmits a message when an in-region event occurs.
Definition: OccupiedEventSource.hh:58
msgs::GzString msg
String message that is transmitted when an event occurs.
Definition: OccupiedEventSource.hh:81
The base class for emitting SimEvents.
Definition: EventSource.hh:40
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
transport::PublisherPtr msgPub
Publisher that transmits the message when an event occurs.
Definition: OccupiedEventSource.hh:84
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59