Lumiera  0.pre.03
»edit your freedom«
engine-diagnostics.hpp
Go to the documentation of this file.
1 /*
2  ENGINE-DIAGNOSTICS.hpp - diagnostic facility to investigate engine operation
3 
4  Copyright (C) Lumiera.org
5  2011, 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 
36 #ifndef STEAM_ENGINE_ENGINE_DIAGNOSTICS_H
37 #define STEAM_ENGINE_ENGINE_DIAGNOSTICS_H
38 
39 
40 #include "lib/error.hpp"
41 #include "lib/nocopy.hpp"
43 //#include "include/dummy-player-facade.h"
44 //#include "include/display-facade.h"
45 //#include "steam/engine/calc-stream.hpp"
46 //#include "steam/mobject/model-port.hpp"
47 #include "steam/play/timings.hpp"
48 //#include "steam/play/output-slot.hpp"
49 //#include "common/instancehandle.hpp"
50 //#include "lib/singleton-ref.hpp"
51 //#include "lib/polymorphic-value.hpp"
52 //#include "lib/depend.hpp"
53 //
54 //#include <string>
55 
56 
57 namespace steam {
58 namespace engine{
59 
60 // using std::string;
61 // using lumiera::Subsys;
62 // using lumiera::Display;
63 // using lumiera::DummyPlayer;
65 
66 
67 
68 
69 
70  /**************************************************/
83  {
84  EngineService& engine_;
85 
86  public:
88  : engine_(e)
89  {
90  UNIMPLEMENTED ("attach tracing connector");
91  engine_.activateTracing();
92  }
93 
95  {
96  TODO ("detach tracing connector");
97  engine_.disableTracing();
98  }
99 
101  bool
102  has_scheduled_jobs_for (Timings const& timings)
103  {
104  UNIMPLEMENTED ("Engine Diagnostics: query scheduled jobs");
105  }
106  };
107 
108 
109 
110 
111 
112 
113 } // namespace engine
114 } // namespace steam
115 #endif
Access point for the (core) calculation service of the render engine.
void activateTracing()
Switch the complete engine into diagnostics mode.
Generic frame timing specification.
Definition: timings.hpp:95
Any copy and copy construction prohibited.
Definition: nocopy.hpp:46
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
A service to schedule series of calculations, delivering the rendered data into an external output si...
Lumiera error handling (C++ interface).
How to define a timing specification or constraint.
Render engine diagnostic facility.