Sly Engine
SceneChangeCommandSwap Class Reference

#include <SceneChangeCommandSwap.h>

Inheritance diagram for SceneChangeCommandSwap:
Inheritance graph
Collaboration diagram for SceneChangeCommandSwap:
Collaboration graph

Public Member Functions

 SceneChangeCommandSwap ()
 
 SceneChangeCommandSwap (const SceneChangeCommandSwap &)=delete
 Default constructor. More...
 
 SceneChangeCommandSwap (SceneChangeCommandSwap &&)=delete
 Move constructor. More...
 
SceneChangeCommandSwapoperator= (const SceneChangeCommandSwap &)=delete
 Assignment operator. More...
 
SceneChangeCommandSwapoperator= (SceneChangeCommandSwap &&)=delete
 Move assignment operator. More...
 
virtual ~SceneChangeCommandSwap ()=default
 Deconstructor. More...
 
 SceneChangeCommandSwap (SceneManager *inputMgr, Scene *theScene)
 Constructor. More...
 
void Initialize (SceneManager *inputMgr, Scene *theScene)
 Initializes this. More...
 
virtual void execute () override
 Executes this command. More...
 
- Public Member Functions inherited from SceneChangeCommandBase
 SceneChangeCommandBase ()=default
 Default constructor. More...
 
 SceneChangeCommandBase (const SceneChangeCommandBase &)=delete
 Copy constructor. More...
 
 SceneChangeCommandBase (SceneChangeCommandBase &&)=delete
 Move constructor. More...
 
SceneChangeCommandBaseoperator= (const SceneChangeCommandBase &)=delete
 Assignment operator. More...
 
SceneChangeCommandBaseoperator= (SceneChangeCommandBase &&)=delete
 Move assignment operator. More...
 
virtual ~SceneChangeCommandBase ()=default
 Deconstructor. 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...
 

Private Attributes

SceneManagersceneMgr
 Manager for scene. More...
 
ScenestoredScene
 The stored scene. More...
 

Friends

class SceneManagerAttorney
 

Constructor & Destructor Documentation

◆ SceneChangeCommandSwap() [1/4]

SceneChangeCommandSwap::SceneChangeCommandSwap ( )
inline

◆ SceneChangeCommandSwap() [2/4]

SceneChangeCommandSwap::SceneChangeCommandSwap ( const SceneChangeCommandSwap )
delete

Default constructor.

Copy constructor

◆ SceneChangeCommandSwap() [3/4]

SceneChangeCommandSwap::SceneChangeCommandSwap ( SceneChangeCommandSwap &&  )
delete

Move constructor.

◆ ~SceneChangeCommandSwap()

virtual SceneChangeCommandSwap::~SceneChangeCommandSwap ( )
virtualdefault

Deconstructor.

◆ SceneChangeCommandSwap() [4/4]

SceneChangeCommandSwap::SceneChangeCommandSwap ( SceneManager inputMgr,
Scene theScene 
)

Constructor.

Parameters
[in,out]inputMgrIf non-null, manager for input.
[in,out]theSceneIf non-null, the scene.

Member Function Documentation

◆ execute()

void SceneChangeCommandSwap::execute ( )
overridevirtual

Executes this command.

Implements CommandBase.

Here is the call graph for this function:

◆ Initialize()

void SceneChangeCommandSwap::Initialize ( SceneManager inputMgr,
Scene theScene 
)

Initializes this.

Parameters
[in,out]inputMgrIf non-null, manager for input.
[in,out]theSceneIf non-null, the scene.
Here is the caller graph for this function:

◆ operator=() [1/2]

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

Assignment operator.

◆ operator=() [2/2]

SceneChangeCommandSwap& SceneChangeCommandSwap::operator= ( SceneChangeCommandSwap &&  )
delete

Move assignment operator.

Friends And Related Function Documentation

◆ SceneManagerAttorney

friend class SceneManagerAttorney
friend

Member Data Documentation

◆ sceneMgr

SceneManager* SceneChangeCommandSwap::sceneMgr
private

Manager for scene.

◆ storedScene

Scene* SceneChangeCommandSwap::storedScene
private

The stored scene.


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