Command to handle the deregistration of a key event for an Inputable object. More...
#include <MouseKeyDeregistrationCommand.h>

Public Member Functions | |
| MouseKeyDeregistrationCommand (Inputable *in, AZUL_MOUSE k, EventType e) | |
| Constructor for MouseKeyDeregistrationCommand. | |
| MouseKeyDeregistrationCommand (const MouseKeyDeregistrationCommand &)=delete | |
| MouseKeyDeregistrationCommand & | operator= (const MouseKeyDeregistrationCommand &)=delete |
| void | Execute () override |
| Executes the deregistration command for the key event. | |
Public Member Functions inherited from CommandBase | |
| virtual | ~CommandBase ()=default |
| Destructor for CommandBase. | |
Public Attributes | |
| Inputable * | ptrIn |
| Pointer to the Inputable object. | |
| AZUL_MOUSE | key |
| The key to deregister. | |
| EventType | eventType |
| The event type to deregister. | |
Command to handle the deregistration of a key event for an Inputable object.
The MouseKeyDeregistrationCommand class is responsible for executing the deregistration of a key event for an Inputable object. It inherits from the CommandBase class and overrides the Execute method to perform the deregistration action.
| MouseKeyDeregistrationCommand::MouseKeyDeregistrationCommand | ( | Inputable * | in, |
| AZUL_MOUSE | k, | ||
| EventType | e ) |
Constructor for MouseKeyDeregistrationCommand.
| in | Pointer to the Inputable object. |
| k | The key to deregister. |
| e | The event type to deregister. |
|
overridevirtual |
Executes the deregistration command for the key event.
Implements CommandBase.
