#include <range_widget.hpp>
Public Member Functions |
| RangeWidgetRange | getRange () const |
| | Gets the widget's range.
|
| std::string | ToString () const |
| | Gets the widget's range and returns their values in a user friendly string.
|
| float | getValue () const override |
| | Gets the widget's value in terms of float.
|
| void | setValue (float const &value) override |
| | Sets the widget's value in terms of float.
|
Protected Member Functions |
| | RangeWidget (gphoto2::_CameraWidget *cameraWidget) |
| | FloatWidget (gphoto2::_CameraWidget *cameraWidget) |
| | ValueWidgetBase (gphoto2::_CameraWidget *cameraWidget) |
| | CameraWidgetWrapper (gphoto2::_CameraWidget *cameraWidget) |
| void | ref () |
| | Adds a reference count to the internal gphoto2::CameraWidget struct.
|
| void | unref () |
| | Subtracts a reference count to the internal gphoto2::CameraWidget struct.
|
| gphoto2::_CameraWidget * | getRootDefault () const |
| | Gets the unwrapped CameraWidget struct pointer of the root.
|
| gphoto2::_CameraWidget * | getParentDefault () const |
| | Gets the unwrapped CameraWidget struct pointer of the parent.
|
Additional Inherited Members |
| gphoto2::_CameraWidget * | m_cameraWidget = nullptr |
Detailed Description
A class representing gphoto2 widgets which are of the widget type GPhoto2pp::CameraWidgetTypeWrapper::Range
Constructor & Destructor Documentation
| gphoto2pp::RangeWidget::RangeWidget |
( |
gphoto2::_CameraWidget * |
cameraWidget | ) |
|
|
protected |
Member Function Documentation
Gets the widget's range.
- Returns
- the widget's range
- Note
- Direct wrapper for
gp_widget_get_range(...)
- Exceptions
-
| GPhoto2pp::exceptions::gphoto2_exception | |
| std::string gphoto2pp::RangeWidget::ToString |
( |
| ) |
const |
Gets the widget's range and returns their values in a user friendly string.
- Returns
- the widget's range
- Exceptions
-
| GPhoto2pp::exceptions::gphoto2_exception | |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: