ArvGvDevice

ArvGvDevice — GigEVision device

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ArvDevice
        ╰── ArvGvDevice

Description

Functions

arv_gv_device_new ()

ArvDevice *
arv_gv_device_new (GInetAddress *interface_address,
                   GInetAddress *device_address);

arv_gv_device_get_timestamp_tick_frequency ()

guint64
arv_gv_device_get_timestamp_tick_frequency
                               (ArvGvDevice *gv_device);

arv_gv_device_get_device_address ()

GSocketAddress *
arv_gv_device_get_device_address (ArvGvDevice *device);

Parameters

device

a ArvGvDevice

 

Returns

the device IP address.

[transfer none]

Since: 0.2.0


arv_gv_device_get_interface_address ()

GSocketAddress *
arv_gv_device_get_interface_address (ArvGvDevice *device);

Parameters

device

a ArvGvDevice

 

Returns

the device host interface IP address.

[transfer none]

Since: 0.2.0


arv_gv_device_get_packet_size ()

guint
arv_gv_device_get_packet_size (ArvGvDevice *gv_device);

arv_gv_device_set_packet_size ()

void
arv_gv_device_set_packet_size (ArvGvDevice *gv_device,
                               guint packet_size);

arv_gv_device_get_stream_options ()

ArvGvStreamOption
arv_gv_device_get_stream_options (ArvGvDevice *gv_device);

Parameters

gv_device

a ArvGvDevice

 

Returns

options for stream creation

Since: 0.6.0


arv_gv_device_set_stream_options ()

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().

Parameters

gv_device

a ArvGvDevice

 

options

options for stream creation

 

Since: 0.6.0


arv_gv_device_auto_packet_size ()

guint
arv_gv_device_auto_packet_size (ArvGvDevice *gv_device);

Automatically determine the biggest packet size that can be used data streaming, and set GevSCPSPacketSize value accordingly. This function relies on the GevSCPSFireTestPacket feature. If this feature is not available, the packet size will be set to a default value (1500 bytes).

Parameters

gv_device

a ArvGvDevice

 

Returns

The packet size, in bytes.

Since: 0.6.0

Types and Values

ArvGvDevice

typedef struct _ArvGvDevice ArvGvDevice;