Grabber interface for PCL 1.x device drivers.
More...
#include <grabber.h>
List of all members.
Public Member Functions |
virtual float | getFramesPerSecond () const =0 |
| returns fps. 0 if trigger based.
|
virtual std::string | getName () const =0 |
| returns the name of the concrete subclass.
|
| Grabber () |
| Constructor.
|
virtual bool | isRunning () const =0 |
| Indicates whether the grabber is streaming or not. This value is not defined for triggered devices.
|
template<typename T > |
bool | providesCallback () const |
| indicates whether a signal with given parameter-type exists or not
|
template<typename T > |
boost::signals2::connection | registerCallback (const boost::function< T > &callback) |
| registers a callback function/method to a signal with the corresponding signature
|
virtual void | start ()=0 |
| For devices that are streaming, the streams are started by calling this method. Trigger-based devices, just trigger the device once for each call of start.
|
virtual void | stop ()=0 |
| For devices that are streaming, the streams are stopped. This method has no effect for triggered devices.
|
virtual | ~Grabber () throw () |
| virtual desctructor.
|
Protected Member Functions |
template<typename T > |
void | block_signal () |
void | block_signals () |
template<typename T > |
boost::signals2::signal< T > * | createSignal () |
template<typename T > |
void | disconnect_all_slots () |
template<typename T > |
boost::signals2::signal< T > * | find_signal () const |
template<typename T > |
int | num_slots () const |
virtual void | signalsChanged () |
template<typename T > |
void | unblock_signal () |
void | unblock_signals () |
Protected Attributes |
std::map< std::string,
std::vector
< boost::signals2::connection > > | connections_ |
std::map< std::string,
std::vector
< boost::signals2::shared_connection_block > > | shared_connections_ |
std::map< std::string,
boost::signals2::signal_base * > | signals_ |
Detailed Description
Grabber interface for PCL 1.x device drivers.
- Author:
- Suat Gedikli <gedikli@willowgarage.com>
Definition at line 58 of file grabber.h.
Constructor & Destructor Documentation
virtual desctructor.
Definition at line 143 of file grabber.h.
Member Function Documentation
indicates whether a signal with given parameter-type exists or not
- Returns:
- true if signal exists, false otherwise
Definition at line 264 of file grabber.h.
registers a callback function/method to a signal with the corresponding signature
- Parameters:
-
[in] | callback,: | the callback function/method |
- Returns:
- Connection object, that can be used to disconnect the callback method from the signal again.
Definition at line 235 of file grabber.h.
Member Data Documentation
The documentation for this class was generated from the following file: