Lumiera  0.pre.03
»edit your freedom«
engine-service-mock.hpp
Go to the documentation of this file.
1 /*
2  ENGINE-SERVICE-MOCK.hpp - dummy render engine implementation for test/development
3 
4  Copyright (C) Lumiera.org
5  2012, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
40 #ifndef STEAM_ENGINE_ENGINE_SERVICE_MOCK_H
41 #define STEAM_ENGINE_ENGINE_SERVICE_MOCK_H
42 
43 
44 #include "lib/error.hpp"
45 //#include "include/dummy-player-facade.h"
46 //#include "include/display-facade.h"
49 #include "steam/play/timings.hpp"
51 //#include "common/instancehandle.hpp"
52 //#include "lib/singleton-ref.hpp"
54 #include "lib/scoped-ptrvect.hpp"
55 
56 
57 namespace steam {
58 namespace node { class DummyTick; }
59 
60 namespace engine{
61 
62 // using std::string;
63 // using lumiera::Subsys;
64 // using lumiera::Display;
65 // using lumiera::DummyPlayer;
66  using mobject::ModelPort;
68 
69  typedef EngineService::Quality Quality;
70 
71 
72 
73 
74 
75  /************************************************************/
83  : public EngineService
84  {
86 
87 
88  public:
89 
91 
92 
93  protected:
94  virtual RenderEnvironment& configureCalculation (ModelPort,Timings,Quality);
95  };
96 
97 
98 
99 
100 }} // namespace steam::engine
101 #endif
Organising the output data calculation possibilities.
An (abstract) capability to send media data to an external output.
Access point for the (core) calculation service of the render engine.
Generic frame timing specification.
Definition: timings.hpp:95
Steam-Layer implementation namespace root.
Managing lifecycle for a collection of objects.
Simple vector based collection of pointers, managing lifecycle of the pointed-to objects.
A service to schedule series of calculations, delivering the rendered data into an external output si...
A core abstraction within the render engine to represent an ongoing calculation.
Lumiera error handling (C++ interface).
Handle designating a point within the model, where actually output data can be pulled.
Definition: model-port.hpp:104
How to define a timing specification or constraint.
Abstract definition of the environment hosting a given render activity (CalcStream).
Variant of the render engine, reconfigured for mock operation.