aboutsummaryrefslogtreecommitdiff
path: root/pyvimba/vimbasystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyvimba/vimbasystem.py')
-rw-r--r--pyvimba/vimbasystem.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/pyvimba/vimbasystem.py b/pyvimba/vimbasystem.py
new file mode 100644
index 0000000..1e04755
--- /dev/null
+++ b/pyvimba/vimbasystem.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+from vimbaobject import VimbaObject
+from ctypes import *
+
+# 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.
+ """
+
+ # own handle is inherited as self._handle
+ def __init__(self):
+
+ # call super constructor
+ super(VimbaSystem, self).__init__()
+
+ # set own handle manually
+ self._handle = c_void_p(1)