Public Member Functions | Private Attributes | List of all members
Markers Class Reference

Dynamic markers support class. More...

#include <mht.h>

Public Member Functions

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

Private Attributes

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

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 83 of file mht.h.

Member Function Documentation

void Markers::clean ( void  )

Remove markers that should not be transmitted.

Definition at line 385 of file mht.cpp.

void Markers::clean ( void  )
inline

Remove markers that should not be transmitted.

Definition at line 162 of file gnn.cpp.

void Markers::decrement ( void  )

Mark existing markers for deletion.

Definition at line 369 of file mht.cpp.

void Markers::decrement ( void  )
inline

Mark existing markers for deletion.

Definition at line 143 of file gnn.cpp.

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

Obtain the list of outgoing markers.

Returns
a vector of visualization_msgs::Marker

Definition at line 396 of file mht.cpp.

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

Obtain the list of outgoing markers.

Returns
a vector of visualization_msgs::Marker

Definition at line 178 of file gnn.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
markera marker to update

Definition at line 357 of file mht.cpp.

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

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
markera marker to update

Definition at line 128 of file gnn.cpp.

Member Data Documentation

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

Internal storing vector of markers.

Definition at line 113 of file mht.h.


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


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:18