$search

photo.cpp File Reference

#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <photo/photo.h>
Include dependency graph for photo.cpp:

Go to the source code of this file.

Functions

int camera_autodetect (CameraList *list, GPContext *context)
static int camera_open (Camera **photo, const char *model, const char *port)
static void ctx_error_func (GPContext *context, const char *format, va_list args, void *data)
static void ctx_status_func (GPContext *context, const char *format, va_list args, void *data)
int photo_autodetect (photo_p photo)
int photo_close (photo_p photo)
GPContext * photo_create_context ()
void photo_free (photo_p photo)
photo_p photo_initialize (void)
int photo_open (photo_p photo, const char *model, const char *port)

Variables

static CameraAbilitiesList * abilities = NULL
static GPPortInfoList * portinfolist = NULL

Function Documentation

int camera_autodetect ( CameraList *  list,
GPContext *  context 
)

Definition at line 68 of file photo.cpp.

static int camera_open ( Camera **  photo,
const char *  model,
const char *  port 
) [static]

Definition at line 120 of file photo.cpp.

static void ctx_error_func ( GPContext *  context,
const char *  format,
va_list  args,
void *  data 
) [static]

Definition at line 42 of file photo.cpp.

static void ctx_status_func ( GPContext *  context,
const char *  format,
va_list  args,
void *  data 
) [static]

Definition at line 52 of file photo.cpp.

int photo_autodetect ( photo_p  photo  ) 

Definition at line 216 of file photo.cpp.

int photo_close ( photo_p  photo  ) 

Definition at line 289 of file photo.cpp.

GPContext* photo_create_context (  ) 

Definition at line 168 of file photo.cpp.

void photo_free ( photo_p  photo  ) 

Definition at line 191 of file photo.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.


Variable Documentation

CameraAbilitiesList* abilities = NULL [static]

Definition at line 60 of file photo.cpp.

GPPortInfoList* portinfolist = NULL [static]

Definition at line 59 of file photo.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