Lumiera  0.pre.03
»edityourfreedom«
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 PROC_ENGINE_ENGINE_SERVICE_MOCK_H
41 #define PROC_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 "proc/play/timings.hpp"
51 //#include "common/instancehandle.hpp"
52 //#include "lib/singleton-ref.hpp"
54 #include "lib/scoped-ptrvect.hpp"
55 
56 
57 namespace proc {
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;
67  using proc::play::Timings;
68 
70 
71 
72 
73 
74 
75  /************************************************************/
83  : public EngineService
84  {
86 
87 
88  public:
89 
91 
92 
93  protected:
94  virtual RenderEnvironmentClosure& configureCalculation (ModelPort,Timings,Quality);
95  };
96 
97 
98 
99 
100 }} // namespace proc::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.
Abstract definition of the environment hosting a given render activity (CalcStream).
Definition: calc-stream.hpp:81
Handle denoting a point within the model, where actually output data can be pulled.
Definition: model-port.hpp:104
Managing lifecycle for a collection of objects.
Quality-of-Service definition for an Render Engine usage.
Simple vector based collection of pointers, managing lifecycle of the pointed-to objects.
Tick generating service for a periodic callback, with adjustable frequency.
Definition: dummy-tick.hpp:60
lib::ScopedPtrVect< node::DummyTick > processors_
Variant of the render engine, reconfigured for mock operation.
EngineService::Quality Quality
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).
How to define a timing specification or constraint.
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63
Generic frame timing specification.
Definition: timings.hpp:95