Lumiera  0.pre.03
»edit your freedom«
engine-config.hpp
Go to the documentation of this file.
1 /*
2  ENGINE-CONFIG.h - access point to any kind of engine configuration parameters
3 
4  Copyright (C) Lumiera.org
5  2013, 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 
23 
32 #ifndef VAULT_GEAR_ENGINE_CONFIG_H
33 #define VAULT_GEAR_ENGINE_CONFIG_H
34 
35 
36 
37 #include "lib/time/timevalue.hpp"
38 #include "lib/depend.hpp"
39 
40 
41 namespace vault{
42 namespace gear {
43 
44  using lib::time::Duration;
45 
46 
68  {
69  EngineConfig();
70  ~EngineConfig();
71 
72  friend class lib::DependencyFactory<EngineConfig>;
73 
74  public:
80 
81 
83 
84 
92 
93 
101  };
102 
103 }} // namespace vault::gear
104 #endif/*VAULT_GEAR_ENGINE_CONFIG_H*/
Duration currentEngineLatency() const
reasonable guess of the current engine working delay.
Point of access for any kind of engine configuration, setup and performance tweaks.
Access point to singletons and other kinds of dependencies designated by type.
Definition: depend.hpp:289
EngineConfig()
build up a new engine configuration set, based on reasonable default values
Singleton services and Dependency Injection.
Helper to abstract creation and lifecycle of a dependency.
Definition: depend.hpp:134
Duration is the internal Lumiera time metric.
Definition: timevalue.hpp:477
Duration currentJobPlanningRhythm() const
Time interval for ahead planning of render jobs.
a family of time value like entities and their relationships.
Vault-Layer implementation namespace root.