Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DelayedCall Class Reference

## Public Member Functions
| __init__ (self, func, name=None, delay=None)
| destroy (self)
| finish (self)

## Protected Member Functions
| _addDoLater (self)
| _doCallback (self, task)
| _removeDoLater (self)

## Protected Attributes
| _delay = delay
| _doCallback
bool | _finished = False
| _func = func
str | _taskName = 'DelayedCallback-%s' % name

## Detailed Description

     calls a func after a specified delay

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | func,
|  |  | name = None,
|  |  | delay = None )

## Member Function Documentation

## ◆ _addDoLater()

_addDoLater | ( |  | self | ) |
| protected

## ◆ _doCallback()

_doCallback | ( |  | self,
|  |  | task )
| protected

## ◆ _removeDoLater()

_removeDoLater | ( |  | self | ) |
| protected

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ finish()

finish | ( |  | self | ) |

## Member Data Documentation

## ◆ _delay

_delay = delay
| protected

## ◆ _doCallback

_doCallback
| protected

## ◆ _finished

bool _finished = False
| protected

## ◆ _func

_func = func
| protected

## ◆ _taskName

_taskName = 'DelayedCallback-%s' % name
| protected