TimelineEvent class. More...
Public Member Functions | |
def | __init__ (self, name="") |
Get ranges bounds. More... | |
def | add_event (self, event) |
Add Event. More... | |
def | get_bounds (self) |
Get Bounds. More... | |
def | get_events (self, start, end) |
Get Events. More... | |
def | get_events_bounds (self, start, end) |
Get Events Bounds. More... | |
def | sort (self) |
Sort function. More... | |
Public Attributes | |
events | |
events More... | |
name | |
name More... | |
Private Member Functions | |
def | __search (self, key) |
Search function. More... | |
TimelineEvent class.
def grid.TimelineEvent.__init__ | ( | self, | |
name = "" |
|||
) |
|
private |
Search function.
self | this object |
key | the key |
Definition at line 217 of file grid.py.
References Bench::Result.events, and grid.TimelineEvent.events.
Referenced by grid.TimelineEvent.get_events(), grid.TimelineEvent.get_events_bounds(), grid.TimelineDataRange.get_ranges(), and grid.TimelineDataRange.get_ranges_bounds().
def grid.TimelineEvent.add_event | ( | self, | |
event | |||
) |
Add Event.
self | this object |
event | event to add |
Definition at line 236 of file grid.py.
References Bench::Result.events, and grid.TimelineEvent.events.
def grid.TimelineEvent.get_bounds | ( | self | ) |
Get Bounds.
self | this object |
Definition at line 273 of file grid.py.
References Bench::Result.events, and grid.TimelineEvent.events.
def grid.TimelineEvent.get_events | ( | self, | |
start, | |||
end | |||
) |
Get Events.
self | this object |
start | starting event |
end | ending event |
Definition at line 244 of file grid.py.
References grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), Bench::Result.events, and grid.TimelineEvent.events.
def grid.TimelineEvent.get_events_bounds | ( | self, | |
start, | |||
end | |||
) |
Get Events Bounds.
self | this object |
start | starting event |
end | ending event |
Definition at line 255 of file grid.py.
References grid.TimelineDataRange.__search(), and grid.TimelineEvent.__search().
def grid.TimelineEvent.sort | ( | self | ) |
Sort function.
self | this object |
Definition at line 266 of file grid.py.
References Bench::Result.events, and grid.TimelineEvent.events.
grid.TimelineEvent.events |
events
Definition at line 215 of file grid.py.
Referenced by grid.TimelineEvent.__search(), grid.TimelineEvent.add_event(), grid.TimelineEvent.get_bounds(), grid.TimelineEvent.get_events(), and grid.TimelineEvent.sort().