summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-16 17:17:30 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-16 17:17:30 +0100
commit2480178acbf97c72205d525d3d4d4f589477c2b0 (patch)
tree3200b299741067f15e428f57712df34f6945d10d /src/uca-camera.h
parentcbecaaf86a32d7b6c173e8978aad2f6771b3017f (diff)
downloaduca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.gz
uca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.bz2
uca-2480178acbf97c72205d525d3d4d4f589477c2b0.tar.xz
uca-2480178acbf97c72205d525d3d4d4f589477c2b0.zip
Add uca_camera_write to write arbitrary data
This is necessary for cameras that provide a custom calibration.
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 62a6c89..156df8b 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -135,6 +135,7 @@ struct _UcaCameraClass {
void (*start_readout) (UcaCamera *camera, GError **error);
void (*stop_readout) (UcaCamera *camera, GError **error);
void (*trigger) (UcaCamera *camera, GError **error);
+ void (*write) (UcaCamera *camera, const gchar *name, gpointer data, gsize size, GError **error);
gboolean (*grab) (UcaCamera *camera, gpointer data, GError **error);
};
@@ -151,6 +152,11 @@ void uca_camera_stop_readout (UcaCamera *camera,
GError **error);
void uca_camera_trigger (UcaCamera *camera,
GError **error);
+void uca_camera_write (UcaCamera *camera,
+ const gchar *name,
+ gpointer data,
+ gsize size,
+ GError **error);
gboolean uca_camera_grab (UcaCamera *camera,
gpointer data,
GError **error)