Public Member Functions | Protected Member Functions | Protected Attributes
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 ()
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

Definition at line 37 of file marker_array_display.cpp.

Definition at line 43 of file marker_array_display.cpp.


Member Function Documentation

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

When 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 108 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 78 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 101 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:


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:33