score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
ICommandDispatcher.hpp
1
#pragma once
2
#include <score/command/Command.hpp>
3
namespace
score
4
{
5
class
CommandStack;
6
class
CommandStackFacade;
7
}
8
20
class
ICommandDispatcher
21
{
22
public
:
23
explicit
ICommandDispatcher
(
const
score::CommandStack
& stack) =
delete
;
24
25
explicit
ICommandDispatcher
(
const
score::CommandStackFacade
& stack)
26
: m_stack{stack}
27
{
28
}
29
30
const
score::CommandStackFacade
& stack()
const
{
return
m_stack; }
31
32
private
:
33
const
score::CommandStackFacade
& m_stack;
34
};
ICommandDispatcher
The ICommandDispatcher class.
Definition
ICommandDispatcher.hpp:21
score::CommandStackFacade
A small abstraction layer over the score::CommandStack.
Definition
CommandStackFacade.hpp:20
score::CommandStack
Definition
CommandStack.hpp:26
score
Base toolkit upon which the software is built.
Definition
Application.cpp:90