![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "steam/control/command-impl-clone-builder.hpp"
Definition at line 64 of file command-impl-clone-builder.hpp.
Public Member Functions | |
| template<typename ARG > | |
| ClonedContext (ARG const &origArgHolder, TypedAllocationManager &allocator) | |
Public Member Functions inherited from CloneContext | |
| virtual | ~CloneContext () |
Private Member Functions | |
| virtual UndoMutation const & | getUndoFunc () |
| virtual PClo const & | getClosure () |
| virtual bool | isValid () |
| template<typename ARG > | |
| ARG & | downcast () |
| helper for accessing the new cloned closure through the specific concrete type. | |
Private Attributes | |
| PClo | newClosure_ |
| UndoMutation | newUndoFunctor_ |
|
inline |
Definition at line 93 of file command-impl-clone-builder.hpp.
|
inlineprivatevirtual |
Reimplemented from CloneContext.
Definition at line 70 of file command-impl-clone-builder.hpp.
References ClonedContext::newUndoFunctor_.
Reimplemented from CloneContext.
Definition at line 71 of file command-impl-clone-builder.hpp.
References ClonedContext::newClosure_.
Reimplemented from CloneContext.
Definition at line 72 of file command-impl-clone-builder.hpp.
helper for accessing the new cloned closure through the specific concrete type.
As we need to access the closure later, after discarding the exact type, we can store only a baseclass pointer.
Definition at line 82 of file command-impl-clone-builder.hpp.
References INSTANCEOF, and ClonedContext::newClosure_.
|
private |
Definition at line 67 of file command-impl-clone-builder.hpp.
Referenced by ClonedContext::downcast(), and ClonedContext::getClosure().
|
private |
Definition at line 68 of file command-impl-clone-builder.hpp.
Referenced by ClonedContext::getUndoFunc().
Inheritance diagram for ClonedContext:
Collaboration diagram for ClonedContext: