Exemplo n.º 1
0
	def __init__(self):
		BaseClass.__init__(self)
		
		self.attributes['event_handlers']	= []
		self.attributes['tick_count']		= 0
		
		Driver.TickDriver.addEventSubscriber(self)
Exemplo n.º 2
0
    def __init__(self):
        BaseClass.__init__(self)

        self.attributes['event_handlers'] = []
        self.attributes['tick_count'] = 0

        Driver.TickDriver.addEventSubscriber(self)
Exemplo n.º 3
0
    def __init__(self, out_adjusters):
        BaseClass.__init__(self)
        self.attributes['subscribers'] = []
        self.attributes['out_adjusters'] = []

        if out_adjusters != None:
            for adjusterJSON in out_adjusters:
                out_adjuster = self.loadAdjusterFromJSON(adjusterJSON)

                self.attributes['out_adjusters'].append(out_adjuster)
Exemplo n.º 4
0
	def __init__(self, out_adjusters):
		BaseClass.__init__(self)
		self.attributes['subscribers']	= []
		self.attributes['out_adjusters']	= []
		
		if out_adjusters != None:
			for adjusterJSON in out_adjusters:
				out_adjuster = self.loadAdjusterFromJSON(adjusterJSON)
		
				self.attributes['out_adjusters'].append(out_adjuster)