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)
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
def __init__(self, object): Event.__init__(self) self.object = object
def __init__(self, frame): Event.__init__(self) self.frame = frame
def __init__(self, maa): assert isinstance(maa, MAAGroup) or isinstance(maa, MultipleActorsActions) Event.__init__(self) self.object = maa
def __init__(self, *arg, **kw): Event.__init__(self, *arg, **kw) self.is_connected = True
def __init__(self, *arg, **kw): Event.__init__(self, *arg, **kw)
def __init__(self, path, *arg, **kw): Event.__init__(self, *arg, **kw) self.path = path
def __init__(self, engine, *arg, **kw): Event.__init__(self, *arg, **kw) self.dockingengine = engine
def __init__(self, resource): Event.__init__(self) self.resource = resource
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']
def __init__(self, _type=None, *arg, **kw): Event.__init__(self, *arg, **kw) self._type = _type
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)
def __init__(self, maa): assert isinstance(maa, MultipleActorsActions) Event.__init__(self) self.object = maa