Public Member Functions | Public Attributes | List of all members
V4RCam::ControlEntry Class Reference

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 More...
 
bool hasErrorMsg () const
 clears the info_msgs stringstream and crates a info string More...
 
bool hasInfoMsg () const
 returns false if therer are any error msgs waiting for pull More...
 
bool hasValidType () const
 creates an info string related to the v4l2 control More...
 
std::string pullErrorMsg ()
 return true if the value type is supported More...
 
std::string pullInfoMsg ()
 clears the error_msgs stringstream and crates a info string More...
 
 ~ControlEntry ()
 construtor More...
 

Public Attributes

int currentValue
 pointer to the original related control More...
 
std::stringstream error_msg
 info msgs stream More...
 
std::stringstream info_msg
 target value to set after a write More...
 
v4l2_queryctrl * queryctrl
 name of the v4l2 control More...
 
int targetValue
 current value of the control after read or set More...
 
bool valid
 destructor More...
 
std::string varName
 

Detailed Description

shared pointer for v4l2 control entries

v4l2 control abstraction

Definition at line 52 of file uvc.h.

Constructor & Destructor Documentation

V4RCam::ControlEntry::ControlEntry ( int  id)

Definition at line 252 of file uvc.cpp.

V4RCam::ControlEntry::~ControlEntry ( )

construtor

Definition at line 261 of file uvc.cpp.

Member Function Documentation

std::string V4RCam::ControlEntry::getQueryCtrlInfo ( ) const

error msgs in the case something happend

Definition at line 278 of file uvc.cpp.

bool V4RCam::ControlEntry::hasErrorMsg ( ) const

clears the info_msgs stringstream and crates a info string

Definition at line 323 of file uvc.cpp.

bool V4RCam::ControlEntry::hasInfoMsg ( ) const

returns false if therer are any error msgs waiting for pull

Definition at line 327 of file uvc.cpp.

bool V4RCam::ControlEntry::hasValidType ( ) const

creates an info string related to the v4l2 control

Definition at line 265 of file uvc.cpp.

std::string V4RCam::ControlEntry::pullErrorMsg ( )

return true if the value type is supported

Definition at line 311 of file uvc.cpp.

std::string V4RCam::ControlEntry::pullInfoMsg ( )

clears the error_msgs stringstream and crates a info string

Definition at line 317 of file uvc.cpp.

Member Data Documentation

int V4RCam::ControlEntry::currentValue

pointer to the original related control

Definition at line 60 of file uvc.h.

std::stringstream V4RCam::ControlEntry::error_msg

info msgs stream

Definition at line 63 of file uvc.h.

std::stringstream V4RCam::ControlEntry::info_msg

target value to set after a write

Definition at line 62 of file uvc.h.

v4l2_queryctrl* V4RCam::ControlEntry::queryctrl

name of the v4l2 control

Definition at line 59 of file uvc.h.

int V4RCam::ControlEntry::targetValue

current value of the control after read or set

Definition at line 61 of file uvc.h.

bool V4RCam::ControlEntry::valid

destructor

Definition at line 57 of file uvc.h.

std::string V4RCam::ControlEntry::varName

Definition at line 58 of file uvc.h.


The documentation for this class was generated from the following files:


tuw_uvc
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:39:24