Top |
void | arv_update_device_list () |
unsigned int | arv_get_n_devices () |
const char * | arv_get_device_id () |
const char * | arv_get_device_physical_id () |
const char * | arv_get_device_model () |
const char * | arv_get_device_serial_nbr () |
const char * | arv_get_device_vendor () |
const char * | arv_get_device_manufacturer_info () |
const char * | arv_get_device_address () |
const char * | arv_get_device_protocol () |
ArvDevice * | arv_open_device () |
unsigned int | arv_get_n_interfaces () |
const char * | arv_get_interface_id () |
void | arv_disable_interface () |
void | arv_enable_interface () |
void | arv_shutdown () |
This module contans a set of APIs that allows to list and enable/disable the available interfaces, and list and instantiate devices.
void
arv_update_device_list (void
);
Updates the list of currently online devices.
unsigned int
arv_get_n_devices (void
);
Retrieves the number of currently online devices. This value is valid until
the next call to arv_update_device_list()
.
const char *
arv_get_device_id (unsigned int index
);
Queries the unique device id corresponding to index. Prior to this
call the arv_update_device_list()
function must be called.
Since: 0.2.0
const char *
arv_get_device_physical_id (unsigned int index
);
Queries the physical device id corresponding to index such as the MAC address for Ethernet based devices, bus id for PCI, USB or Firewire based devices.
Prior to this call the arv_update_device_list()
function must be called.
Since: 0.2.0
const char *
arv_get_device_model (unsigned int index
);
Queries the device model.
Prior to this call the arv_update_device_list()
function must be called.
Since: 0.6.0
const char *
arv_get_device_serial_nbr (unsigned int index
);
Queries the device serial.
Prior to this call the arv_update_device_list()
function must be called.
Since: 0.6.0
const char *
arv_get_device_vendor (unsigned int index
);
Queries the device vendor.
Prior to this call the arv_update_device_list()
function must be called.
Since: 0.6.0
const char *
arv_get_device_manufacturer_info (unsigned int index
);
Queries the device manufacturer info.
Prior to this call the arv_update_device_list()
function must be called.
Since: 0.8.20
const char *
arv_get_device_address (unsigned int index
);
The index of a device may change after a call to arv_update_device_list()
.
Since: 0.6.0
const char *
arv_get_device_protocol (unsigned int index
);
The index of a device may change after a call to arv_update_device_list()
.
Since: 0.6.0
ArvDevice * arv_open_device (const char *device_id
,GError **error
);
Open a device corresponding to the given identifier. A NULL
string makes
this function return the first available device.
Since: 0.8.0
unsigned int
arv_get_n_interfaces (void
);
Gets the number of available interfaces, including the disabled ones.
const char *
arv_get_interface_id (unsigned int index
);
Retrieves the interface identifier. Possible values are 'Fake', 'USB3Vision' and 'GigEVision'.
void
arv_disable_interface (const char *interface_id
);
Disable an interface by name. By default, all interfaces are enabled, except 'Fake'.
void
arv_enable_interface (const char *interface_id
);
Enable an interface by name. By default, all interfaces are enabled, except 'Fake'.