$search

rviz::MarkerArrayDisplay Class Reference

#include <marker_array_display.h>

Inheritance diagram for rviz::MarkerArrayDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void createProperties ()
 Called from setPropertyManager, gives the display a chance to create some properties immediately.
const std::string & getTopic ()
 MarkerArrayDisplay (const std::string &name, VisualizationManager *manager)
void setTopic (const std::string &topic)
virtual ~MarkerArrayDisplay ()

Protected Member Functions

void handleMarkerArray (const visualization_msgs::MarkerArray::ConstPtr &array)
virtual void subscribe ()
 Subscribes to the marker array topic.
virtual void unsubscribe ()
 Unsubscribes from the marker array topic.

Protected Attributes

std::string topic_
ROSTopicStringPropertyWPtr topic_property_

Detailed Description

Display for an array of markers. The MarkerDisplay class handles MarkerArray messages. This is just a wrapper to let MarkerArray topics get selected in the topic browser.

Definition at line 42 of file marker_array_display.h.


Constructor & Destructor Documentation

rviz::MarkerArrayDisplay::MarkerArrayDisplay ( const std::string &  name,
VisualizationManager manager 
)

Definition at line 37 of file marker_array_display.cpp.

rviz::MarkerArrayDisplay::~MarkerArrayDisplay (  )  [virtual]

Definition at line 43 of file marker_array_display.cpp.


Member Function Documentation

void rviz::MarkerArrayDisplay::createProperties (  )  [virtual]

Called from setPropertyManager, gives the display a chance to create some properties immediately.

Once this function is called, the property_manager_ member is valid and will stay valid

Reimplemented from rviz::MarkerDisplay.

Definition at line 55 of file marker_array_display.cpp.

const std::string& rviz::MarkerArrayDisplay::getTopic (  )  [inline]

Definition at line 49 of file marker_array_display.h.

void rviz::MarkerArrayDisplay::handleMarkerArray ( const visualization_msgs::MarkerArray::ConstPtr array  )  [protected]

Definition at line 102 of file marker_array_display.cpp.

void rviz::MarkerArrayDisplay::setTopic ( const std::string &  topic  ) 

Definition at line 47 of file marker_array_display.cpp.

void rviz::MarkerArrayDisplay::subscribe (  )  [protected, virtual]

Subscribes to the marker array topic.

Reimplemented from rviz::MarkerDisplay.

Definition at line 72 of file marker_array_display.cpp.

void rviz::MarkerArrayDisplay::unsubscribe (  )  [protected, virtual]

Unsubscribes from the marker array topic.

Reimplemented from rviz::MarkerDisplay.

Definition at line 95 of file marker_array_display.cpp.


Member Data Documentation

std::string rviz::MarkerArrayDisplay::topic_ [protected]

Definition at line 65 of file marker_array_display.h.

ROSTopicStringPropertyWPtr rviz::MarkerArrayDisplay::topic_property_ [protected]

Definition at line 66 of file marker_array_display.h.


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


rviz
Author(s): Josh Faust, Dave Hershberger
autogenerated on Sat Mar 2 14:17:35 2013