Panda3D
|
Public Member Functions | |
__init__ (self, cr) | |
announceGenerate (self) | |
delete (self) | |
deleteOrDelay (self) | |
disable (self) | |
disableAndAnnounce (self) | |
disableAnnounceAndDelete (self) | |
generate (self) | |
generateInit (self) | |
getCacheable (self) | |
getDelayDeleteCount (self) | |
getDoId (self) | |
isDisabled (self) | |
isGenerated (self) | |
postGenerateMessage (self) | |
sendUpdate (self, fieldName, args=[], sendToId=None) | |
status (self, indent=0) | |
taskName (self, taskString) | |
uniqueName (self, idString) | |
updateAllRequiredFields (self, dclass, di) | |
updateRequiredFields (self, dclass, di) | |
updateRequiredOtherFields (self, dclass, di) | |
![]() | |
getLocation (self) | |
getParentObj (self) | |
handleChildArrive (self, childObj, zoneId) | |
handleChildArriveZone (self, childObj, zoneId) | |
handleChildLeave (self, childObj, zoneId) | |
handleChildLeaveZone (self, childObj, zoneId) | |
handleQueryObjectChildrenLocalDone (self, context) | |
hasParentingRules (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 | |
activeState | |
cr | |
dclass | |
DistributedObjectOV_deleted | |
DistributedObjectOV_initialized | |
doId | |
parentId | |
zoneId | |
![]() | |
cr | |
doId | |
parentId | |
zoneId | |
Static Public Attributes | |
notify = directNotify.newCategory("DistributedObjectOV") | |
![]() | |
notify = directNotify.newCategory("DistributedObjectBase") | |
![]() | |
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 | |
Additional Inherited Members | |
![]() | |
_addTask (self, task) | |
_clearTask (self, task) | |
![]() | |
_taskList | |
Implementation of the 'owner view' (OV) of a distributed object;
__init__ | ( | self, | |
cr ) |
Reimplemented from DistributedObjectBase.
Reimplemented in DistributedCameraOV.
announceGenerate | ( | self | ) |
Sends a message to the world after the object has been generated and all of its required fields filled in.
delete | ( | self | ) |
Inheritors should redefine this to take appropriate action on delete
Reimplemented from DistributedObjectBase.
Reimplemented in DistributedCameraOV.
deleteOrDelay | ( | self | ) |
disable | ( | self | ) |
Inheritors should redefine this to take appropriate action on disable
disableAndAnnounce | ( | self | ) |
disableAnnounceAndDelete | ( | self | ) |
generate | ( | self | ) |
Inheritors should redefine this to take appropriate action on generate
generateInit | ( | self | ) |
This method is called when the DistributedObjectOV is first introduced to the world... Not when it is pulled from the cache.
getCacheable | ( | self | ) |
getDelayDeleteCount | ( | self | ) |
getDoId | ( | self | ) |
Return the distributed object id
isDisabled | ( | self | ) |
Returns true if the object has been disabled and/or deleted, or if it is brand new and hasn't yet been generated.
isGenerated | ( | self | ) |
Returns true if the object has been fully generated by now, and not yet disabled.
postGenerateMessage | ( | self | ) |
sendUpdate | ( | self, | |
fieldName, | |||
args = [], | |||
sendToId = None ) |
status | ( | self, | |
indent = 0 ) |
print out "doId(parentId, zoneId) className" and conditionally show generated, disabled
Reimplemented from DistributedObjectBase.
taskName | ( | self, | |
taskString ) |
uniqueName | ( | self, | |
idString ) |
updateAllRequiredFields | ( | self, | |
dclass, | |||
di ) |
updateRequiredFields | ( | self, | |
dclass, | |||
di ) |
updateRequiredOtherFields | ( | self, | |
dclass, | |||
di ) |
activeState |
cr |
dclass |
DistributedObjectOV_deleted |
DistributedObjectOV_initialized |
doId |
|
static |
parentId |
zoneId |