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)
5  2011, 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 
27 #ifndef STEAM_ENGINE_ENGINE_DIAGNOSTICS_H
28 #define STEAM_ENGINE_ENGINE_DIAGNOSTICS_H
29 
30 
31 #include "lib/error.hpp"
32 #include "lib/nocopy.hpp"
34 //#include "include/dummy-player-facade.h"
35 //#include "include/display-facade.h"
36 //#include "steam/engine/calc-stream.hpp"
37 //#include "steam/mobject/model-port.hpp"
38 #include "steam/play/timings.hpp"
39 //#include "steam/play/output-slot.hpp"
40 //#include "common/instancehandle.hpp"
41 //#include "lib/singleton-ref.hpp"
42 //#include "lib/polymorphic-value.hpp"
43 //#include "lib/depend.hpp"
44 //
45 //#include <string>
46 
47 
48 namespace steam {
49 namespace engine{
50 
51 // using std::string;
52 // using lumiera::Subsys;
53 // using lumiera::Display;
54 // using lumiera::DummyPlayer;
56 
57 
58 
59 
60 
61  /**************************************************/
74  {
75  EngineService& engine_;
76 
77  public:
79  : engine_(e)
80  {
81  UNIMPLEMENTED ("attach tracing connector");
82  engine_.activateTracing();
83  }
84 
86  {
87  TODO ("detach tracing connector");
88  engine_.disableTracing();
89  }
90 
92  bool
93  has_scheduled_jobs_for (Timings const& timings)
94  {
95  UNIMPLEMENTED ("Engine Diagnostics: query scheduled jobs");
96  }
97  };
98 
99 
100 
101 
102 
103 
104 } // namespace engine
105 } // namespace steam
106 #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:86
Any copy and copy construction prohibited.
Definition: nocopy.hpp:37
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.