Aravis.FakeDevice

g Aravis.Device Aravis.Device Aravis.FakeDevice Aravis.FakeDevice Aravis.Device->Aravis.FakeDevice GObject.GInterface GObject.GInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GObject.Object->Aravis.Device Gio.Initable->Aravis.Device

Subclasses:

None

Methods

Inherited:

Aravis.Device (33), GObject.Object (37), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

new (serial_number)

get_fake_camera ()

Virtual Methods

Inherited:

Aravis.Device (7), GObject.Object (7), Gio.Initable (1)

Properties

Name

Type

Flags

Short Description

serial-number

str

w/co

Fake device serial number

Signals

Inherited:

Aravis.Device (1), GObject.Object (1)

Fields

Inherited:

Aravis.Device (1), GObject.Object (1)

Class Details

class Aravis.FakeDevice(**kwargs)
Bases:

Aravis.Device

Abstract:

No

Structure:

Aravis.FakeDeviceClass

classmethod new(serial_number)
Parameters:

serial_number (str) – fake device serial number

Raises:

GLib.Error

Returns:

a newly created Aravis.Device simulating a real device

Return type:

Aravis.Device

New in version 0.8.0.

get_fake_camera()
Returns:

the Aravis.FakeCamera used by this device instance.

Return type:

Aravis.FakeCamera

New in version 0.8.0.

Property Details

Aravis.FakeDevice.props.serial_number
Name:

serial-number

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Fake device serial number