Sly Engine
InputableRegistrationCommand Class Reference

#include <InputableRegistrationCommand.h>

Inheritance diagram for InputableRegistrationCommand:
Inheritance graph
Collaboration diagram for InputableRegistrationCommand:
Collaboration graph

Public Member Functions

 InputableRegistrationCommand ()=delete
 Default constructor. More...
 
 InputableRegistrationCommand (const InputableRegistrationCommand &)=delete
 Copy constructor. More...
 
 InputableRegistrationCommand (InputableRegistrationCommand &&)=delete
 Move constructor. More...
 
InputableRegistrationCommandoperator= (const InputableRegistrationCommand &)=delete
 Assignment operator. More...
 
InputableRegistrationCommandoperator= (InputableRegistrationCommand &&)=delete
 Move assignment operator. More...
 
virtual ~InputableRegistrationCommand ()=default
 Deconstructor. More...
 
 InputableRegistrationCommand (Inputable *ptrIn)
 Constructor. More...
 
 InputableRegistrationCommand (Inputable *ptrIn, AZUL_KEY inK, Inputable::EVENT_TYPE inE)
 Constructor. More...
 
void execute () override
 Executes this
More...
 
void SetKeyandEvent (AZUL_KEY inK, Inputable::EVENT_TYPE inE)
 Sets keyand event. More...
 
- Public Member Functions inherited from SceneRegistry
 SceneRegistry ()=default
 Default constructor. More...
 
 SceneRegistry (const SceneRegistry &)=delete
 Copy constructor. More...
 
 SceneRegistry (SceneRegistry &&)=delete
 Move constructor. More...
 
SceneRegistryoperator= (const SceneRegistry &)=delete
 Assignment operator. More...
 
SceneRegistryoperator= (SceneRegistry &&)=delete
 Move assignment operator. More...
 
virtual ~SceneRegistry ()=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

InputableptrIn
 The pointer in. More...
 
AZUL_KEY k
 An AZUL_KEY to process. More...
 
Inputable::EVENT_TYPE e
 An Inputable::EVENT_TYPE to process. More...
 

Friends

class InputableAttorney
 

Constructor & Destructor Documentation

◆ InputableRegistrationCommand() [1/5]

InputableRegistrationCommand::InputableRegistrationCommand ( )
delete

Default constructor.

◆ InputableRegistrationCommand() [2/5]

InputableRegistrationCommand::InputableRegistrationCommand ( const InputableRegistrationCommand )
delete

Copy constructor.

◆ InputableRegistrationCommand() [3/5]

InputableRegistrationCommand::InputableRegistrationCommand ( InputableRegistrationCommand &&  )
delete

Move constructor.

◆ ~InputableRegistrationCommand()

virtual InputableRegistrationCommand::~InputableRegistrationCommand ( )
virtualdefault

Deconstructor.

◆ InputableRegistrationCommand() [4/5]

InputableRegistrationCommand::InputableRegistrationCommand ( Inputable ptrIn)

Constructor.

Parameters
[in,out]ptrInIf non-null, the pointer to the inputable.

◆ InputableRegistrationCommand() [5/5]

InputableRegistrationCommand::InputableRegistrationCommand ( Inputable ptrIn,
AZUL_KEY  inK,
Inputable::EVENT_TYPE  inE 
)

Constructor.

Parameters
[in,out]ptrInIf non-null, the pointer in.
inKThe input key.
inEThe in event.

Member Function Documentation

◆ execute()

void InputableRegistrationCommand::execute ( )
overridevirtual

Executes this

Implements CommandBase.

Here is the call graph for this function:

◆ operator=() [1/2]

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

Assignment operator.

◆ operator=() [2/2]

InputableRegistrationCommand& InputableRegistrationCommand::operator= ( InputableRegistrationCommand &&  )
delete

Move assignment operator.

◆ SetKeyandEvent()

void InputableRegistrationCommand::SetKeyandEvent ( AZUL_KEY  inK,
Inputable::EVENT_TYPE  inE 
)

Sets keyand event.

Parameters
inKThe input key.
inEThe input event.

Friends And Related Function Documentation

◆ InputableAttorney

friend class InputableAttorney
friend

Member Data Documentation

◆ e

Inputable::EVENT_TYPE InputableRegistrationCommand::e
private

An Inputable::EVENT_TYPE to process.

◆ k

AZUL_KEY InputableRegistrationCommand::k
private

An AZUL_KEY to process.

◆ ptrIn

Inputable* InputableRegistrationCommand::ptrIn
private

The pointer in.


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