18 #ifndef GAZEBO_PLUGINS_EXISTENCEVENTSOURCE_HH_ 
   19 #define GAZEBO_PLUGINS_EXISTENCEVENTSOURCE_HH_ 
   37     public: 
virtual void Load(
const sdf::ElementPtr _sdf);
 
   42     public: 
void OnExistence(
const std::string &_model, 
bool _alive);
 
   48     private: std::string model;
 
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:89
Definition: ExistenceEventSource.hh:27
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
virtual void Load(const sdf::ElementPtr _sdf)
Reads the model filter and event name. 
void OnExistence(const std::string &_model, bool _alive)
callback for gazebo event 
The base class for emitting SimEvents. 
Definition: EventSource.hh:40
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
ExistenceEventSource(transport::PublisherPtr _pub, physics::WorldPtr _world)
Constructor.