Image Component Library (ICL)
|
Grabber class that grabs images from SharedMemorySegment instances. More...
#include <SharedMemoryGrabber.h>
Public Member Functions | |
SharedMemoryGrabber (const std::string &sharedMemorySegmentID="") throw (utils::ICLException) | |
Creates a new SharedMemoryGrabber instance (please use the GenericGrabber instead) | |
~SharedMemoryGrabber () | |
Destructor. | |
virtual const core::ImgBase * | acquireImage () |
grabbing function | |
void | processPropertyChange (const utils::Configurable::Property &prop) |
callback for changed configurable properties | |
Static Public Member Functions | |
static const std::vector < GrabberDeviceDescription > & | getDeviceList (bool rescan) |
returns a list of all available shared-memory image-streams | |
static void | resetBus (bool verbose) |
resets all 'shared-memory-segents and system-semaphores' | |
Private Member Functions | |
void | init (const std::string &sharedMemorySegmentID) throw (utils::ICLException) |
Connects an unconnected grabber to given shared memory segment. | |
Private Attributes | |
Data * | m_data |
Hidden Data container. |
Grabber class that grabs images from SharedMemorySegment instances.
Images that are published using the SharedMemoryPublisher can be grabbed with this grabber type. Please don't use this Grabber class directly, but instantiate GenericGrabber with Devide type 'sm'.
icl::io::SharedMemoryGrabber::SharedMemoryGrabber | ( | const std::string & | sharedMemorySegmentID = "" | ) | throw (utils::ICLException) |
Creates a new SharedMemoryGrabber instance (please use the GenericGrabber instead)
Destructor.
virtual const core::ImgBase* icl::io::SharedMemoryGrabber::acquireImage | ( | ) | [virtual] |
grabbing function
grab function calls the Grabber-specific acquireImage-method and applies distortion if necessary
If dst is not NULL, it is exploited and filled with image data
Reimplemented from icl::io::Grabber.
static const std::vector<GrabberDeviceDescription>& icl::io::SharedMemoryGrabber::getDeviceList | ( | bool | rescan | ) | [static] |
returns a list of all available shared-memory image-streams
void icl::io::SharedMemoryGrabber::init | ( | const std::string & | sharedMemorySegmentID | ) | throw (utils::ICLException) [private] |
Connects an unconnected grabber to given shared memory segment.
void icl::io::SharedMemoryGrabber::processPropertyChange | ( | const utils::Configurable::Property & | prop | ) |
callback for changed configurable properties
Reimplemented from icl::io::Grabber.
static void icl::io::SharedMemoryGrabber::resetBus | ( | bool | verbose | ) | [static] |
resets all 'shared-memory-segents and system-semaphores'
Data* icl::io::SharedMemoryGrabber::m_data [private] |
Hidden Data container.