$search

photo.h File Reference

#include <gphoto2/gphoto2-camera.h>
#include <gphoto2/gphoto2-port-log.h>
#include <gphoto2/gphoto2-setting.h>
#include <gphoto2/gphoto2-filesys.h>
#include <photo/photo_image.h>
Include dependency graph for photo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  photo_t

Defines

#define PHOTO_MODE_DIRECT   0
#define PHOTO_MODE_TO_FILE   1

Typedefs

typedef struct photo_tphoto_p

Functions

int photo_autodetect (photo_p photo)
int photo_capture (photo_p photo, photo_image_p image)
int photo_capture_to_file (photo_p photo, const char *filename)
int photo_close (photo_p photo)
void photo_free (photo_p photo)
int photo_get_config (photo_p photo, const char *param, char **value)
photo_p photo_initialize (void)
int photo_open (photo_p photo, const char *model, const char *port)
int photo_set_config (photo_p photo, const char *param, const char *value)

Define Documentation

#define PHOTO_MODE_DIRECT   0

Definition at line 49 of file photo.h.

#define PHOTO_MODE_TO_FILE   1

Definition at line 50 of file photo.h.


Typedef Documentation

typedef struct photo_t * photo_p

Function Documentation

int photo_autodetect ( photo_p  photo  ) 

Definition at line 216 of file photo.cpp.

int photo_capture ( photo_p  photo,
photo_image_p  image 
)

Definition at line 84 of file photo_capture.cpp.

int photo_capture_to_file ( photo_p  photo,
const char *  filename 
)

Definition at line 44 of file photo_capture.cpp.

int photo_close ( photo_p  photo  ) 

Definition at line 289 of file photo.cpp.

void photo_free ( photo_p  photo  ) 

Definition at line 191 of file photo.cpp.

int photo_get_config ( photo_p  photo,
const char *  param,
char **  value 
)

Definition at line 240 of file photo_config.cpp.

photo_p photo_initialize ( void   ) 

Definition at line 182 of file photo.cpp.

int photo_open ( photo_p  photo,
const char *  model,
const char *  port 
)

Definition at line 200 of file photo.cpp.

int photo_set_config ( photo_p  photo,
const char *  param,
const char *  value 
)

Definition at line 90 of file photo_config.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


photo
Author(s): Benjamin Pitzer
autogenerated on Sun Mar 3 11:09:41 2013