#include <interactive_marker_client.h>
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 |
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.
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.
virtual bool rviz::InteractiveMarkerReceiver::subscribeToInit | ( | ) | [pure virtual] |
Implement this to subscribe to just the init messages.
Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.
virtual void rviz::InteractiveMarkerReceiver::unsubscribeFromInit | ( | ) | [pure virtual] |
Implement this to unsubscribe from the init messages. Should never fail.
Implemented in rviz::InteractiveMarkerDisplay, and MockReceiver.