Image Component Library (ICL)
|
image output implementation using the "Robotics Service Bus (RSB)" More...
#include <RSBImageOutput.h>
Public Member Functions | |
ICLIO_API | RSBImageOutput () |
creates a null instance More... | |
ICLIO_API | ~RSBImageOutput () |
Destructor. More... | |
ICLIO_API | RSBImageOutput (const std::string &scope, const std::string &transportList="spread") |
create RSBImageOutput with given scope and comma separated transport list More... | |
ICLIO_API void | init (const std::string &scope, const std::string &transportList="spread") |
deferred initialization (see RSBImageOutput(const string&,const string&) More... | |
virtual ICLIO_API void | send (const core::ImgBase *image) |
sender method More... | |
bool | isNull () const |
returns whether this is a null instance More... | |
operator bool () const | |
returns whether this is not a null instance More... | |
Public Member Functions inherited from icl::io::ImageOutput | |
virtual | ~ImageOutput () |
virtual destructor More... | |
virtual CompressionSpec | getCompression () const |
provide the protectedly inherited image compressor options here More... | |
virtual void | setCompression (const CompressionSpec &spec) |
provide the protectedly inherited image compressor options here More... | |
Private Attributes | |
Data * | m_data |
pimpl type More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::io::ImageCompressor | |
Header | uncompressHeader (const icl8u *compressedData, int len) |
only decodes an image header More... | |
Header | createHeader (const core::ImgBase *image, bool skipMetaData) |
creates a header for a given image (not data will be null) More... | |
ImageCompressor (const CompressionSpec &spec=CompressionSpec("none")) | |
Creates an image Compressor with given compression mode. More... | |
~ImageCompressor () | |
Destructor. More... | |
virtual void | setCompression (const CompressionSpec &spec) |
string based interface for setting the compression mode More... | |
virtual CompressionSpec | getCompression () const |
can be implemented for returning the current compression mode More... | |
utils::Time | pickTimeStamp (const icl8u *compressedData) |
this can help to find out wheter the data is new and must be encoded More... | |
const CompressedData | compress (const core::ImgBase *image, bool skipMetaData=false) |
encodes a given image into the compressed code More... | |
const core::ImgBase * | uncompress (const icl8u *compressedData, int len, core::ImgBase **dst=0) |
decodes the given byte segment More... | |
Protected Member Functions inherited from icl::utils::Uncopyable | |
Uncopyable () | |
Empty base constructor. More... | |
image output implementation using the "Robotics Service Bus (RSB)"
ICLIO_API icl::io::RSBImageOutput::RSBImageOutput | ( | ) |
creates a null instance
ICLIO_API icl::io::RSBImageOutput::~RSBImageOutput | ( | ) |
Destructor.
ICLIO_API icl::io::RSBImageOutput::RSBImageOutput | ( | const std::string & | scope, |
const std::string & | transportList = "spread" |
||
) |
create RSBImageOutput with given scope and comma separated transport list
supported transports are socket, spread and inprocess. Please note, that the spread-transport requires spread running.
ICLIO_API void icl::io::RSBImageOutput::init | ( | const std::string & | scope, |
const std::string & | transportList = "spread" |
||
) |
deferred initialization (see RSBImageOutput(const string&,const string&)
supported transports are socket, spread and inprocess. Please note, that the spread-transport requires spread running.
|
inline |
returns whether this is a null instance
|
inline |
returns whether this is not a null instance
|
virtual |
sender method
Implements icl::io::ImageOutput.
|
private |
pimpl type
pimpl pointer