コード例 #1
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 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)
コード例 #2
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
    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
コード例 #3
0
 def __init__(self, object):
     Event.__init__(self)
     self.object = object
コード例 #4
0
    def __init__(self, frame):

        Event.__init__(self)
        self.frame = frame
コード例 #5
0
    def __init__(self, maa):

        assert isinstance(maa, MAAGroup) or isinstance(maa, MultipleActorsActions)
        Event.__init__(self)
        self.object = maa
コード例 #6
0
ファイル: tree.py プロジェクト: MolecularFlipbook/FlipbookApp
 def __init__(self, object):
     Event.__init__(self)
     self.object = object
コード例 #7
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self,  *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.is_connected = True
コード例 #8
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self,  *arg, **kw):
     Event.__init__(self, *arg, **kw)
コード例 #9
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self, path, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.path = path
コード例 #10
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self, engine, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self.dockingengine = engine
コード例 #11
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self, resource):
     Event.__init__(self)
     self.resource = resource
コード例 #12
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 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']
コード例 #13
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 def __init__(self, _type=None, *arg, **kw):
     Event.__init__(self, *arg, **kw)
     self._type = _type
コード例 #14
0
ファイル: RaccoonEvents.py プロジェクト: kingdavid72/Racoon2
 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)
コード例 #15
0
    def __init__(self, maa):

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