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

Dynamic markers support class. More...

Public Member Functions

void clean (void)
 Remove markers that should not be transmitted. More...
 
void decrement (void)
 Mark existing markers for deletion. 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...
 

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 27 of file view_laser_targets.cpp.

Member Function Documentation

void Markers::clean ( void  )
inline

Remove markers that should not be transmitted.

Definition at line 72 of file view_laser_targets.cpp.

void Markers::decrement ( void  )
inline

Mark existing markers for deletion.

Definition at line 52 of file view_laser_targets.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 88 of file view_laser_targets.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 37 of file view_laser_targets.cpp.

Member Data Documentation

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

Internal storing vector of markers.

Definition at line 95 of file view_laser_targets.cpp.


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


multimodal_pedestrian_detect
Author(s): Rui Azevedo
autogenerated on Mon Mar 2 2015 01:32:27