# TaskManager

from direct.task.Task import TaskManager

## Inheritance:

TaskManager:

## Methods of TaskManager:

__addNewTask
__addPendingTask
__addPendingTasksToTaskList
__doLaterFilter
__doLaterProcessor
__executeTask
__getTimeFrame
__init__
__removeTaskFromNameDict
__removeTasksEqual
__removeTasksNamed
__repeatDoMethod
__repr__
__stepThroughList
add
doMethodLater
doOsd
getTasksNamed
hasTaskNamed
keyboardInterruptHandler
osdEnabled
popupControls
remove
removeTasksMatching
replaceMethod
resetStats
run
setVerbose
startOsd
step
stepping
stop
stopOsd

__addNewTask def __addNewTask(self, task) Undocumented function.

__addPendingTask def __addPendingTask(self, task) Undocumented function.

__addPendingTasksToTaskList def __addPendingTasksToTaskList(self) Undocumented function.

__doLaterFilter def __doLaterFilter(self) Undocumented function.

__doLaterProcessor def __doLaterProcessor(self, task) Undocumented function.

__executeTask def __executeTask(self, task) Undocumented function.

__getTimeFrame def __getTimeFrame(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

__removeTaskFromNameDict def __removeTaskFromNameDict(self, task) Undocumented function.

__removeTasksEqual def __removeTasksEqual(self, task) Undocumented function.

__removeTasksNamed def __removeTasksNamed(self, taskName) Undocumented function.

__repeatDoMethod def __repeatDoMethod(self, task) Called when a task execute function returns Task.again because it wants the task to execute again after the same or a modified delay (set 'delayTime' on the task object to change the delay)

__repr__ def __repr__(self) Undocumented function.

__stepThroughList def __stepThroughList(self, taskPriList) Undocumented function.

add def add(self, funcOrTask, name, priority=0, extraArgs=None, uponDeath=None) Add a new task to the taskMgr. You can add a Task object or a method that takes one argument.

doMethodLater def doMethodLater(self, delayTime, funcOrTask, name, extraArgs=None, priority=0, uponDeath=None, appendTask=False) Undocumented function.

doOsd def doOsd(self, task) Undocumented function.

getTasksNamed def getTasksNamed(self, taskName) Undocumented function.

hasTaskNamed def hasTaskNamed(self, taskName) Undocumented function.

keyboardInterruptHandler def keyboardInterruptHandler(self, signalNumber, stackFrame) Undocumented function.

osdEnabled def osdEnabled(self) Undocumented function.

popupControls def popupControls(self) Undocumented function.

remove def remove(self, taskOrName) Undocumented function.

removeTasksMatching def removeTasksMatching(self, taskPattern) removeTasksMatching(self, string taskPattern) Removes tasks whose names match the pattern, which can include standard shell globbing characters like *, ?, and [].

replaceMethod def replaceMethod(self, oldMethod, newFunction) Undocumented function.

resetStats def resetStats(self) Undocumented function.

run def run(self) Undocumented function.

setVerbose def setVerbose(self, value) Undocumented function.

startOsd def startOsd(self) Undocumented function.

step def step(self) Undocumented function.

stepping def stepping(self, value) Undocumented function.

stop def stop(self) Undocumented function.

stopOsd def stopOsd(self) Undocumented function.