gphoto2pp
A C++ Wrapper for libgphoto2
 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 
29 
30 namespace gphoto2pp
31 {
37  template<typename T>
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