Image Component Library (ICL)
|
Internally used Mode struct (combination of videomode and framerate) More...
#include <DCDevice.h>
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; |
Internally used Mode struct (combination of videomode and framerate)
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
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
dc1394framerate_t icl::io::DCDevice::Mode::framerate |
corresponding framerate;
dc1394video_mode_t icl::io::DCDevice::Mode::videomode |
corresponding videomode