gphoto2pp
A C++ Wrapper for libgphoto2
|
#include "helper_gphoto2.hpp"
#include "log.h"
#include "exceptions.hpp"
#include "camera_list_wrapper.hpp"
#include "helper_context.hpp"
#include <gphoto2/gphoto2-camera.h>
#include <gphoto2/gphoto2-version.h>
#include <sstream>
Namespaces | |
namespace | gphoto2 |
namespace | gphoto2pp |
Functions | |
std::pair< std::string, std::string > | gphoto2pp::autoDetect () |
Finds the first available and recognized camera type connected to the computer. | |
CameraListWrapper | gphoto2pp::autoDetectAll () |
Finds all attached and recognized camera types connected to the computer. | |
int | gphoto2pp::checkResponse (int result, std::string &&methodName) |
Helper used to validate the response of gphoto2 methods. when GP_ error codes are < 0, this method will create a gphoto2_exception. | |
int | gphoto2pp::checkResponseSilent (int result, std::string &&methodName) |
Helper used to validate the response of gphoto2 methods, but does not throw an exception (logs the error instead) | |
std::string | gphoto2pp::LibraryVersion (bool verbose=false) |
Returns the version of gphoto library currently linked in the system. |