Public Member Functions
rviz::InteractiveMarkerReceiver Class Reference

#include <interactive_marker_client.h>

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

List of all members.

Public Member Functions

virtual void clearMarkers ()=0
virtual void processMarkerChanges (const std::vector< visualization_msgs::InteractiveMarker > *markers=NULL, const std::vector< visualization_msgs::InteractiveMarkerPose > *poses=NULL, const std::vector< std::string > *erases=NULL)=0
virtual void setStatusError (const std::string &name, const std::string &text)=0
virtual void setStatusOk (const std::string &name, const std::string &text)=0
virtual void setStatusWarn (const std::string &name, const std::string &text)=0
virtual bool subscribeToInit ()=0
virtual void unsubscribeFromInit ()=0

Detailed Description

Interface for objects which need to receive interactive markers from the server. InteractiveMarkerClient needs one of these to send its processed data into.

Definition at line 43 of file interactive_marker_client.h.


Member Function Documentation

virtual void rviz::InteractiveMarkerReceiver::clearMarkers ( ) [pure virtual]

Implement this to clear all markers.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.

virtual void rviz::InteractiveMarkerReceiver::processMarkerChanges ( const std::vector< visualization_msgs::InteractiveMarker > *  markers = NULL,
const std::vector< visualization_msgs::InteractiveMarkerPose > *  poses = NULL,
const std::vector< std::string > *  erases = NULL 
) [pure virtual]

Implement this to add or update all markers in "markers", update the poses of all markers mentioned in "poses", and to erase all markers named in "erases".

Implemented in rviz::InteractiveMarkerDisplay.

virtual void rviz::InteractiveMarkerReceiver::setStatusError ( const std::string &  name,
const std::string &  text 
) [pure virtual]

Implement this to receive named status messages indicating an "error" state.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.

virtual void rviz::InteractiveMarkerReceiver::setStatusOk ( const std::string &  name,
const std::string &  text 
) [pure virtual]

Implement this to receive named status messages indicating an "OK" state.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.

virtual void rviz::InteractiveMarkerReceiver::setStatusWarn ( const std::string &  name,
const std::string &  text 
) [pure virtual]

Implement this to receive named status messages indicating a "warning" state.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.

Implement this to subscribe to just the init messages.

Returns:
true on success, false on failure.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.

Implement this to unsubscribe from the init messages. Should never fail.

Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.


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


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