18 #ifndef GAZEBO_POPULATION_PLUGIN_HH_ 19 #define GAZEBO_POPULATION_PLUGIN_HH_ 22 #include <gazebo/common/Plugin.hh> 23 #include <gazebo/msgs/gz_string.pb.h> 24 #include <gazebo/physics/PhysicsTypes.hh> 30 class PopulationPluginPrivate;
90 public:
virtual void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf);
96 public:
void Resume();
99 public:
virtual void Restart();
102 protected:
void OnUpdate();
109 protected:
void OnActivation(ConstGzStringPtr &_msg);
112 protected:
bool Enabled()
const;
116 private:
virtual void Publish()
const;
119 private: std::unique_ptr<PopulationPluginPrivate>
dataPtr;
A plugin that allows models to be spawned at a given location in a specific simulation time...
std::unique_ptr< PopulationPluginPrivate > dataPtr
Private data pointer.