Skip to content

BeforeCloseCommand

#include "Commands/ApplicationCommands.h"

Inherits from Command< BeforeCloseCommand >, ICommand

Additional inherited members

Public Types inherited from Command< BeforeCloseCommand >

Name
typedef std::function< void(Args &...)>Callback

Public Functions inherited from Command< BeforeCloseCommand >

Name
Command() =default
virtual~Command() =default
virtual voidexecute() override<br>Call all callbacks.
voidaddListener(Callback function)<br>Add a listener for a command.
voiddispatch(Args... args)<br>Tell application that command was issued.
voiddispatchImmediate(Args... args)

Protected Functions inherited from Command< BeforeCloseCommand >

Name
Command(const std::tuple< Args... > & args)<br>Copy a command and its arguments.

Public Functions inherited from ICommand

Name
virtual~ICommand() =default
virtual voidexecute() =0

Updated on 2024-11-06 at 20:16:53 +0000