gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
gphoto2pp::SectionWidget Class Reference

#include <section_widget.hpp>

Inheritance diagram for gphoto2pp::SectionWidget:
Collaboration diagram for gphoto2pp::SectionWidget:

Protected Member Functions

 SectionWidget (gphoto2::_CameraWidget *cameraWidget)
- Protected Member Functions inherited from gphoto2pp::NonValueWidget
 NonValueWidget (gphoto2::_CameraWidget *cameraWidget)
gphoto2::_CameraWidget * getChildByNameWrapper (std::string const &name) const
 Gets the child widget by the name passed in and returns the widget type that the user expects.
gphoto2::_CameraWidget * getChildByLabelWrapper (std::string const &label) const
 Gets the child widget by the label passed in and returns the widget type that the user expects.
gphoto2::_CameraWidget * getChildWrapper (int index) const
 Gets the child widget at the specified index and returns the widget type that the user expects.
gphoto2::_CameraWidget * getChildByIdWrapper (int id) const
 Gets the child widget that matches the unique id.
- Protected Member Functions inherited from gphoto2pp::CameraWidgetWrapper
 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

- Public Member Functions inherited from gphoto2pp::NonValueWidget
int countChildren () const
 Gets the number of children to this current widget.
template<typename T >
getChildByName (std::string const &name) const
 Gets the child widget that matches the name.
template<typename T >
getChildByLabel (std::string const &label) const
 Gets the child widget that matches the label.
template<typename T >
getChild (int index) const
 Gets the child widget at the specified index.
template<typename T >
getChildById (int id) const
 Gets the child widget that matches the unique id.
- Protected Attributes inherited from gphoto2pp::CameraWidgetWrapper
gphoto2::_CameraWidget * m_cameraWidget = nullptr

Detailed Description

A class representing gphoto2 widgets which are of the widget type GPhoto2pp::CameraWidgetTypeWrapper::Section

Constructor & Destructor Documentation

gphoto2pp::SectionWidget::SectionWidget ( gphoto2::_CameraWidget *  cameraWidget)
protected

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