anatomist  5.1.2
3D neuroimaging data viewer
anatomist::WaitCommand Class Reference

The abstract base class for commands that display a watch cursor. More...

#include <anatomist/processor/Command.h>

Inheritance diagram for anatomist::WaitCommand:
Collaboration diagram for anatomist::WaitCommand:

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...
 
- Public Member Functions inherited from anatomist::Command
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...
 
- Protected Member Functions inherited from anatomist::Command
 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

- Public Types inherited from anatomist::Command
typedef Command *(* Reader) (const Tree &, CommandContext *)
 

Detailed Description

The abstract base class for commands that display a watch cursor.

Definition at line 145 of file Command.h.

Constructor & Destructor Documentation

◆ ~WaitCommand()

virtual anatomist::WaitCommand::~WaitCommand ( )
virtual

Destructor does nothing.

◆ WaitCommand()

anatomist::WaitCommand::WaitCommand ( )
protected

The programmer cannot call the constructor of an abstract base class.

Member Function Documentation

◆ execute()

virtual void anatomist::WaitCommand::execute ( )
virtual

Execute the command - may use {\tt doit()}.

Reimplemented from anatomist::Command.

◆ redo()

virtual void anatomist::WaitCommand::redo ( )
virtual

Redo the command - may use {\tt doit()}.

Reimplemented from anatomist::Command.

◆ undo()

virtual void anatomist::WaitCommand::undo ( )
virtual

Undo the command - may use {\tt undoit()}.

Reimplemented from anatomist::Command.


The documentation for this class was generated from the following file: