Class
AravisDevice
Description [src]
abstract class Aravis.Device : GObject.Object {
parent_instance: GObject
}
ArvDevice
is an abstract base class for the control of cameras. It provides
an easy access to the camera settings, and to its genicam interface for more
advanced uses.
Instance methods
arv_device_create_chunk_parser
Create a ArvChunkParser
object, to be used for chunk data extraction from ArvBuffer
.
Available since: 0.4.0
arv_device_create_stream
Creates a new ArvStream
for video stream handling. See
ArvStreamCallback
for details regarding the callback function.
Available since: 0.2.0
arv_device_create_stream_full
Creates a new ArvStream
for video stream handling. See
ArvStreamCallback
for details regarding the callback function.
Available since: 0.8.23
arv_device_dup_available_enumeration_feature_values
Get all the available values of feature
, as integers.
Available since: 0.8.0
arv_device_dup_available_enumeration_feature_values_as_display_names
Get display names of all the available entries of feature
.
Available since: 0.8.0
arv_device_dup_available_enumeration_feature_values_as_strings
Get all the available values of feature
, as strings.
Available since: 0.8.0
arv_device_get_boolean_feature_value_gi
Get the feature value, or FALSE
on error.
Available since: 0.8.0
arv_device_get_float_feature_increment
Not all float features have evenly distributed allowed values, which means the returned increment may not reflect the allowed value set.
Available since: 0.8.16
arv_device_get_genicam_xml
Gets the Genicam XML data stored in the device memory.
Available since: 0.2.0
arv_device_get_integer_feature_increment
Not all integer features have evenly distributed allowed values, which means the returned increment may not reflect the allowed value set.
Available since: 0.8.0
arv_device_set_access_check_policy
Sets the feature access check policy. When enabled, before being accessed, the actual read/write access of register is checked using AccessMode properties. On some devices, it helps to avoid forbidden writes to registers that may put the device in a bad state.
Available since: 0.8.22
arv_device_set_features_from_string
Set features from a string containing a list of space separated feature assignments or command names. For example:
Available since: 0.8.0
arv_device_set_range_check_policy
Sets the range check policy. When enabled, before being set, the value of all nodes with an ArvGcFloat
or
ArvGcInteger
interface will be checked against their Min and Max properties.
Available since: 0.8.6
Class structure
struct AravisDeviceClass {
GObjectClass parent_class;
ArvStream* (* create_stream) (
ArvDevice* device,
ArvStreamCallback callback,
void* user_data,
GDestroyNotify destroy,
GError** error
);
const char* (* get_genicam_xml) (
ArvDevice* device,
size_t* size
);
ArvGc* (* get_genicam) (
ArvDevice* device
);
gboolean (* read_memory) (
ArvDevice* device,
guint64 address,
guint32 size,
void* buffer,
GError** error
);
gboolean (* write_memory) (
ArvDevice* device,
guint64 address,
guint32 size,
void* buffer,
GError** error
);
gboolean (* read_register) (
ArvDevice* device,
guint64 address,
guint32* value,
GError** error
);
gboolean (* write_register) (
ArvDevice* device,
guint64 address,
guint32 value,
GError** error
);
void (* control_lost) (
ArvDevice* device
);
}
Class members
parent_class |
|
No description available. | |
create_stream |
|
No description available. | |
get_genicam_xml |
|
No description available. | |
get_genicam |
|
No description available. | |
read_memory |
|
No description available. | |
write_memory |
|
No description available. | |
read_register |
|
No description available. | |
write_register |
|
No description available. | |
control_lost |
|
No description available. |
Virtual methods
Aravis.DeviceClass.control_lost
Aravis.DeviceClass.create_stream
Aravis.DeviceClass.get_genicam
Retrieves the genicam interface of the given device.
Available since: 0.2.0
Aravis.DeviceClass.get_genicam_xml
Gets the Genicam XML data stored in the device memory.
Available since: 0.2.0