|
Point Cloud Library (PCL)
1.5.1
|
Base class for PCD file grabber. More...
#include <pcl/io/pcd_grabber.h>


Public Member Functions | |
| PCDGrabberBase (const std::string &pcd_file, float frames_per_second, bool repeat) | |
| Constructor taking just one PCD file. | |
| PCDGrabberBase (const std::vector< std::string > &pcd_files, float frames_per_second, bool repeat) | |
| Constuctor taking a list of paths to PCD files, that are played in the order the appear in the list. | |
| virtual | ~PCDGrabberBase () throw () |
| virtual destructor | |
| virtual void | start () |
| starts playing the list of PCD files if frames_per_second is > 0. | |
| virtual void | stop () |
| stops playing the list of PCD files if frames_per_second is > 0. | |
| virtual void | trigger () |
| triggers a callback with new data | |
| virtual bool | isRunning () const |
| whether the grabber is started (publishing) or not. | |
| virtual std::string | getName () const |
| virtual void | rewind () |
| rewinds to the first PCD file in the list. | |
| virtual float | getFramesPerSecond () const |
| returns the frames_per_second. | |
| bool | isRepeatOn () const |
| returns whether the repeat flag is on | |
| template<typename T > | |
| boost::signals2::connection | registerCallback (const boost::function< T > &callback) |
| registers a callback function/method to a signal with the corresponding signature | |
| template<typename T > | |
| bool | providesCallback () const |
| indicates whether a signal with given parameter-type exists or not | |
Base class for PCD file grabber.
Definition at line 54 of file pcd_grabber.h.
| pcl::PCDGrabberBase::PCDGrabberBase | ( | const std::string & | pcd_file, |
| float | frames_per_second, | ||
| bool | repeat | ||
| ) |
Constructor taking just one PCD file.
| [in] | pcd_file | path to the PCD file |
| [in] | frames_per_second | frames per second. If 0, start() functions like a trigger, publishing the next PCD in the list. |
| [in] | repeat | whether to play PCD file in an endless loop or not. |
| pcl::PCDGrabberBase::PCDGrabberBase | ( | const std::vector< std::string > & | pcd_files, |
| float | frames_per_second, | ||
| bool | repeat | ||
| ) |
Constuctor taking a list of paths to PCD files, that are played in the order the appear in the list.
| pcd_files | vector of paths to PCD files. |
| frames_per_second | frames per second. If 0, start() functions like a trigger, publishing the next PCD in the list. |
| repeat | whether to play PCD file in an endless loop or not. |
| virtual pcl::PCDGrabberBase::~PCDGrabberBase | ( | ) | throw () [virtual] |
virtual destructor
| virtual float pcl::PCDGrabberBase::getFramesPerSecond | ( | ) | const [virtual] |
| virtual std::string pcl::PCDGrabberBase::getName | ( | ) | const [virtual] |
Implements pcl::Grabber.
| bool pcl::PCDGrabberBase::isRepeatOn | ( | ) | const |
returns whether the repeat flag is on
| virtual bool pcl::PCDGrabberBase::isRunning | ( | ) | const [virtual] |
whether the grabber is started (publishing) or not.
Implements pcl::Grabber.
| bool pcl::Grabber::providesCallback | ( | ) | const [inherited] |
| boost::signals2::connection pcl::Grabber::registerCallback | ( | const boost::function< T > & | callback | ) | [inherited] |
| virtual void pcl::PCDGrabberBase::rewind | ( | ) | [virtual] |
rewinds to the first PCD file in the list.
| virtual void pcl::PCDGrabberBase::start | ( | ) | [virtual] |
starts playing the list of PCD files if frames_per_second is > 0.
Otherwise it works as a trigger: publishes only the next PCD file in the list.
Implements pcl::Grabber.
| virtual void pcl::PCDGrabberBase::stop | ( | ) | [virtual] |
stops playing the list of PCD files if frames_per_second is > 0.
Otherwise the method has no effect.
Implements pcl::Grabber.
| virtual void pcl::PCDGrabberBase::trigger | ( | ) | [virtual] |
triggers a callback with new data
1.8.0