Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
command-dispatch.hpp
Go to the documentation of this file.
1/*
2 COMMAND-DISPATCH.hpp - Interface to enqueue and dispatch command messages
3
4 Copyright (C)
5 2016, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
14
26#ifndef STEAM_CONTROL_COMMAND_DISPATCH_H
27#define STEAM_CONTROL_COMMAND_DISPATCH_H
28
30
31
32
33namespace steam {
34namespace control {
35
36
37
38
46 {
47
48 public:
49 virtual ~CommandDispatch() { }
50
51 virtual void clear() =0;
52 virtual void enqueue (Command&&) =0;
53 };
54
55
56
57
58}} // namespace steam::control
59#endif /*STEAM_CONTROL_COMMAND_DISPATCH_H*/
Interface of a service to perform Commands on the session.
virtual void enqueue(Command &&)=0
virtual ~CommandDispatch()
this is an interface
Handle object representing a single Command instance to be used by client code.
Definition command.hpp:120
Steam-Layer command frontend.
Steam-Layer implementation namespace root.