aboutsummaryrefslogtreecommitdiff
path: root/vimbasystem.py
blob: 1e04755962a6ffa1d58b104631c0abce28815f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)