gazebo::GazeboRosTime Class Reference
[ROS time broadcaster.]

ROS Time Controller. More...

#include <gazebo_ros_time.h>

List of all members.

Public Member Functions

 GazeboRosTime (Entity *parent)
 Constructor.
virtual ~GazeboRosTime ()
 Destructor.

Protected Member Functions

virtual void FiniChild ()
 Finalize the controller.
virtual void InitChild ()
 Init the controller.
virtual void LoadChild (XMLConfigNode *node)
 Load the controller.
virtual void UpdateChild ()
 Update the controller.

Private Attributes

boost::mutex lock
 A mutex to lock access to fields that are used in message callbacks.
ros::Publisher pub_
std::string robotNamespace
ParamT< std::string > * robotNamespaceP
 for setting ROS name space
ros::NodeHandle * rosnode_
 pointer to ros node
roslib::Clock timeMsg

Detailed Description

ROS Time Controller.

Definition at line 99 of file gazebo_ros_time.h.


Constructor & Destructor Documentation

GazeboRosTime::GazeboRosTime ( Entity *  parent  ) 

Constructor.

Parameters:
parent The parent entity, must be a Model or a Sensor

Definition at line 50 of file gazebo_ros_time.cpp.

GazeboRosTime::~GazeboRosTime (  )  [virtual]

Destructor.

Definition at line 60 of file gazebo_ros_time.cpp.


Member Function Documentation

void GazeboRosTime::FiniChild (  )  [protected, virtual]

Finalize the controller.

Definition at line 115 of file gazebo_ros_time.cpp.

void GazeboRosTime::InitChild (  )  [protected, virtual]

Init the controller.

Definition at line 90 of file gazebo_ros_time.cpp.

void GazeboRosTime::LoadChild ( XMLConfigNode *  node  )  [protected, virtual]

Load the controller.

Parameters:
node XML config node

Definition at line 68 of file gazebo_ros_time.cpp.

void GazeboRosTime::UpdateChild (  )  [protected, virtual]

Update the controller.

Definition at line 96 of file gazebo_ros_time.cpp.


Member Data Documentation

boost::mutex gazebo::GazeboRosTime::lock [private]

A mutex to lock access to fields that are used in message callbacks.

Definition at line 122 of file gazebo_ros_time.h.

ros::Publisher gazebo::GazeboRosTime::pub_ [private]

Definition at line 126 of file gazebo_ros_time.h.

Definition at line 132 of file gazebo_ros_time.h.

ParamT<std::string>* gazebo::GazeboRosTime::robotNamespaceP [private]

for setting ROS name space

Definition at line 131 of file gazebo_ros_time.h.

ros::NodeHandle* gazebo::GazeboRosTime::rosnode_ [private]

pointer to ros node

Definition at line 125 of file gazebo_ros_time.h.

roslib::Clock gazebo::GazeboRosTime::timeMsg [private]

Definition at line 128 of file gazebo_ros_time.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines


gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Fri Jan 11 10:09:35 2013