![]() |
![]() |
![]() |
Aravis Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
ArvInterface; const char * arv_get_device_id (unsigned int index
); const char * arv_get_interface_id (unsigned int index
); unsigned int arv_get_n_devices (void
); unsigned int arv_get_n_interfaces (void
); void arv_update_device_list (void
); ArvDevice * arv_open_device (const char *device_id
); void arv_interface_update_device_list (ArvInterface *interface
); const char * arv_interface_get_device_id (ArvInterface *interface
,unsigned int index
); unsigned int arv_interface_get_n_devices (ArvInterface *interface
); ArvDevice * arv_interface_open_device (ArvInterface *interface
,const char *device_id
);
ArvCamera is an abstract base class for camera discovery. It maintains a
list of the available devices and help to instantiate the corresponding
ArvDevice object. If user already knows the device id of the device, he should
not worry about this class and just use arv_camera_new()
or
arv_open_device()
.
void arv_interface_update_device_list (ArvInterface *interface
);
Updates the internal list of available devices. This may change the connection between a list index and a device ID.
|
a ArvInterface |
const char * arv_interface_get_device_id (ArvInterface *interface
,unsigned int index
);
Queries the unique device id corresponding to index. Prior to this
call the arv_interface_update_device_list
function must be called.
|
a ArvInterface |
|
device index Return value: a unique device id |
unsigned int arv_interface_get_n_devices (ArvInterface *interface
);
Queries the number of available devices on this interface. Prior to this
call the arv_interface_update_device_list
function must be called. The list content will not
change until the next call of the update function.
|
a ArvInterface Return value: the number of available devices |
ArvDevice * arv_interface_open_device (ArvInterface *interface
,const char *device_id
);
Creates a new ArvDevice object corresponding to the given id.
|
a ArvInterface |
|
device unique id |