Panda3D
Public Member Functions | Public Attributes | List of all members
IntervalManager Class Reference
Inheritance diagram for IntervalManager:
CIntervalManager

Public Member Functions

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

Public Attributes

 cObj
 
 dd
 
 eventQueue
 
 ivals
 
 MyEventmanager
 
 removedIvals
 

Additional Inherited Members

- Static Public Member Functions inherited from CIntervalManager
static CIntervalManager getGlobalPtr ()
 Returns the pointer to the one global CIntervalManager object. More...
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  globalPtr = 0 
)

Member Function Documentation

◆ addInterval()

def addInterval (   self,
  interval 
)

◆ finishIntervalsMatching()

def finishIntervalsMatching (   self,
  pattern 
)

◆ getInterval()

def getInterval (   self,
  name 
)

◆ getIntervalsMatching()

def getIntervalsMatching (   self,
  pattern 
)

◆ interrupt()

def interrupt (   self)

◆ pauseIntervalsMatching()

def pauseIntervalsMatching (   self,
  pattern 
)

◆ removeInterval()

def removeInterval (   self,
  interval 
)

◆ step()

def step (   self)

Member Data Documentation

◆ cObj

cObj

◆ dd

dd

◆ eventQueue

eventQueue

◆ ivals

ivals

◆ MyEventmanager

MyEventmanager

◆ removedIvals

removedIvals