DDraceNetwork Documentation
Loading...
Searching...
No Matches
engine.h
Go to the documentation of this file.
1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3#ifndef ENGINE_ENGINE_H
4#define ENGINE_ENGINE_H
5
6#include "kernel.h"
7
8#include <memory>
9
10class CFutureLogger;
11class IJob;
12class ILogger;
13
14class IEngine : public IInterface
15{
17
18public:
20
21 virtual void Init() = 0;
25};
26
29
30#endif
Definition logger.h:234
Definition engine.h:15
virtual void AddJob(std::shared_ptr< IJob > pJob)=0
virtual void SetAdditionalLogger(std::shared_ptr< ILogger > &&pLogger)=0
virtual void ShutdownJobs()=0
virtual void Init()=0
Definition kernel.h:10
Definition jobs.h:20
Definition logger.h:68
Definition vmath.h:15
IEngine * CreateTestEngine(const char *pAppname)
Definition engine.cpp:116
IEngine * CreateEngine(const char *pAppname, std::shared_ptr< CFutureLogger > pFutureLogger)
Definition engine.cpp:115
#define MACRO_INTERFACE(Name)
Definition kernel.h:25