Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
EventManager Class Reference

Public Member Functions

def __init__ (self, eventQueue=None)
 
def doEvents (self)
 
def eventLoopTask (self, task)
 
def parseEventParameter (self, eventParameter)
 
def processEvent (self, event)
 
def processEventPstats (self, event)
 
def restart (self)
 
def shutdown (self)
 

Public Attributes

 eventHandler
 
 eventQueue
 

Static Public Attributes

 notify = None
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  eventQueue = None 
)
Create a C++ event queue and handler

Member Function Documentation

◆ doEvents()

def doEvents (   self)
Process all the events on the C++ event queue

◆ eventLoopTask()

def eventLoopTask (   self,
  task 
)
Process all the events on the C++ event queue

◆ parseEventParameter()

def parseEventParameter (   self,
  eventParameter 
)
Extract the actual data from the eventParameter

◆ processEvent()

def processEvent (   self,
  event 
)
Process a C++ event
Duplicate any changes in processEventPstats

◆ processEventPstats()

def processEventPstats (   self,
  event 
)
Process a C++ event with pstats tracking
Duplicate any changes in processEvent

◆ restart()

def restart (   self)

◆ shutdown()

def shutdown (   self)

Member Data Documentation

◆ eventHandler

eventHandler

◆ eventQueue

eventQueue

◆ notify

notify = None
static