gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
helper_camera_wrapper.cpp File Reference
#include "helper_camera_wrapper.hpp"
#include "helper_gphoto2.hpp"
#include "exceptions.hpp"
#include "camera_list_wrapper.hpp"
#include "camera_wrapper.hpp"
#include "camera_file_wrapper.hpp"
#include "camera_file_path_wrapper.hpp"
#include <sstream>
Include dependency graph for helper_camera_wrapper.cpp:

Namespaces

namespace  gphoto2pp
namespace  gphoto2pp::helper

Functions

void gphoto2pp::helper::capturePreview (CameraWrapper &cameraWrapper, std::string const &outputFilename)
 Takes a preview picture from the camera. This capture type might not be supported by all cameras (requires a live view/mirror lockup mode for continuous captures)
void gphoto2pp::helper::capturePreview (CameraWrapper &cameraWrapper, std::ostream &outputStream)
 Takes a preview picture from the camera. This capture type might not be supported by all cameras (requires a live view/mirror lockup mode for continuous captures)
void gphoto2pp::helper::capture (CameraWrapper &cameraWrapper, CameraFileWrapper &cameraFile, bool autoDeleteFileFromSrc=false, CameraCaptureTypeWrapper const &captureType=CameraCaptureTypeWrapper::Image, CameraFileTypeWrapper const &fileType=CameraFileTypeWrapper::Normal)
 Captures a file from the camera.
void gphoto2pp::helper::capture (CameraWrapper &cameraWrapper, std::string const &outputFilename, bool autoDeleteFileFromSrc=false, CameraCaptureTypeWrapper const &captureType=CameraCaptureTypeWrapper::Image, CameraFileTypeWrapper const &fileType=CameraFileTypeWrapper::Normal)
 Captures a file from the camera.
void gphoto2pp::helper::capture (CameraWrapper &cameraWrapper, std::ostream &outputStream, bool autoDeleteFileFromSrc=false, CameraCaptureTypeWrapper const &captureType=CameraCaptureTypeWrapper::Image, CameraFileTypeWrapper const &fileType=CameraFileTypeWrapper::Normal)
 Captures a file from the camera.
void gphoto2pp::helper::getChildrenItems (CameraWrapper &cameraWrapper, std::string const &folder, std::vector< std::string > &allItems, bool getFiles)
std::vector< std::string > gphoto2pp::helper::getAllFolders (CameraWrapper &cameraWrapper)
 Recursively scans the camera's filesystem and compiles a list of all folders present.
std::vector< std::string > gphoto2pp::helper::getAllFiles (CameraWrapper &cameraWrapper)
 Recursively scans the camera's filesystem and compiles a list of all files present.

Detailed Description

Author
Copyright (c) 2013 maldworth https://github.com/maldworth
Note
This file is part of gphoto2pp
gphoto2pp is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
gphoto2pp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with gphoto2pp. If not, see http://www.gnu.org/licenses