AnnSubsystem.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "systemMacro.h"
4 
5 #include <string>
6 #include <memory>
7 
8 namespace Annwvyn
9 {
10  class AnnEngine;
11 
14  {
15  public:
17  AnnSubSystem(const std::string& systemName);
18 
20  virtual ~AnnSubSystem();
21 
22  protected:
23  friend class AnnEngine;
24 
26  virtual void update();
27 
29  virtual bool needUpdate();
30 
33  };
34 
36 }
file for defining macros used for symbol export regarding the way the OS does things.
Main engine class. Creating an instance of this class make the engine start.
Definition: AnnEngine.hpp:70
Namespace containing the totality of Annwvyn components.
Definition: AnnGetter.cpp:8
std::string name
Name of the subsystem.
Parent class of all Annwvyn SubSystem.
#define AnnDllExport
Definition: systemMacro.h:24