Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
CheckContainers Class Reference
Inheritance diagram for CheckContainers:

## Public Member Functions
| __init__ (self, name, leakDetector, index)
| destroy (self)
| getPriority (self)
| run (self)
Public Member Functions inherited from Job
| __init__ (self, name)
| finished (self)
| getFinishedEvent (self)
| getJobName (self)
| isFinished (self)
| printingBegin (self)
| printingEnd (self)
| resume (self)
| setPriority (self, priority)
| suspend (self)
Public Member Functions inherited from DirectObject
| __init__ (self)
| accept (self, event, method, extraArgs=[])
| acceptOnce (self, event, method, extraArgs=[])
| addTask (self, *args, **kwargs)
| detectLeaks (self)
| doMethodLater (self, *args, **kwargs)
| getAllAccepting (self)
| ignore (self, event)
| ignoreAll (self)
| isAccepting (self, event)
| isIgnoring (self, event)
| removeAllTasks (self)
| removeTask (self, taskOrName)

## Public Attributes
| notify = self._leakDetector.notify

## Static Public Attributes
int | ReprItems = 5
Static Public Attributes inherited from Job
| Continue = None
| `yield None` is acceptable in place of `yield Job.Continue`
| Done = object()
| Yielded from the `run()` generator method when the job is done.
| Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)
| Sleep = object()
| Yield any remaining time for this job until next frame.
Static Public Attributes inherited from DirectObject
| accept_once = acceptOnce
| add_task = addTask
| detect_leaks = detectLeaks
| do_method_later = doMethodLater
| get_all_accepting = getAllAccepting
| ignore_all = ignoreAll
| is_accepting = isAccepting
| is_ignoring = isIgnoring
| remove_all_tasks = removeAllTasks
| remove_task = removeTask

## Protected Attributes
| _index = index
| _leakDetector = leakDetector
Protected Attributes inherited from Job
bool | _finished = False
| _generator = None
| _id = Job._SerialGen.next()
| _name = name
bool | _printing = False
| _priority = Job.Priorities.Normal
| _pstats = PStatCollector("App:Show code:jobManager:%s" % self._name)
Protected Attributes inherited from DirectObject
dict | _taskList = {}

## Additional Inherited Members
Protected Member Functions inherited from Job
| _cleanupGenerator (self)
| _getGenerator (self)
| _getJobId (self)
| _setFinished (self)
Protected Member Functions inherited from DirectObject
| _addTask (self, task)
| _clearTask (self, task)
Static Protected Attributes inherited from Job
| _SerialGen = SerialNumGen()

## Detailed Description

    Job to check container sizes and find potential leaks; sub-job of ContainerLeakDetector

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | name,
|  |  | leakDetector,
|  |  | index )

## Member Function Documentation

## ◆ destroy()

destroy | ( |  | self | ) |

Reimplemented from Job.

## ◆ getPriority()

getPriority | ( |  | self | ) |

Reimplemented from Job.

## ◆ run()

run | ( |  | self | ) |

    This should be overridden with a generator that does the
    needful processing.

    yield `Job.Continue` when possible/reasonable, and try not to run
    longer than the JobManager's timeslice between yields.

    When done, yield `Job.Done`.

Reimplemented from Job.

## Member Data Documentation

## ◆ _index

_index = index
| protected

## ◆ _leakDetector

_leakDetector = leakDetector
| protected

## ◆ notify

notify = self._leakDetector.notify

## ◆ ReprItems

int ReprItems = 5
| static