Top |
const char * | arv_get_device_id () |
const char * | arv_get_interface_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_address () |
void | arv_disable_interface () |
void | arv_enable_interface () |
unsigned int | arv_get_n_devices () |
unsigned int | arv_get_n_interfaces () |
void | arv_update_device_list () |
ArvDevice * | arv_open_device () |
void | arv_shutdown () |
void | arv_interface_update_device_list () |
const char * | arv_interface_get_device_id () |
const char * | arv_interface_get_device_physical_id () |
const char * | arv_interface_get_device_address () |
const char * | arv_interface_get_device_model () |
const char * | arv_interface_get_device_serial_nbr () |
const char * | arv_interface_get_device_vendor () |
unsigned int | arv_interface_get_n_devices () |
ArvDevice * | arv_interface_open_device () |
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()
.
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
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".
ArvDevice *
arv_open_device (const char *device_id
);
Open a device corresponding to the given identifier. A null string makes this function return the first available 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.
Since: 0.2.0
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.
Since: 0.2.0
const char * arv_interface_get_device_physical_id (ArvInterface *interface
,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_interface_update_device_list
function must be called.
Since: 0.2.0
const char * arv_interface_get_device_address (ArvInterface *interface
,unsigned int index
);
queries the device address (IP address in the case of an ethernet camera). Useful
for constructing manual connections to devices using arv_gv_device_new
Prior to this call the arv_interface_update_device_list
function must be called.
Since: 0.2.0
const char * arv_interface_get_device_model (ArvInterface *interface
,unsigned int index
);
Queries the device model.
Prior to this call the arv_interface_update_device_list
function must be called.
Since: 0.6.0
const char * arv_interface_get_device_serial_nbr (ArvInterface *interface
,unsigned int index
);
Queries the device serial.
Prior to this call the arv_interface_update_device_list
function must be called.
Since: 0.6.0
const char * arv_interface_get_device_vendor (ArvInterface *interface
,unsigned int index
);
Queries the device vendor.
Prior to this call the arv_interface_update_device_list
function must be called.
Since: 0.6.0
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.
Since: 0.2.0
ArvDevice * arv_interface_open_device (ArvInterface *interface
,const char *device_id
);
Creates a new ArvDevice object corresponding to the given device id string. The first available device is returned if device_id
is null.
Since: 0.2.0