Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
dummy-session-connection.hpp
Go to the documentation of this file.
1/*
2 dummy-session-connection.hpp - scaffolding placeholder to drive the GUI-Session connection
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
34#ifndef STEAM_MOBJECT_SESSION_DUMMY_SESSION_CONNECTION_H
35#define STEAM_MOBJECT_SESSION_DUMMY_SESSION_CONNECTION_H
36
37#include "lib/error.hpp"
38#include "lib/depend.hpp"
39#include "lib/nocopy.hpp"
40#include "lib/util.hpp"
41
44
45#include <string>
46
47namespace lib {
48namespace diff{
49 class MutationMessage;
50}}
51namespace steam {
52namespace cmd {
53
54 using control::Command;
55 using control::CommandDef;
56 using control::CommandSetup;
57
58 /* ============ dedicated Fake-Commands ============ */
59
60 extern CommandSetup test_fake_injectSequence_1;
61 extern CommandSetup test_fake_injectSequence_2;
62
63}
64namespace mobject {
65namespace session {
66
67//using util::isnil;
68 using std::string;
70
84 {
85 string nothing_;
86
89
91
92 public:
97
98
99 /* == do X == */
100
101 /* == forget Y == */
102
103 MutationMessage fabricateSeq1 (string baseID);
104 MutationMessage fabricateSeq2 (string baseID);
105
106 void applyCopy (MutationMessage const&);
107
108
109#if false
110 void setSolution (string const& solution = "")
111 {
112 UNIMPLEMENTED ("tbw");
113 if (isDeaf())
114 this->transmogrify (solution);
115 }
116#endif
117 };
118
119
120
121}}} // namespace steam::mobject::session
122#endif /*SRC_PROC_MOBJECT_SESSION_DUMMY_SESSION_CONNECTION_HPP_*/
Access point to singletons and other kinds of dependencies designated by type.
Definition depend.hpp:281
Helper to abstract creation and lifecycle of a dependency.
Definition depend.hpp:127
Scaffolding to drive the evolution of the Lumiera application.
static lib::Depend< DummySessionConnection > instance
access point to set up the scaffolding.
MutationMessage fabricateSeq1(string baseID)
Build a population diff message to describe a specific session structure to add.
MutationMessage fabricateSeq2(string baseID)
Build another population diff message for a way more contrived timeline structure.
Any copy and copy construction prohibited.
Definition nocopy.hpp:38
Provision for setup of concrete commands for use by the UI.
Singleton services and Dependency Injection.
Lumiera error handling (C++ interface).
Implementation namespace for support and library code.
CommandSetup test_fake_injectSequence_2
CommandSetup test_fake_injectSequence_1
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Opaque message to effect a structural change on a target, which is likewise only known in an abstract...
A token language to represent structural changes in a tree like hierarchical data structure.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...