OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityAPI.h
Go to the documentation of this file.
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
9#include "OTCore/CoreTypes.h"
11#include "ClassFactoryHandler.h"
12
13namespace ot {
14
15 class __declspec(dllexport) EntityAPI {
16 OT_DECL_NOCOPY(EntityAPI)
17 OT_DECL_NOMOVE(EntityAPI)
18 OT_DECL_NODEFAULT(EntityAPI)
19 public:
20 static EntityBase* readEntityFromEntityIDandVersion(UID _entityID, UID _version, ClassFactoryHandler& classFactory);
21
22 private:
23
24 };
25
26}
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOMOVE(___class)
Removes the default move constructor and move operator.
Definition OTClassHelper.h:18
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition Connector.h:8
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27