Public Member Functions | Private Attributes
occupancy_map_monitor::OccMapTree Class Reference

#include <occupancy_map.h>

List of all members.

Public Member Functions

void lockRead ()
 lock the underlying octree. it will not be read or written by the monitor until unlockTree() is called
void lockWrite ()
 lock the underlying octree. it will not be read or written by the monitor until unlockTree() is called
 OccMapTree (double resolution)
 OccMapTree (const std::string &filename)
void setUpdateCallback (const boost::function< void()> &update_callback)
 Set the callback to trigger when updates are received.
void triggerUpdateCallback (void)
void unlockRead ()
 unlock the underlying octree.
void unlockWrite ()
 unlock the underlying octree.

Private Attributes

boost::shared_mutex tree_mutex_
boost::function< void()> update_callback_

Detailed Description

Definition at line 50 of file occupancy_map.h.


Constructor & Destructor Documentation

occupancy_map_monitor::OccMapTree::OccMapTree ( double  resolution) [inline]

Definition at line 54 of file occupancy_map.h.

occupancy_map_monitor::OccMapTree::OccMapTree ( const std::string &  filename) [inline]

Definition at line 58 of file occupancy_map.h.


Member Function Documentation

lock the underlying octree. it will not be read or written by the monitor until unlockTree() is called

Definition at line 64 of file occupancy_map.h.

lock the underlying octree. it will not be read or written by the monitor until unlockTree() is called

Definition at line 77 of file occupancy_map.h.

void occupancy_map_monitor::OccMapTree::setUpdateCallback ( const boost::function< void()> &  update_callback) [inline]

Set the callback to trigger when updates are received.

Definition at line 95 of file occupancy_map.h.

Definition at line 88 of file occupancy_map.h.

unlock the underlying octree.

Definition at line 70 of file occupancy_map.h.

unlock the underlying octree.

Definition at line 83 of file occupancy_map.h.


Member Data Documentation

boost::shared_mutex occupancy_map_monitor::OccMapTree::tree_mutex_ [private]

Definition at line 101 of file occupancy_map.h.

boost::function<void()> occupancy_map_monitor::OccMapTree::update_callback_ [private]

Definition at line 102 of file occupancy_map.h.


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


perception
Author(s): Ioan Sucan , Jon Binney
autogenerated on Mon Oct 6 2014 02:31:20