gphoto2pp
A C++ Wrapper for libgphoto2
|
#include <camera_abilities_list_wrapper.hpp>
Public Member Functions | |
CameraAbilitiesListWrapper () | |
~CameraAbilitiesListWrapper () | |
CameraAbilitiesListWrapper (CameraAbilitiesListWrapper &&other) | |
CameraAbilitiesListWrapper & | operator= (CameraAbilitiesListWrapper &&other) |
CameraAbilitiesListWrapper (CameraAbilitiesListWrapper const &other) | |
CameraAbilitiesListWrapper & | operator= (CameraAbilitiesListWrapper const &other) |
gphoto2::_CameraAbilitiesList * | getPtr () const |
CameraListWrapper | listDetect (GPPortInfoListWrapper const &portInfoList) |
Tries to detect any cameras connected to the computer using the list of ports provided. | |
void | reset () |
Resets the abilities list. | |
int | count () const |
Counts the entries in the abilities list. | |
int | lookupModel (std::string const &model) const |
Scans the list for the given model. |
A wrapper around the gphoto2 CameraAbilitiesList struct.
gphoto2pp::CameraAbilitiesListWrapper::CameraAbilitiesListWrapper | ( | ) |
gphoto2pp::CameraAbilitiesListWrapper::~CameraAbilitiesListWrapper | ( | ) |
gphoto2pp::CameraAbilitiesListWrapper::CameraAbilitiesListWrapper | ( | CameraAbilitiesListWrapper && | other | ) |
gphoto2pp::CameraAbilitiesListWrapper::CameraAbilitiesListWrapper | ( | CameraAbilitiesListWrapper const & | other | ) |
int gphoto2pp::CameraAbilitiesListWrapper::count | ( | ) | const |
Counts the entries in the abilities list.
gp_abilities_list_count(...)
GPhoto2pp::exceptions::gphoto2_exception |
gphoto2::_CameraAbilitiesList* gphoto2pp::CameraAbilitiesListWrapper::getPtr | ( | ) | const |
CameraListWrapper gphoto2pp::CameraAbilitiesListWrapper::listDetect | ( | GPPortInfoListWrapper const & | portInfoList | ) |
Tries to detect any cameras connected to the computer using the list of ports provided.
[in] | portInfoList | of ports to scan for camera models |
gp_abilities_list_detect(...)
GPhoto2pp::exceptions::gphoto2_exception |
int gphoto2pp::CameraAbilitiesListWrapper::lookupModel | ( | std::string const & | model | ) | const |
Scans the list for the given model.
[in] | model | of camera to search for |
gp_abilities_list_count(...)
GPhoto2pp::exceptions::gphoto2_exception |
CameraAbilitiesListWrapper& gphoto2pp::CameraAbilitiesListWrapper::operator= | ( | CameraAbilitiesListWrapper && | other | ) |
CameraAbilitiesListWrapper& gphoto2pp::CameraAbilitiesListWrapper::operator= | ( | CameraAbilitiesListWrapper const & | other | ) |
void gphoto2pp::CameraAbilitiesListWrapper::reset | ( | ) |
Resets the abilities list.
gp_abilities_list_reset(...)
GPhoto2pp::exceptions::gphoto2_exception |