Public Member Functions | Private Member Functions | Private Attributes
gazebo::ROSPopulationPlugin Class Reference

ROS interface for the Population plugin. More...

#include <ROSPopulationPlugin.hh>

Inheritance diagram for gazebo::ROSPopulationPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void Load (physics::WorldPtr _world, sdf::ElementPtr _sdf)
bool OnPopulationControl (osrf_gear::PopulationControl::Request &_req, osrf_gear::PopulationControl::Response &_res)
 Receives messages for controlling the object population plugin on the object population's topic.
virtual void Reset ()
 Documentation inherited.
 ROSPopulationPlugin ()
 Constructor.
virtual ~ROSPopulationPlugin ()
 Destructor.

Private Member Functions

virtual void Publish () const
 Overwrite this method for sending periodic updates with the plugin state.

Private Attributes

std::unique_ptr
< ROSPopulationPluginPrivate
dataPtr
 Private data pointer.

Detailed Description

ROS interface for the Population plugin.

Definition at line 33 of file ROSPopulationPlugin.hh.


Constructor & Destructor Documentation

Constructor.

Definition at line 51 of file ROSPopulationPlugin.cc.

Destructor.

Definition at line 58 of file ROSPopulationPlugin.cc.


Member Function Documentation

void ROSPopulationPlugin::Load ( physics::WorldPtr  _world,
sdf::ElementPtr  _sdf 
) [virtual]

Reimplemented from gazebo::PopulationPlugin.

Definition at line 64 of file ROSPopulationPlugin.cc.

bool ROSPopulationPlugin::OnPopulationControl ( osrf_gear::PopulationControl::Request &  _req,
osrf_gear::PopulationControl::Response &  _res 
)

Receives messages for controlling the object population plugin on the object population's topic.

Parameters:
[in]_reqThe message to control the object population plugin.
[out]_repIf the service succeed or not.

Definition at line 117 of file ROSPopulationPlugin.cc.

void ROSPopulationPlugin::Publish ( ) const [private, virtual]

Overwrite this method for sending periodic updates with the plugin state.

Reimplemented from gazebo::PopulationPlugin.

Definition at line 140 of file ROSPopulationPlugin.cc.

void ROSPopulationPlugin::Reset ( ) [virtual]

Documentation inherited.

Definition at line 112 of file ROSPopulationPlugin.cc.


Member Data Documentation

Private data pointer.

Reimplemented from gazebo::PopulationPlugin.

Definition at line 60 of file ROSPopulationPlugin.hh.


The documentation for this class was generated from the following files:


osrf_gear
Author(s):
autogenerated on Mon Sep 5 2016 03:41:33