|
| __init__ (self, globalPtr=0) |
|
| addInterval (self, interval) |
|
| finishIntervalsMatching (self, pattern) |
|
| getInterval (self, name) |
|
| getIntervalsMatching (self, pattern) |
|
| interrupt (self) |
|
| pauseIntervalsMatching (self, pattern) |
|
| removeInterval (self, interval) |
|
| step (self) |
|
Public Member Functions inherited from CIntervalManager |
| __init__ () |
|
int | addCInterval (CInterval interval, bool external) |
| Adds the interval to the manager, and returns a unique index for the interval.
|
|
int | findCInterval (str name) |
| Returns the index associated with the named interval, if there is such an interval, or -1 if there is not.
|
|
CInterval | getCInterval (int index) |
| Returns the interval associated with the given index.
|
|
EventQueue | getEventQueue () |
| Returns the custom event queue to be used for throwing done events from intervals as they finish.
|
|
int | getMaxIndex () |
| Returns one more than the largest interval index number in the manager.
|
|
int | getNextEvent () |
| This should be called by the scripting language after each call to step().
|
|
int | getNextRemoval () |
| This should be called by the scripting language after each call to step().
|
|
int | getNumIntervals () |
| Returns the number of currently active intervals.
|
|
int | interrupt () |
| Pauses or finishes (removes from the active queue) all intervals tagged with auto_pause or auto_finish set to true.
|
|
| output (Ostream out) |
|
| removeCInterval (int index) |
| Removes the indicated interval from the queue immediately.
|
|
| setEventQueue (EventQueue event_queue) |
| Specifies a custom event queue to be used for throwing done events from intervals as they finish.
|
|
| step () |
| This should be called every frame to do the processing for all the active intervals.
|
|
| write (Ostream out) |
|