Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
DirectObject Class Reference
Inheritance diagram for DirectObject:
Actor DirectAnalogs DirectButtons DirectDeviceManager DirectDials DirectTimecodeReader DirectTracker DirectFastrak DirectJoybox DirectRadamec DirectCameraControl DirectGrid DirectManipulationControl ObjectHandles SelectedNodePaths DirectSession DisplayRegionContext DisplayRegionList Mopath AsyncRequest DistributedObjectBase InterestWatcher FilterManager ClassicFSM FSM State StateData EventArgument EventPulse OnscreenGeom OnscreenImage Interval DummyAcceptor CurveEditor LevelEditorBase MotionTrail AppRunner PackageInstaller ForceGroup BufferViewer BulletinBoardWatcher DistancePhasedNode EventGroup Job Loader MessengerLeakObject ExclusiveObjectPool ShadowPlacer ShowBase TexMemWatcher TexViewer MopathRecorder TaskManagerWidget AppShell MemoryExplorer SceneGraphExplorer Viewport

Public Member Functions

 __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)
 

Static Public Attributes

 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 Member Functions

 _addTask (self, task)
 
 _clearTask (self, task)
 

Protected Attributes

 _taskList
 

Detailed Description

This is the class that all Direct/SAL classes should inherit from

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Reimplemented in DirectCameraControl, DirectManipulationControl, SelectedNodePaths, DirectSession, DisplayRegionList, ToonEyes, LevelEditor, LevelEditorBase, AppRunner, TestJob, MessengerLeakObject, ThreeUpShow, Func, LerpFuncNS, LerpFunc, ActorInterval, DistributedCameraAI, DistributedObjectAI, DistributedObjectGlobalAI, DistributedObjectGlobalUD, DistributedObjectUD, TimeManagerAI, DistributedNodeAI, DistributedNodeUD, DistributedSmoothNodeAI, AsyncRequest, DistributedCartesianGridAI, AnimPanel, DWBPackageInstaller, PackageInstaller, Loader, DisplayRegionContext, AnimControlInterval, DistributedActor, DistributedCamera, DistributedCameraOV, DistributedCartesianGrid, DistributedNode, DistributedObject, DistributedObjectBase, DistributedObjectGlobal, DistributedObjectOV, DistributedSmoothNode, SampleObject, TimeManager, _MessageTypeLeakDetectorCreator, _MessageListenerTypeLeakDetectorCreator, ShadowPlacer, DirectRadamec, DirectJoybox, DirectFastrak, AcceptInterval, IgnoreInterval, StateData, CurveEditor, EventPulse, EventArgument, EventInterval, FSMInspector, ShowBase, FunctionInterval, LerpFunctionNoStateInterval, LerpFunctionInterval, OnscreenGeom, DirectGrid, TexMemWatcher, Fixture, OnscreenImage, InterestWatcher, IndirectInterval, Actor, MopathInterval, FSM, ClassicStyle, Job, MessengerLeakDetector, GarbageLogger, Viewport, BufferedDistancePhasedNode, Interval, State, ContainerLeakDetector, FindContainers, PruneObjectRefs, CheckContainers, FPTObjsNamed, FPTObjsOfType, ContainerReport, GarbageReport, MotionTrail, DistancePhasedNode, BulletinBoardWatcher, ClassicFSM, EventGroup, ObjectHandles, ForceGroup, GlobalForceGroup, Mopath, ProjectileInterval, HprInterval, HprScaleInterval, ParentInterval, WrtParentInterval, PosInterval, PosHprInterval, PosHprScaleInterval, ScaleInterval, ReferrerSearch, ExclusiveObjectPool, TaskManagerWidget, DirectSessionPanel, MopathRecorder, Placer, AppShell, TestAppShell, MemoryExplorer, SceneGraphExplorer, TestInterval, ParticleInterval, ParticlePanel, DirectDeviceManager, SoundInterval, TaskManagerPanel, TexViewer, DirectButtons, DirectAnalogs, DirectTracker, DirectDials, DirectTimecodeReader, FilterManager, and BufferViewer.

Member Function Documentation

◆ _addTask()

_addTask ( self,
task )
protected

◆ _clearTask()

_clearTask ( self,
task )
protected

◆ accept()

accept ( self,
event,
method,
extraArgs = [] )

◆ acceptOnce()

acceptOnce ( self,
event,
method,
extraArgs = [] )

◆ addTask()

addTask ( self,
* args,
** kwargs )

◆ detectLeaks()

detectLeaks ( self)

◆ doMethodLater()

doMethodLater ( self,
* args,
** kwargs )

◆ getAllAccepting()

getAllAccepting ( self)

◆ ignore()

ignore ( self,
event )

◆ ignoreAll()

ignoreAll ( self)

◆ isAccepting()

isAccepting ( self,
event )

◆ isIgnoring()

isIgnoring ( self,
event )

◆ removeAllTasks()

removeAllTasks ( self)

◆ removeTask()

removeTask ( self,
taskOrName )

Member Data Documentation

◆ _taskList

_taskList
protected

◆ accept_once

accept_once = acceptOnce
static

◆ add_task

add_task = addTask
static

◆ detect_leaks

detect_leaks = detectLeaks
static

◆ do_method_later

do_method_later = doMethodLater
static

◆ get_all_accepting

get_all_accepting = getAllAccepting
static

◆ ignore_all

ignore_all = ignoreAll
static

◆ is_accepting

is_accepting = isAccepting
static

◆ is_ignoring

is_ignoring = isIgnoring
static

◆ remove_all_tasks

remove_all_tasks = removeAllTasks
static

◆ remove_task

remove_task = removeTask
static