Panda3D

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

## 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()

saveStatus | ( |  | self | ) |

Reimplemented in ActionDeleteObj, ActionDeleteObjById, ActionDeselectAll, ActionSelectObj, ActionTransformObj, and ActionUpdateObjectProp.

## ◆ undo()

undo | ( |  | self | ) |

Reimplemented in ActionAddNewObj, ActionChangeHierarchy, ActionDeleteObj, ActionDeleteObjById, ActionDeselectAll, ActionSelectObj, ActionTransformObj, and ActionUpdateObjectProp.

## Member Data Documentation

## ◆ function

function = function

## ◆ result

result = None