OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MenuEntryCfgFactory.h
Go to the documentation of this file.
1
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
10#include "OTGui/MenuEntryCfg.h"
11
12namespace ot {
13
16 public:
17 static MenuEntryCfgFactory& instance(void);
18
19 static MenuEntryCfg* create(const ConstJsonObject& _jsonObject);
20
21 private:
24 };
25
26 template <class T>
28 public:
30 };
31
32}
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The FactoryRegistrarTemplate may be used to register a constructor at the factory.
Definition FactoryTemplate.h:76
The FactoryTemplate may be used to quickly create default factories that are only used for item creat...
Definition FactoryTemplate.h:24
Definition MenuEntryCfgFactory.h:14
Definition MenuEntryCfgFactory.h:27
MenuEntryCfgFactoryRegistrar(const std::string &_key)
Definition MenuEntryCfgFactory.h:29
Definition MenuEntryCfg.h:20
Definition Connector.h:8
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35