Sly Engine
CommandBase Class Referenceabstract

#include <CommandBase.h>

Inheritance diagram for CommandBase:
Inheritance graph
Collaboration diagram for CommandBase:
Collaboration graph

Public Member Functions

 CommandBase ()=default
 Default constructor. More...
 
 CommandBase (const CommandBase &)=delete
 Copy constructor. More...
 
 CommandBase (CommandBase &&)=delete
 Move constructor. More...
 
CommandBaseoperator= (const CommandBase &)=delete
 Assignment operator. More...
 
CommandBaseoperator= (CommandBase &&)=delete
 Move assignment operator. More...
 
virtual ~CommandBase ()=default
 Deconstructor. More...
 
virtual void execute ()=0
 Executes this command. Pure virtual function must be defined by all derived commands. More...
 

Constructor & Destructor Documentation

◆ CommandBase() [1/3]

CommandBase::CommandBase ( )
default

Default constructor.

◆ CommandBase() [2/3]

CommandBase::CommandBase ( const CommandBase )
delete

Copy constructor.

◆ CommandBase() [3/3]

CommandBase::CommandBase ( CommandBase &&  )
delete

Move constructor.

◆ ~CommandBase()

virtual CommandBase::~CommandBase ( )
virtualdefault

Deconstructor.

Member Function Documentation

◆ execute()

◆ operator=() [1/2]

CommandBase& CommandBase::operator= ( CommandBase &&  )
delete

Move assignment operator.

◆ operator=() [2/2]

CommandBase& CommandBase::operator= ( const CommandBase )
delete

Assignment operator.


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