Skip to content

CommandDispatcher

#include "Commands/Dispatcher.h"

Public Functions

Name
CommandDispatcher &get()
voidenqueueCommand(ICommand * command)<br>CommandDispatcher takes ownership of the command.
voidexecute()

Public Functions Documentation

function get

cpp
static CommandDispatcher & get()
static CommandDispatcher & get()

function enqueueCommand

cpp
void enqueueCommand(
    ICommand * command
)
void enqueueCommand(
    ICommand * command
)

CommandDispatcher takes ownership of the command.

function execute

cpp
void execute()
void execute()

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