|
Fawkes API
Fawkes Development Version
|
Adapter base class. More...
#include <>>

Public Member Functions | |
| virtual | ~StorageAdapter () |
| Virtual empty destructor. | |
| template<typename PointT > | |
| bool | is_pointtype () const |
| Check if storage adapter is for specified point type. | |
| template<typename PointT > | |
| PointCloudStorageAdapter < PointT > * | as_pointtype () |
| Transform to specific PointCloudStorageAdapter. | |
| virtual const char * | get_typename ()=0 |
| Get typename of storage adapter. | |
| virtual StorageAdapter * | clone () const =0 |
| Clone this storage adapter. | |
| virtual size_t | point_size () const =0 |
| Get size of a point. | |
| virtual unsigned int | width () const =0 |
| Get width of point cloud. | |
| virtual unsigned int | height () const =0 |
| Get height of point cloud. | |
| virtual size_t | num_points () const =0 |
| Get numer of points in point cloud. | |
| virtual void * | data_ptr () const =0 |
| Get pointer on data. | |
| virtual void | get_time (fawkes::Time &time) const =0 |
| Get last capture time. | |
Adapter base class.
The adapter base class is required to store point clouds of arbitrary point types.
| fawkes::PointCloudManager::StorageAdapter::~StorageAdapter | ( | ) | [virtual] |
Virtual empty destructor.
Definition at line 101 of file pointcloud_manager.cpp.
| PointCloudManager::PointCloudStorageAdapter< PointT > * fawkes::PointCloudManager::StorageAdapter::as_pointtype | ( | ) |
Transform to specific PointCloudStorageAdapter.
| Exception | thrown if storage adapter is not of requested point type or does not exist |
Definition at line 156 of file pointcloud_manager.h.
| PointCloudManager::StorageAdapter * fawkes::PointCloudManager::StorageAdapter::clone | ( | ) | const [pure virtual] |
Clone this storage adapter.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
| void * fawkes::PointCloudManager::StorageAdapter::data_ptr | ( | ) | const [pure virtual] |
Get pointer on data.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().
| void fawkes::PointCloudManager::StorageAdapter::get_time | ( | fawkes::Time & | time | ) | const [pure virtual] |
Get last capture time.
| time | upon return contains last capture time |
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().
| const char * fawkes::PointCloudManager::StorageAdapter::get_typename | ( | ) | [pure virtual] |
Get typename of storage adapter.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
| unsigned int fawkes::PointCloudManager::StorageAdapter::height | ( | ) | const [pure virtual] |
Get height of point cloud.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().
| bool fawkes::PointCloudManager::StorageAdapter::is_pointtype | ( | ) | const |
Check if storage adapter is for specified point type.
Definition at line 146 of file pointcloud_manager.h.
| size_t fawkes::PointCloudManager::StorageAdapter::num_points | ( | ) | const [pure virtual] |
Get numer of points in point cloud.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().
| size_t fawkes::PointCloudManager::StorageAdapter::point_size | ( | ) | const [pure virtual] |
Get size of a point.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().
| unsigned int fawkes::PointCloudManager::StorageAdapter::width | ( | ) | const [pure virtual] |
Get width of point cloud.
Implemented in fawkes::PointCloudManager::PointCloudStorageAdapter.
Referenced by RosPointCloudAdapter::get_data().