Esempio n. 1
0
 def __init__(self, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     # this should be changed to be a list? prj->exp->vs
     #self.obj = kw.get('obj', None)
     self.prj = kw.get('prj', None)
     self.exp = kw.get('exp', None)
     self.name = kw.get('name', None)
     self.jtype = kw.get('jtype', None)
     self.properties = kw.get('properties', None)
Esempio n. 2
0
    def __init__(self, app, is_active, *arg, **kw): # XXX remove APP
        Event.__init__(self, *arg, **kw) #
        if is_active:
            # deactivate other cameras
            # should this class be an event dispatcher?
            pass
        print "SwitchConfigCamera> [%s -> %s] "% (self.app.isConfigCameraActive, is_active)

        self.app.isConfigCameraActive = is_active
Esempio n. 3
0
 def __init__(self, object):
     Event.__init__(self)
     self.object = object
Esempio n. 4
0
    def __init__(self, frame):

        Event.__init__(self)
        self.frame = frame
Esempio n. 5
0
    def __init__(self, maa):

        assert isinstance(maa, MAAGroup) or isinstance(maa, MultipleActorsActions)
        Event.__init__(self)
        self.object = maa
Esempio n. 6
0
 def __init__(self, object):
     Event.__init__(self)
     self.object = object
Esempio n. 7
0
 def __init__(self,  *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.is_connected = True
Esempio n. 8
0
 def __init__(self,  *arg, **kw):
     Event.__init__(self, *arg, **kw)
Esempio n. 9
0
 def __init__(self, path, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.path = path
Esempio n. 10
0
 def __init__(self, engine, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.dockingengine = engine
Esempio n. 11
0
 def __init__(self, resource):
     Event.__init__(self)
     self.resource = resource
Esempio n. 12
0
 def __init__(self, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     #print "LIGPICK", arg, kw
     self.ligname = kw['ligname']
     self.jobname = kw['jobname']
     self.pose = kw['pose']
Esempio n. 13
0
 def __init__(self, _type=None, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self._type = _type
Esempio n. 14
0
 def __init__(self, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     # XXX see if it must be a multiple object type or only VS
     self.prj = kw.get('prj', None)
     self.exp = kw.get('exp', None)
     self.name = kw.get('name', None)
Esempio n. 15
0
    def __init__(self, maa):

        assert isinstance(maa, MultipleActorsActions)
        Event.__init__(self)
        self.object = maa