Markers Class Reference

Dynamic markers support class. More...

#include <mht.h>

List of all members.

Public Member Functions

void clean (void)
 Remove markers that should not be transmitted.
void decrement (void)
 Mark existing markers for deletion.
vector
< visualization_msgs::Marker > 
getOutgoingMarkers (void)
 Obtain the list of outgoing markers.
void update (visualization_msgs::Marker &marker)
 Update a internal marker.

Private Attributes

vector
< visualization_msgs::Marker > 
markers
 Internal storing vector of markers.

Detailed Description

Dynamic markers support class.

This class allows to easily publish a variable number of markers without paying attention to the delete action requests.

Definition at line 82 of file mht.h.


Member Function Documentation

void Markers::clean ( void   ) 

Remove markers that should not be transmitted.

Definition at line 383 of file mht.cpp.

void Markers::decrement ( void   ) 

Mark existing markers for deletion.

Definition at line 367 of file mht.cpp.

vector< visualization_msgs::Marker > Markers::getOutgoingMarkers ( void   ) 

Obtain the list of outgoing markers.

Returns:
a vector of visualization_msgs::Marker

Definition at line 394 of file mht.cpp.

void Markers::update ( visualization_msgs::Marker &  marker  ) 

Update a internal marker.

The updated marker will be marked for publishing, this marker may or may not already be present in the class.

Parameters:
marker a marker to update

Definition at line 355 of file mht.cpp.


Member Data Documentation

vector<visualization_msgs::Marker> Markers::markers [private]

Internal storing vector of markers.

Definition at line 112 of file mht.h.


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


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014