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

The abstract base class for usual commands. More...

#include <anatomist/processor/Command.h>

Inherits anatomist::Command.

Inherited by anatomist::ActivateActionCommand, anatomist::AddNodeCommand, anatomist::AddObjectCommand, anatomist::ApplyBuiltinReferentialCommand, anatomist::AskTexExtremaCommand, anatomist::AssignReferentialCommand, anatomist::CameraCommand, anatomist::ChangePaletteCommand, anatomist::ClosePipeCommand, anatomist::CloseWindowCommand, anatomist::ControlsParamsCommand, anatomist::CreateControlWindowCommand, anatomist::CreateGraphCommand, anatomist::CreateWindowCommand, anatomist::DeleteAllCommand, anatomist::DeleteElementCommand, anatomist::DeleteObjectCommand, anatomist::DuplicateObjectCommand, anatomist::EventFilterCommand, anatomist::ExitCommand, anatomist::ExternalReferenceCommand, anatomist::Fusion2DParamsCommand, anatomist::Fusion3DParamsCommand, anatomist::FusionInfoCommand, anatomist::FusionObjectsCommand, anatomist::GetConnThresholdCommand, anatomist::GetInfoCommand, anatomist::GraphDisplayPropertiesCommand, anatomist::GraphParamsCommand, anatomist::GroupObjectsCommand, anatomist::LinkWindowsCommand, anatomist::LinkedCursorCommand, anatomist::LoadTransformationCommand, anatomist::LoadTransformationGraphCommand, anatomist::NewIdCommand, anatomist::NewPaletteCommand, anatomist::ObjectInfoCommand, anatomist::OutputCommand, anatomist::PaintParamsCommand, anatomist::PopupPaletteCommand, anatomist::RemoveObjectCommand, anatomist::SaveTransformationCommand, anatomist::SaveTransformationGraphCommand, anatomist::SelectByHierarchyCommand, anatomist::SelectCommand, anatomist::ServerCommand, anatomist::SetConnThresholdCommand, anatomist::SetControlCommand, anatomist::SetMaterialCommand, anatomist::SetObjectPaletteCommand, anatomist::ShowObjectCommand, anatomist::SliceParamsCommand, anatomist::TexturingParamsCommand, anatomist::WindowBlockCommand, and anatomist::WindowConfigCommand.

Collaboration diagram for anatomist::RegularCommand:

Public Member Functions

virtual ~RegularCommand ()
 Destructor does nothing. More...
 
- Public Member Functions inherited from anatomist::Command
virtual ~Command ()
 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 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

 RegularCommand ()
 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 usual commands.

Definition at line 103 of file Command.h.

Constructor & Destructor Documentation

◆ ~RegularCommand()

virtual anatomist::RegularCommand::~RegularCommand ( )
virtual

Destructor does nothing.

◆ RegularCommand()

anatomist::RegularCommand::RegularCommand ( )
protected

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


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