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;
The base class for emitting SimEvents.
Definition EventSource.hh:35
Definition ExistenceEventSource.hh:28
void OnExistence(const std::string &_model, bool _alive)
callback for gazebo event
virtual void Load(const sdf::ElementPtr _sdf)
Reads the model filter and event name.
ExistenceEventSource(transport::PublisherPtr _pub, physics::WorldPtr _world)
Constructor.
boost::shared_ptr< Connection > ConnectionPtr
Definition CommonTypes.hh:134
boost::shared_ptr< World > WorldPtr
Definition PhysicsTypes.hh:89
boost::shared_ptr< Publisher > PublisherPtr
Definition TransportTypes.hh:49
Forward declarations for the common classes.
Definition Animation.hh:27