Example #1
0
 def __init__(self, name, state=None):
     Id.__init__(self)
     Schedule.__init__(self)
     AnimationModifierList.__init__(self)
     self.name = name
     self.type = 'Animation'
     self.second_type = 'A'
     self.state = state
Example #2
0
File: id.py Project: nrichart/kll
    def __init__(self, uid):
        Id.__init__(self)
        Schedule.__init__(self)
        Position.__init__(self)
        self.type = 'ScanCode'
        self.uid = uid

        # This uid is used for any post-processing of the uid
        # The original uid is maintained in case it is needed
        self.updated_uid = None
Example #3
0
    def __init__(self, uid):
        Id.__init__(self)
        Schedule.__init__(self)
        Position.__init__(self)
        self.type = 'ScanCode'
        self.uid = uid

        # By default, interconnect_id of 0
        # Will be set during the merge process if it needs to change
        self.interconnect_id = 0
Example #4
0
	def __init__( self, uid ):
		Id.__init__( self )
		Schedule.__init__( self )
		Position.__init__( self )
		self.type = 'ScanCode'
		self.uid = uid

		# By default, interconnect_id of 0
		# Will be set during the merge process if it needs to change
		self.interconnect_id = 0
Example #5
0
File: id.py Project: nrichart/kll
    def __init__(self, type, uid):
        '''
        @param type: String type of the Id
        @param uid:  Unique integer identifier for the Id
        '''
        Id.__init__(self)
        Schedule.__init__(self)
        self.type = type
        self.uid = uid

        # Set secondary type
        self.second_type = self.secondary_types[self.type]

        # Set kll type
        self.kll_type = self.kll_types[self.type]
Example #6
0
	def __init__( self, type, uid ):
		'''
		@param type: String type of the Id
		@param uid:  Unique integer identifier for the Id
		'''
		Id.__init__( self )
		Schedule.__init__( self )
		self.type = type
		self.uid = uid

		# Set secondary type
		self.second_type = self.secondary_types[ self.type ]

		# Set kll type
		self.kll_type = self.kll_types[ self.type ]
Example #7
0
 def __init__(self, idcode, uid):
     Id.__init__(self)
     Schedule.__init__(self)
     self.type = 'GenericTrigger'
     self.uid = uid
     self.idcode = idcode
Example #8
0
 def __init__(self, type, layer):
     Id.__init__(self)
     Schedule.__init__(self)
     self.type = type
     self.uid = layer