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

Publisher, that can be used to publish images via SharedMemorySegment. More...

#include <SharedMemoryPublisher.h>

Inheritance diagram for icl::io::SharedMemoryPublisher:
icl::io::ImageOutput icl::io::ImageCompressor icl::utils::Uncopyable

List of all members.

Public Member Functions

 SharedMemoryPublisher (const std::string &memorySegmentName="") throw (utils::ICLException)
 Creates a new publisher instance.
 ~SharedMemoryPublisher ()
 Destructor.
void createPublisher (const std::string &memorySegmentName="") throw (utils::ICLException)
 sets the publisher to use a new segment
void publish (const core::ImgBase *image)
 publishs given image
virtual void send (const core::ImgBase *image)
 wraps publish to implement ImageOutput interface
std::string getMemorySegmentName () const throw (utils::ICLException)
 returns current memory segment name

Private Attributes

Data * m_data

Detailed Description

Publisher, that can be used to publish images via SharedMemorySegment.


Constructor & Destructor Documentation

icl::io::SharedMemoryPublisher::SharedMemoryPublisher ( const std::string &  memorySegmentName = "") throw (utils::ICLException)

Creates a new publisher instance.

If memorySegmentName is "", no connection is performed

Destructor.


Member Function Documentation

void icl::io::SharedMemoryPublisher::createPublisher ( const std::string &  memorySegmentName = "") throw (utils::ICLException)

sets the publisher to use a new segment

returns current memory segment name

publishs given image

virtual void icl::io::SharedMemoryPublisher::send ( const core::ImgBase image) [inline, virtual]

wraps publish to implement ImageOutput interface

Implements icl::io::ImageOutput.


Member Data Documentation

intenal data

Reimplemented from icl::io::ImageCompressor.


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