Panda3D

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

## Public Member Functions
| __init__ (self, functor, name=None, delay=None)
| __call__ (self, *args, **kwArgs)

## Protected Member Functions
| _callFunctor (self)

## Protected Attributes
| _args = args
| _delay = delay
| _delayedCall = DelayedCall(self._callFunctor, self._name, self._delay)
| _functor = functor
| _kwArgs = kwArgs
| _name = name

## Detailed Description

     Waits for this object to be called, then calls supplied functor after a delay.
    Effectively inserts a time delay between the caller and the functor.

## Constructor & Destructor Documentation

## ◆ __init__()

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

## Member Function Documentation

## ◆ __call__()

__call__ | ( |  | self,
|  | * | args,
|  | ** | kwArgs )

## ◆ _callFunctor()

_callFunctor | ( |  | self | ) |
| protected

## Member Data Documentation

## ◆ _args

_args = args
| protected

## ◆ _delay

_delay = delay
| protected

## ◆ _delayedCall

_delayedCall = DelayedCall(self._callFunctor, self._name, self._delay)
| protected

## ◆ _functor

_functor = functor
| protected

## ◆ _kwArgs

_kwArgs = kwArgs
| protected

## ◆ _name

_name = name
| protected