Public Types | Public Member Functions | Private Member Functions | Private Attributes
photo_camera Class Reference

#include <photo_camera.hpp>

List of all members.

Public Types

enum  photo_mode { DIRECT = 0, TO_FILE = 1 }

Public Member Functions

 photo_camera (void)
bool photo_camera_capture (photo_image *image)
bool photo_camera_capture_to_file (std::string filename)
bool photo_camera_close (void)
GPContext * photo_camera_create_context (void)
int photo_camera_find_widget_by_name (std::string param, CameraWidget **child, CameraWidget **rootconfig)
bool photo_camera_get_config (std::string, char **value)
bool photo_camera_open (photo_camera_list *list, int n)
bool photo_camera_open (photo_camera_list *list, const std::string model_name, std::string port_name)
bool photo_camera_set_config (std::string param, std::string value)
 ~photo_camera (void)

Private Member Functions

bool photo_camera_check_toggle_value (std::string value_in, bool *value_out)

Private Attributes

CameraAbilities abilities_
Camera * camera_
GPContext * context_
enum photo_mode mode_
GPPortInfo port_info_

Detailed Description

Definition at line 50 of file photo_camera.hpp.


Member Enumeration Documentation

Enumerator:
DIRECT 
TO_FILE 

Definition at line 54 of file photo_camera.hpp.


Constructor & Destructor Documentation

Definition at line 47 of file photo_camera.cpp.

Definition at line 56 of file photo_camera.cpp.


Member Function Documentation

Definition at line 611 of file photo_camera.cpp.

bool photo_camera::photo_camera_capture_to_file ( std::string  filename)

Definition at line 560 of file photo_camera.cpp.

bool photo_camera::photo_camera_check_toggle_value ( std::string  value_in,
bool *  value_out 
) [private]

This function should be updated to leverage boost's ability to compare strings in a case insensitive manner: #include <boost/algorithm/string.hpp> boost::iequals( s1, s2 );

Definition at line 222 of file photo_camera.cpp.

Definition at line 143 of file photo_camera.cpp.

Definition at line 63 of file photo_camera.cpp.

int photo_camera::photo_camera_find_widget_by_name ( std::string  param,
CameraWidget **  child,
CameraWidget **  rootconfig 
)

Definition at line 156 of file photo_camera.cpp.

bool photo_camera::photo_camera_get_config ( std::string  param,
char **  value 
)

Definition at line 454 of file photo_camera.cpp.

bool photo_camera::photo_camera_open ( photo_camera_list list,
int  n 
)

Definition at line 125 of file photo_camera.cpp.

bool photo_camera::photo_camera_open ( photo_camera_list list,
const std::string  model_name,
std::string  port_name 
)

Definition at line 74 of file photo_camera.cpp.

bool photo_camera::photo_camera_set_config ( std::string  param,
std::string  value 
)

Definition at line 264 of file photo_camera.cpp.


Member Data Documentation

CameraAbilities photo_camera::abilities_ [private]

Definition at line 60 of file photo_camera.hpp.

Camera* photo_camera::camera_ [private]

Definition at line 57 of file photo_camera.hpp.

GPContext* photo_camera::context_ [private]

Definition at line 58 of file photo_camera.hpp.

Definition at line 61 of file photo_camera.hpp.

GPPortInfo photo_camera::port_info_ [private]

Definition at line 59 of file photo_camera.hpp.


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


photo
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:09:43