OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GlobalModel.h
Go to the documentation of this file.
1#pragma once
2
3#include "Model.h"
5
8public:
9 static Model* instance(void);
10 static void setInstance(Model* _model);
11
12private:
13 static Model*& getInstance(void);
14
15};
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_STATICONLY(___class)
OT_DECL_NODEFAULT OT_DECL_NOCOPY OT_DECL_NOMOVE
Definition OTClassHelper.h:28
Definition GlobalModel.h:6
static Model * instance(void)
Definition GlobalModel.cpp:4
static void setInstance(Model *_model)
Definition GlobalModel.cpp:8
The Model class is the main interface to the model. There may be multiple instances of this class....
Definition Model.h:94