From a2ed5cc6d47a8c3479f9c0209fd7d9e9639e95d3 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Tue, 13 Feb 2018 20:10:16 +0000 Subject: [Travis] Rebuilding documentation --- system_8h_source.html | 65 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 26 deletions(-) (limited to 'system_8h_source.html') diff --git a/system_8h_source.html b/system_8h_source.html index f72bb768..d9214169 100644 --- a/system_8h_source.html +++ b/system_8h_source.html @@ -96,35 +96,48 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
9 #ifndef YAGE_ENGINE_SYSTEM_H
10 #define YAGE_ENGINE_SYSTEM_H
11 
-
12 namespace yage
-
13 {
-
14 
-
18 class System
-
19 {
-
20 public:
-
25  virtual ~System() = 0;
-
26 
-
31  virtual void init() = 0;
-
32 
-
38  virtual void update(double dt) = 0;
-
39 
-
43  virtual void destroy() = 0;
-
44 };
-
45 
-
53 inline System::~System() {}
-
54 
-
55 } // namespace yage
-
56 
-
57 #endif
-
yage::System
System interface for the different systems in the engine.
Definition: system.h:18
-
yage::System::init
virtual void init()=0
Initializes the system.
-
yage::System::~System
virtual ~System()=0
Virtual destructor to destroy all the objects that implement this properly.
Definition: system.h:53
-
yage::System::destroy
virtual void destroy()=0
Destroy the system and the components that are contained in it.
-
yage::System::update
virtual void update(double dt)=0
Updates the system at each interval using the time step.
+
12 #include <cstddef>
+
13 
+
14 #include "../util/noncopyable.h"
+
15 
+
16 namespace yage
+
17 {
+
18 
+
19 class BaseSystem : public yage::NonCopyable
+
20 {
+
21 public:
+
22  typedef std::size_t Identifier;
+
23 
+
24  virtual void update() = 0;
+
25 
+
26 protected:
+
27  Identifier id_;
+
28 };
+
29 
+
33 template <typename Derived>
+
34 class System : public BaseSystem
+
35 {
+
36 public:
+
37 };
+
38 
+
39 class SystemManager : public yage::NonCopyable {
+
40 
+
41 };
+
42 
+
43 } // namespace yage
+
44 
+
45 #endif
+
yage::BaseSystem::update
virtual void update()=0
+
yage::SystemManager
Definition: system.h:39
+
yage::System
System interface for the different systems in the engine.
Definition: system.h:34
+
yage::BaseSystem::Identifier
std::size_t Identifier
Definition: system.h:22
+
yage::NonCopyable
Definition: noncopyable.h:7
+
yage::BaseSystem
Definition: system.h:19
+
yage::BaseSystem::id_
Identifier id_
Definition: system.h:27
-- cgit