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

Internally used Mode struct (combination of videomode and framerate) More...

#include <DCDevice.h>

List of all members.

Public Member Functions

 Mode (dc1394video_mode_t vm, dc1394framerate_t fr)
 creates a new Mode with given videomode and framerate
 Mode (const std::string &stringRepr)
 creates a new Mode by a given string representation
 Mode (dc1394camera_t *cam)
 create a new Mode by given cam
std::string toString () const
 returns a string representation of the mode
bool supportedBy (dc1394camera_t *cam) const
 returns whether the given camera supports this mode or not
bool operator== (const Mode &m) const
 compares to modes
bool operator!= (const Mode &m) const
 compares to modes [!= complies !(==)]

Public Attributes

dc1394video_mode_t videomode
 corresponding videomode
dc1394framerate_t framerate
 corresponding framerate;

Detailed Description

Internally used Mode struct (combination of videomode and framerate)


Constructor & Destructor Documentation

icl::io::DCDevice::Mode::Mode ( dc1394video_mode_t  vm,
dc1394framerate_t  fr 
) [inline]

creates a new Mode with given videomode and framerate

icl::io::DCDevice::Mode::Mode ( const std::string &  stringRepr)

creates a new Mode by a given string representation

syntax: videomode@framerate

icl::io::DCDevice::Mode::Mode ( dc1394camera_t *  cam)

create a new Mode by given cam


Member Function Documentation

bool icl::io::DCDevice::Mode::operator!= ( const Mode m) const [inline]

compares to modes [!= complies !(==)]

bool icl::io::DCDevice::Mode::operator== ( const Mode m) const [inline]

compares to modes

bool icl::io::DCDevice::Mode::supportedBy ( dc1394camera_t *  cam) const

returns whether the given camera supports this mode or not

std::string icl::io::DCDevice::Mode::toString ( ) const

returns a string representation of the mode

syntax: videomode@framerate


Member Data Documentation

corresponding framerate;

corresponding videomode


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