shared pointer for v4l2 control entries More...
#include <v4r_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 | ) |
Definition at line 252 of file v4r_uvc.cpp.
construtor
Definition at line 261 of file v4r_uvc.cpp.
| std::string V4RCam::ControlEntry::getQueryCtrlInfo | ( | ) | const |
error msgs in the case something happend
Definition at line 278 of file v4r_uvc.cpp.
| bool V4RCam::ControlEntry::hasErrorMsg | ( | ) | const |
clears the info_msgs stringstream and crates a info string
Definition at line 323 of file v4r_uvc.cpp.
| bool V4RCam::ControlEntry::hasInfoMsg | ( | ) | const |
returns false if therer are any error msgs waiting for pull
Definition at line 327 of file v4r_uvc.cpp.
| bool V4RCam::ControlEntry::hasValidType | ( | ) | const |
creates an info string related to the v4l2 control
Definition at line 265 of file v4r_uvc.cpp.
| std::string V4RCam::ControlEntry::pullErrorMsg | ( | ) |
return true if the value type is supported
Definition at line 311 of file v4r_uvc.cpp.
| std::string V4RCam::ControlEntry::pullInfoMsg | ( | ) |
clears the error_msgs stringstream and crates a info string
Definition at line 317 of file v4r_uvc.cpp.
| std::stringstream V4RCam::ControlEntry::error_msg |
| std::stringstream V4RCam::ControlEntry::info_msg |
| v4l2_queryctrl* V4RCam::ControlEntry::queryctrl |
| std::string V4RCam::ControlEntry::varName |