Panda3D
Loading...
Searching...
No Matches
ActionBase Class Reference
Inheritance diagram for ActionBase:
Functor ActionAddNewObj ActionChangeHierarchy ActionDeleteObj ActionDeleteObjById ActionDeselectAll ActionSelectObj ActionTransformObj ActionUpdateObjectProp

Public Member Functions

 __init__ (self, function, *args, **kargs)
 
 postCall (self)
 
 redo (self)
 
 saveStatus (self)
 
 undo (self)
 
- Public Member Functions inherited from Functor
 __init__ (self, function, *args, **kargs)
 
 __repr__ (self)
 
 destroy (self)
 

Public Attributes

 function = function
 
 result = None
 

Protected Member Functions

 _do__call__ (self, *args, **kargs)
 

Additional Inherited Members

- Protected Attributes inherited from Functor
 _args = args
 
 _function = function
 
 _kargs = kargs
 

Detailed Description

 Base class for user actions 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
function,
* args,
** kargs )

Member Function Documentation

◆ _do__call__()

_do__call__ ( self,
* args,
** kargs )
protected

Reimplemented from Functor.

Reimplemented in ActionTransformObj.

◆ postCall()

postCall ( self)

Reimplemented in ActionAddNewObj.

◆ redo()

redo ( self)

Reimplemented in ActionAddNewObj, and ActionUpdateObjectProp.

◆ saveStatus()

◆ undo()

Member Data Documentation

◆ function

function = function

◆ result

result = None