Aravis.FakeCamera¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Aravis.FakeCamera(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Aravis.FakeCamera
is a class that simulate a real camera, which provides methods for the implementation ofAravis.FakeDevice
andAravis.FakeStream
.arv-fake-gv-camera is a GV camera simulator based on this class.
- classmethod new_full(serial_number, genicam_filename)¶
- Parameters:
- Return type:
- fill_buffer(buffer)¶
- Parameters:
buffer (
Aravis.Buffer
) – theAravis.Buffer
to fill- Returns:
the packet size
- Return type:
packet_size:
int
Fill a buffer with data from the fake camera.
- get_genicam_xml()¶
- get_sleep_time_for_next_frame()¶
- get_stream_address()¶
- Returns:
the data stream
Gio.SocketAddress
for this camera- Return type:
- read_memory(address, size, buffer)¶
- read_register(address)¶
- set_fill_pattern(fill_pattern_callback, *fill_pattern_data)¶
- Parameters:
fill_pattern_callback (
Aravis.FakeCameraFillPattern
) – callback for image fillingfill_pattern_data (
object
orNone
) – image filling user data
Sets the fill pattern callback for custom test images.
- set_inet_address(address)¶
- Parameters:
address (
Gio.InetAddress
) –
- wait_for_next_frame()¶
- write_memory(address, size, buffer)¶