コード例 #1
0
 def __init__(self, destination, delayinterval, delayintervaldata=None, maxentities=0):
     Actor.__init__(self)
     self.destination = destination
     self.delayinterval = delayinterval
     self.delayintervaldata = delayintervaldata
     self.maxentities = maxentities
     self.name = "Delay"
コード例 #2
0
 def __init__(self, event, intervalfunction, maxevents=0):
     Actor.__init__(self)
     self.event = event
     self.eventsgenerated = 1
     self.maxevents = maxevents
     self.intervalfunction = intervalfunction
     self.name = "EventGenerator"
コード例 #3
0
 def __init__(self, event, intervalfunction, maxevents=0):
     Actor.__init__(self)
     self.event = event
     self.eventsgenerated = 1
     self.maxevents = maxevents
     self.intervalfunction = intervalfunction
     self.name = "EventGenerator"
コード例 #4
0
 def __init__(self, destination, entitytype, entitycreationdata, maxentities=0, batch=False, batchfunction=None):
     Actor.__init__(self)
     self.destination = destination
     self.entitytype = entitytype
     self.entitycreationdata = entitycreationdata
     self.batch = batch
     self.batchfunction = batchfunction
     self.maxentities = maxentities
     self.entitiescreated = 1
     self.name = "Generator"
コード例 #5
0
 def __init__(self,
              destination,
              delayinterval,
              delayintervaldata=None,
              maxentities=0):
     Actor.__init__(self)
     self.destination = destination
     self.delayinterval = delayinterval
     self.delayintervaldata = delayintervaldata
     self.maxentities = maxentities
     self.name = "Delay"
コード例 #6
0
 def __init__(self, branchactors, branchfunction):
     Actor.__init__(self)
     self.branchactors = branchactors
     self.branchfunction = branchfunction
     self.name = "Branch"
コード例 #7
0
 def __init__(self, branchactors, branchfunction):
     Actor.__init__(self)
     self.branchactors = branchactors
     self.branchfunction = branchfunction
     self.name = "Branch"
コード例 #8
0
 def __init__(self, destinations):
     Actor.__init__(self)
     self.destinations = destinations
     self.name = "Queue"
コード例 #9
0
 def __init__(self):
     Actor.__init__(self)
     self.name = 'Slot'
コード例 #10
0
 def __init__(self):
     Actor.__init__(self)
     self.name = 'Disposer'
     self.deleteentityfrommemory = True
コード例 #11
0
 def __init__(self, destinations):
     Actor.__init__(self)
     self.destinations = destinations
     self.name = "Queue"
コード例 #12
0
 def __init__(self, destination, initialinventory=[]):
     Actor.__init__(self)
     self.destination = destination
     self.initialinventory = initialinventory
     self.name = "Storage"
コード例 #13
0
 def __init__(self, destination, initialinventory=[]):
     Actor.__init__(self)
     self.destination = destination
     self.initialinventory = initialinventory
     self.name = "Storage"
コード例 #14
0
 def __init__(self):
     Actor.__init__(self)
     self.name = 'Slot'
コード例 #15
0
 def __init__(self, destination, function):
     Actor.__init__(self)
     self.destination = destination
     self.function = function
     self.name = "Process"
コード例 #16
0
 def __init__(self):
     Actor.__init__(self)
     self.name = 'Disposer'
     self.deleteentityfrommemory = True