![]() |
anatomist
5.1.2
3D neuroimaging data viewer
|
The abstract base class for commands that display a watch cursor. More...
#include <anatomist/processor/Command.h>
Public Member Functions | |
virtual | ~WaitCommand () |
Destructor does nothing. More... | |
virtual void | execute () |
Execute the command - may use {\tt doit()}. More... | |
virtual void | undo () |
Undo the command - may use {\tt undoit()}. More... | |
virtual void | redo () |
Redo the command - may use {\tt doit()}. More... | |
![]() | |
virtual | ~Command () |
Destructor does nothing. More... | |
virtual std::string | name () const =0 |
Return the unique name of a class of commands. More... | |
virtual void | write (Tree &com, Serializer *ser) const |
Print the guts of a command into a Tree given as parent. More... | |
Protected Member Functions | |
WaitCommand () | |
The programmer cannot call the constructor of an abstract base class. More... | |
![]() | |
Command () | |
The programmer cannot call the constructor of an abstract base class. More... | |
virtual void | doit ()=0 |
Do a command. More... | |
virtual void | undoit () |
Undo a command. More... | |
Additional Inherited Members | |
![]() | |
typedef Command *(* | Reader) (const Tree &, CommandContext *) |
The abstract base class for commands that display a watch cursor.
|
virtual |
Destructor does nothing.
|
protected |
The programmer cannot call the constructor of an abstract base class.
|
virtual |
Execute the command - may use {\tt doit()}.
Reimplemented from anatomist::Command.
|
virtual |
Redo the command - may use {\tt doit()}.
Reimplemented from anatomist::Command.
|
virtual |
Undo the command - may use {\tt undoit()}.
Reimplemented from anatomist::Command.