$search

wviz_scene_manager::SceneManager Class Reference

#include <wviz_scene_manager.h>

List of all members.

Public Member Functions

bool addMarker (wviz_scene_manager::AddMarker::Request &req, wviz_scene_manager::AddMarker::Response &resp)
 adds a marker topic to the scene manager
std::string getMarkerStringID (const visualization_msgs::Marker &marker)
 creates a marker id string from a marker message
bool removeMarker (wviz_scene_manager::RemoveMarker::Request &req, wviz_scene_manager::RemoveMarker::Response &resp)
 removes a marker topic from the scene manager
 SceneManager (ros::NodeHandle &node)
 Constructor.
void spin ()
 Starts the server and spins.
void visualizationMarkerCallback (const visualization_msgs::MarkerConstPtr &marker)
 Callback for visualization markers.
virtual ~SceneManager ()
 Destructor - Cleans up.

Private Attributes

ros::ServiceServer add_marker_srv_
ros::NodeHandle node_
ros::ServiceServer remove_marker_srv_
Scene scene_
ros::Publisher scene_pub_
std::map< std::string,
ros::Subscriber
visualization_marker_subscribers_

Detailed Description

Definition at line 64 of file wviz_scene_manager.h.


Constructor & Destructor Documentation

wviz_scene_manager::SceneManager::SceneManager ( ros::NodeHandle node  ) 

Constructor.

Returns:

Definition at line 45 of file wviz_scene_manager.cpp.

wviz_scene_manager::SceneManager::~SceneManager (  )  [virtual]

Destructor - Cleans up.

Definition at line 55 of file wviz_scene_manager.cpp.


Member Function Documentation

bool wviz_scene_manager::SceneManager::addMarker ( wviz_scene_manager::AddMarker::Request req,
wviz_scene_manager::AddMarker::Response resp 
)

adds a marker topic to the scene manager

Definition at line 78 of file wviz_scene_manager.cpp.

std::string wviz_scene_manager::SceneManager::getMarkerStringID ( const visualization_msgs::Marker marker  ) 

creates a marker id string from a marker message

Definition at line 119 of file wviz_scene_manager.cpp.

bool wviz_scene_manager::SceneManager::removeMarker ( wviz_scene_manager::RemoveMarker::Request req,
wviz_scene_manager::RemoveMarker::Response resp 
)

removes a marker topic from the scene manager

Definition at line 86 of file wviz_scene_manager.cpp.

void wviz_scene_manager::SceneManager::spin (  ) 

Starts the server and spins.

Definition at line 94 of file wviz_scene_manager.cpp.

void wviz_scene_manager::SceneManager::visualizationMarkerCallback ( const visualization_msgs::MarkerConstPtr marker  ) 

Callback for visualization markers.

Definition at line 59 of file wviz_scene_manager.cpp.


Member Data Documentation

Definition at line 105 of file wviz_scene_manager.h.

Definition at line 102 of file wviz_scene_manager.h.

Definition at line 106 of file wviz_scene_manager.h.

Definition at line 107 of file wviz_scene_manager.h.

Definition at line 104 of file wviz_scene_manager.h.

Definition at line 103 of file wviz_scene_manager.h.


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


wviz_scene_manager
Author(s): Benjamin Pitzer
autogenerated on Sun Mar 3 15:08:59 2013