Beispiel #1
0
 def generate(self):
     list = []
     timestamp = 0
     for i in range(self.number):
         timestamp += self.interval
         list.append(ReplayEvent(timestamp))
     return list[::-1]
Beispiel #2
0
 def __init__(self, name, timestamp):
     ReplayEvent.__init__(self, timestamp)
     self.name = name
Beispiel #3
0
 def __init__(self, trail):
     ReplayEvent.__init__(self, trail[0].timestamp)
     self.trail = trail
Beispiel #4
0
 def __init__(self, trail):
     ReplayEvent.__init__(self, trail[0].timestamp)
     self.trail = trail
 def __init__(self, name, timestamp):
     ReplayEvent.__init__(self, timestamp)
     self.name = name