ArvDevice

ArvDevice — Abstract base class for device handling

Synopsis

                    ArvDevice;
ArvDevice *         arv_new_device                      (const char *name);
ArvStream *         arv_device_create_stream            (ArvDevice *device,
                                                         ArvStreamCallback callback,
                                                         void *user_data);
gboolean            arv_device_read_memory              (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 size,
                                                         void *buffer);
gboolean            arv_device_write_memory             (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 size,
                                                         void *buffer);
gboolean            arv_device_read_register            (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 *value);
gboolean            arv_device_write_register           (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 value);
ArvGc *             arv_device_get_genicam              (ArvDevice *device);
void                arv_device_execute_command          (ArvDevice *device,
                                                         const char *feature);
void                arv_device_set_string_feature_value (ArvDevice *device,
                                                         const char *feature,
                                                         const char *value);
const char *        arv_device_get_string_feature_value (ArvDevice *device,
                                                         const char *feature);
void                arv_device_set_integer_feature_value
                                                        (ArvDevice *device,
                                                         const char *feature,
                                                         guint64 value);
guint64             arv_device_get_integer_feature_value
                                                        (ArvDevice *device,
                                                         const char *feature);
void                arv_device_set_float_feature_value  (ArvDevice *device,
                                                         const char *feature,
                                                         double value);
double              arv_device_get_float_feature_value  (ArvDevice *device,
                                                         const char *feature);

Object Hierarchy

  GObject
   +----ArvDevice
         +----ArvFakeDevice
         +----ArvGvDevice

Description

ArvDevice is an abstract base class for the control of cameras. It provides an easy access to the camera settings, and to its genicam interface for more advanced uses.

Details

ArvDevice

typedef struct _ArvDevice ArvDevice;

arv_new_device ()

ArvDevice *         arv_new_device                      (const char *name);

arv_device_create_stream ()

ArvStream *         arv_device_create_stream            (ArvDevice *device,
                                                         ArvStreamCallback callback,
                                                         void *user_data);

arv_device_read_memory ()

gboolean            arv_device_read_memory              (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 size,
                                                         void *buffer);

arv_device_write_memory ()

gboolean            arv_device_write_memory             (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 size,
                                                         void *buffer);

arv_device_read_register ()

gboolean            arv_device_read_register            (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 *value);

arv_device_write_register ()

gboolean            arv_device_write_register           (ArvDevice *device,
                                                         guint32 address,
                                                         guint32 value);

arv_device_get_genicam ()

ArvGc *             arv_device_get_genicam              (ArvDevice *device);

Retrieves the genicam interface of the given device.

device :

the genicam interface.. transfer none.

arv_device_execute_command ()

void                arv_device_execute_command          (ArvDevice *device,
                                                         const char *feature);

arv_device_set_string_feature_value ()

void                arv_device_set_string_feature_value (ArvDevice *device,
                                                         const char *feature,
                                                         const char *value);

arv_device_get_string_feature_value ()

const char *        arv_device_get_string_feature_value (ArvDevice *device,
                                                         const char *feature);

arv_device_set_integer_feature_value ()

void                arv_device_set_integer_feature_value
                                                        (ArvDevice *device,
                                                         const char *feature,
                                                         guint64 value);

arv_device_get_integer_feature_value ()

guint64             arv_device_get_integer_feature_value
                                                        (ArvDevice *device,
                                                         const char *feature);

arv_device_set_float_feature_value ()

void                arv_device_set_float_feature_value  (ArvDevice *device,
                                                         const char *feature,
                                                         double value);

arv_device_get_float_feature_value ()

double              arv_device_get_float_feature_value  (ArvDevice *device,
                                                         const char *feature);