diff options
| author | morefigs <morefigs@gmail.com> | 2019-01-22 16:36:20 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2019-01-22 16:36:20 +1100 |
| commit | 5698e2db62b3b02c32efc130357424ee7b1c0d4c (patch) | |
| tree | 2278927f5b0424612908bcb022174af36090edf0 | |
| parent | e0ce826bf865a1f92a836e2c9ac9ab8d83be79aa (diff) | |
| download | pymba-5698e2db62b3b02c32efc130357424ee7b1c0d4c.tar.gz pymba-5698e2db62b3b02c32efc130357424ee7b1c0d4c.zip | |
simplify system class
| -rw-r--r-- | pymba/vimba_system.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/pymba/vimba_system.py b/pymba/vimba_system.py index f4d0c54..407bef6 100644 --- a/pymba/vimba_system.py +++ b/pymba/vimba_system.py @@ -1,22 +1,9 @@ -# -*- coding: utf-8 -*- -from __future__ import absolute_import from .vimba_object import VimbaObject -from ctypes import c_void_p - -# system features are automatically readable as attributes. class VimbaSystem(VimbaObject): - """ - A Vimba system object. This class provides the minimal access - to Vimba functions required to control the system. + A Vimba system object. This class provides the minimal access to Vimba functions required to control the system. """ - - # own handle is inherited as self._handle - def __init__(self): - super(VimbaSystem, self).__init__() - - # set own handle manually - self._handle = c_void_p(1) + super().__init__(handle=1) |
