Top |
GInetAddress * | device-address | Write / Construct Only |
GInetAddress * | interface-address | Write / Construct Only |
ArvGvPacketSizeAdjustment | packet-size-adjustment | Read / Write / Construct |
ArvDevice * arv_gv_device_new (GInetAddress *interface_address
,GInetAddress *device_address
,GError **error
);
Since: 0.8.0
guint64 arv_gv_device_get_timestamp_tick_frequency (ArvGvDevice *gv_device
,GError **error
);
GSocketAddress *
arv_gv_device_get_device_address (ArvGvDevice *device
);
Since: 0.2.0
GSocketAddress *
arv_gv_device_get_interface_address (ArvGvDevice *device
);
Since: 0.2.0
guint arv_gv_device_get_packet_size (ArvGvDevice *gv_device
,GError **error
);
void arv_gv_device_set_packet_size (ArvGvDevice *gv_device
,gint packet_size
,GError **error
);
void arv_gv_device_set_packet_size_adjustment (ArvGvDevice *gv_device
,ArvGvPacketSizeAdjustment adjustment
);
Sets the option for the packet size adjustment happening at stream object creation. See
arv_gv_device_auto_packet_size()
for a description of the packet adjustment feature. The default behaviour is
ARV_GV_PACKET_SIZE_ADJUSTEMENT_ON_FAILURE_ONCE
, which means the packet size is adjusted if the current packet size
check fails, and only the first time arv_device_create_stream()
is successfully called during gv_device
instance
life.
Since: 0.8.3
ArvGvStreamOption
arv_gv_device_get_stream_options (ArvGvDevice *gv_device
);
Since: 0.6.0
void arv_gv_device_set_stream_options (ArvGvDevice *gv_device
,ArvGvStreamOption options
);
Sets the option used during stream creation. It must be called before arv_device_create_stream()
.
Since: 0.6.0
guint arv_gv_device_auto_packet_size (ArvGvDevice *gv_device
,GError **error
);
Automatically determine the biggest packet size that can be used data streaming, and set GevSCPSPacketSize value accordingly. This function relies on the GevSCPSFireTestPacket feature.
The automatic packet size, in bytes, or the current one if GevSCPSFireTestPacket is not supported.
Since: 0.6.0
gboolean arv_gv_device_take_control (ArvGvDevice *gv_device
,GError **error
);
Since: 0.8.3
gboolean arv_gv_device_leave_control (ArvGvDevice *gv_device
,GError **error
);
Since: 0.8.3
gboolean
arv_gv_device_is_controller (ArvGvDevice *gv_device
);
Since: 0.8.0
“device-address”
property“device-address” GInetAddress *
The device address.
Owner: ArvGvDevice
Flags: Write / Construct Only
“interface-address”
property“interface-address” GInetAddress *
The address of the interface connected to the device.
Owner: ArvGvDevice
Flags: Write / Construct Only
“packet-size-adjustment”
property“packet-size-adjustment” ArvGvPacketSizeAdjustment
Packet size adjustment option.
Owner: ArvGvDevice
Flags: Read / Write / Construct
Default value: ARV_GV_PACKET_SIZE_ADJUSTMENT_ON_FAILURE_ONCE