$search

MockReceiver Class Reference

Inheritance diagram for MockReceiver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void clearCalls ()
virtual void clearMarkers ()
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)
virtual void setStatusError (const std::string &name, const std::string &text)
virtual void setStatusOk (const std::string &name, const std::string &text)
virtual void setStatusWarn (const std::string &name, const std::string &text)
virtual bool subscribeToInit ()
virtual void unsubscribeFromInit ()

Public Attributes

std::string calls_
std::map< std::string, double > marks_

Detailed Description

Definition at line 34 of file interactive_marker_client_test.cpp.


Member Function Documentation

void MockReceiver::clearCalls (  )  [inline]

Definition at line 108 of file interactive_marker_client_test.cpp.

virtual void MockReceiver::clearMarkers (  )  [inline, virtual]

Implement this to clear all markers.

Implements rviz::InteractiveMarkerReceiver.

Definition at line 79 of file interactive_marker_client_test.cpp.

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

Definition at line 41 of file interactive_marker_client_test.cpp.

virtual void MockReceiver::setStatusError ( const std::string &  name,
const std::string &  text 
) [inline, virtual]

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

Implements rviz::InteractiveMarkerReceiver.

Definition at line 104 of file interactive_marker_client_test.cpp.

virtual void MockReceiver::setStatusOk ( const std::string &  name,
const std::string &  text 
) [inline, virtual]

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

Implements rviz::InteractiveMarkerReceiver.

Definition at line 96 of file interactive_marker_client_test.cpp.

virtual void MockReceiver::setStatusWarn ( const std::string &  name,
const std::string &  text 
) [inline, virtual]

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

Implements rviz::InteractiveMarkerReceiver.

Definition at line 100 of file interactive_marker_client_test.cpp.

virtual bool MockReceiver::subscribeToInit (  )  [inline, virtual]

Implement this to subscribe to just the init messages.

Returns:
true on success, false on failure.

Implements rviz::InteractiveMarkerReceiver.

Definition at line 85 of file interactive_marker_client_test.cpp.

virtual void MockReceiver::unsubscribeFromInit (  )  [inline, virtual]

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

Implements rviz::InteractiveMarkerReceiver.

Definition at line 91 of file interactive_marker_client_test.cpp.


Member Data Documentation

std::string MockReceiver::calls_

Definition at line 39 of file interactive_marker_client_test.cpp.

std::map<std::string, double> MockReceiver::marks_

Definition at line 37 of file interactive_marker_client_test.cpp.


The documentation for this class was generated from the following file:
 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:31 2013