shared pointer for v4l2 control entries More...
#include <uvc.h>
Public Member Functions | |
ControlEntry (int id) | |
std::string | getQueryCtrlInfo () const |
error msgs in the case something happend | |
bool | hasErrorMsg () const |
clears the info_msgs stringstream and crates a info string | |
bool | hasInfoMsg () const |
returns false if therer are any error msgs waiting for pull | |
bool | hasValidType () const |
creates an info string related to the v4l2 control | |
std::string | pullErrorMsg () |
return true if the value type is supported | |
std::string | pullInfoMsg () |
clears the error_msgs stringstream and crates a info string | |
~ControlEntry () | |
construtor | |
Public Attributes | |
int | currentValue |
pointer to the original related control | |
std::stringstream | error_msg |
info msgs stream | |
std::stringstream | info_msg |
target value to set after a write | |
v4l2_queryctrl * | queryctrl |
name of the v4l2 control | |
int | targetValue |
current value of the control after read or set | |
bool | valid |
destructor | |
std::string | varName |
shared pointer for v4l2 control entries
v4l2 control abstraction
V4RCam::ControlEntry::ControlEntry | ( | int | id | ) |
std::string V4RCam::ControlEntry::getQueryCtrlInfo | ( | ) | const |
bool V4RCam::ControlEntry::hasErrorMsg | ( | ) | const |
bool V4RCam::ControlEntry::hasInfoMsg | ( | ) | const |
bool V4RCam::ControlEntry::hasValidType | ( | ) | const |
std::string V4RCam::ControlEntry::pullErrorMsg | ( | ) |
std::string V4RCam::ControlEntry::pullInfoMsg | ( | ) |
std::stringstream V4RCam::ControlEntry::error_msg |
std::stringstream V4RCam::ControlEntry::info_msg |
v4l2_queryctrl* V4RCam::ControlEntry::queryctrl |
std::string V4RCam::ControlEntry::varName |