Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
icl::io::SharedMemoryGrabber Class Reference

Grabber class that grabs images from SharedMemorySegment instances. More...

#include <SharedMemoryGrabber.h>

Inheritance diagram for icl::io::SharedMemoryGrabber:
icl::io::Grabber icl::utils::Uncopyable icl::utils::Configurable

List of all members.

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::ImgBaseacquireImage ()
 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.

Detailed Description

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'.


Constructor & Destructor Documentation

icl::io::SharedMemoryGrabber::SharedMemoryGrabber ( const std::string &  sharedMemorySegmentID = "") throw (utils::ICLException)

Creates a new SharedMemoryGrabber instance (please use the GenericGrabber instead)

Destructor.


Member Function Documentation

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.

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'


Member Data Documentation

Hidden Data container.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines