Fawkes API  Fawkes Development Version
fawkes::pcl_utils::PointCloudNonDeleter Struct Reference

Helper struct to avoid deletion of PointClouds. More...

#include <utils.h>

List of all members.

Public Member Functions

template<typename T >
void operator() (T *t)
 Delete operator that does nothing.

Detailed Description

Helper struct to avoid deletion of PointClouds.

The input point cloud is accessible using a RefPtr. Since the PCL expectes Boost shared_ptr, we need to create such a shared pointer. But destruction of this would cause the deletion of the point cloud, which we do not want. Therefore, we provide this helper deleter that causes the PointCloud *not* to be deleted on reset.


Member Function Documentation

template<typename T >
void fawkes::pcl_utils::PointCloudNonDeleter::operator() ( T *  t) [inline]

Delete operator that does nothing.

Parameters:
tobject to destroy

Definition at line 120 of file utils.h.


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