Top |
ArvFakeCamera is a class that simulate a real camera, which provides methods for the implementation of ArvFakeDevice and ArvFakeStream.
arv-fake-gv-camera is a GV camera simulator based on this class.
gboolean arv_fake_camera_read_memory (ArvFakeCamera *camera
,guint32 address
,guint32 size
,void *buffer
);
gboolean arv_fake_camera_write_memory (ArvFakeCamera *camera
,guint32 address
,guint32 size
,const void *buffer
);
gboolean arv_fake_camera_read_register (ArvFakeCamera *camera
,guint32 address
,guint32 *value
);
gboolean arv_fake_camera_write_register (ArvFakeCamera *camera
,guint32 address
,guint32 value
);
void
arv_fake_camera_wait_for_next_frame (ArvFakeCamera *camera
);
void arv_fake_camera_fill_buffer (ArvFakeCamera *camera
,ArvBuffer *buffer
,guint32 *packet_size
);
void arv_fake_camera_set_inet_address (ArvFakeCamera *camera
,GInetAddress *address
);
guint32
arv_fake_camera_get_acquisition_status
(ArvFakeCamera *camera
);
guint32
arv_fake_camera_get_control_channel_privilege
(ArvFakeCamera *camera
);
guint32
arv_fake_camera_get_heartbeat_timeout (ArvFakeCamera *camera
);
GSocketAddress *
arv_fake_camera_get_stream_address (ArvFakeCamera *camera
);
void arv_fake_camera_set_control_channel_privilege (ArvFakeCamera *camera
,guint32 privilege
);
void arv_fake_camera_set_fill_pattern (ArvFakeCamera *camera
,ArvFakeCameraFillPattern fill_pattern_callback
,void *fill_pattern_data
);
Sets the fill pattern callback for custom test images.
void arv_fake_camera_set_trigger_frequency (ArvFakeCamera *camera
,double frequency
);
ArvFakeCamera *
arv_fake_device_get_fake_camera (ArvFakeDevice *device
);
void
arv_set_fake_camera_genicam_filename (const char *filename
);