Sly Engine
PingCommand Class Reference

#include <PingCommand.h>

Inheritance diagram for PingCommand:
Inheritance graph
Collaboration diagram for PingCommand:
Collaboration graph

Public Member Functions

 PingCommand ()=default
 Default Constructor. More...
 
 PingCommand (const PingCommand &)=delete
 Copy Constructor. More...
 
 PingCommand (PingCommand &&)=delete
 Move operator. More...
 
PingCommandoperator= (const PingCommand &)=delete
 Copy assignment operator. More...
 
PingCommandoperator= (PingCommand &&)=delete
 Move assignment operator. More...
 
virtual ~PingCommand ()=default
 Destructor (Virtual from CommandBase) More...
 
virtual void execute () override
 Executes the ping command by requesting the screen logger to print "Pong!". More...
 
- Public Member Functions inherited from ConsoleCommand
 ConsoleCommand ()=default
 Default Constructor. More...
 
 ConsoleCommand (const ConsoleCommand &)=delete
 Copy Constructor. More...
 
 ConsoleCommand (ConsoleCommand &&)=delete
 Move operator. More...
 
ConsoleCommandoperator= (const ConsoleCommand &)=delete
 Copy assignment operator. More...
 
ConsoleCommandoperator= (ConsoleCommand &&)=delete
 Move assignment operator. More...
 
virtual ~ConsoleCommand ()=default
 Destructor (Virtual from CommandBase) More...
 
virtual void initialize (std::vector< std::string > arguments)
 Initializer list of arguments. More...
 
- Public Member Functions inherited from CommandBase
 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...
 

Constructor & Destructor Documentation

◆ PingCommand() [1/3]

PingCommand::PingCommand ( )
default

Default Constructor.

◆ PingCommand() [2/3]

PingCommand::PingCommand ( const PingCommand )
delete

Copy Constructor.

◆ PingCommand() [3/3]

PingCommand::PingCommand ( PingCommand &&  )
delete

Move operator.

◆ ~PingCommand()

virtual PingCommand::~PingCommand ( )
virtualdefault

Destructor (Virtual from CommandBase)

Member Function Documentation

◆ execute()

void PingCommand::execute ( )
overridevirtual

Executes the ping command by requesting the screen logger to print "Pong!".

Implements ConsoleCommand.

Here is the call graph for this function:

◆ operator=() [1/2]

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

Copy assignment operator.

◆ operator=() [2/2]

PingCommand& PingCommand::operator= ( PingCommand &&  )
delete

Move assignment operator.


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