gphoto2pp
A C++ Wrapper for libgphoto2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
value_widget_base.hpp
Go to the documentation of this file.
1
25
#ifndef VALUEWIDGETBASE_HPP
26
#define VALUEWIDGETBASE_HPP
27
28
#include "
camera_widget_wrapper.hpp
"
29
30
namespace
gphoto2pp
31
{
37
template
<
typename
T>
38
class
ValueWidgetBase
:
public
CameraWidgetWrapper
39
{
40
41
public
:
46
virtual
T
getValue
()
const
= 0;
47
53
virtual
void
setValue
(T
const
& value) = 0;
54
55
protected
:
56
ValueWidgetBase
(gphoto2::_CameraWidget* cameraWidget)
57
:
CameraWidgetWrapper
{cameraWidget}
58
{
59
// Empty Constructor
60
}
61
};
62
63
}
64
65
#endif // VALUEWIDGETBASE_HPP
include
value_widget_base.hpp
Generated on Wed May 7 2014 20:06:38 for gphoto2pp by
1.8.1.2