OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GraphicsItemCfgFactory.h
Go to the documentation of this file.
1
5// ###########################################################################################################################################################################################################################################################################################################################
6
7#pragma once
8
9// OpenTwin header
13
14namespace ot {
15
17 public:
18 static GraphicsItemCfgFactory& instance(void);
19
20 static GraphicsItemCfg* create(const ConstJsonObject& _object);
21
22 private:
25 };
26
27 template <class T>
29 public:
31 };
32
33}
#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 GraphicsItemCfgFactory.h:16
virtual ~GraphicsItemCfgFactory()
Definition GraphicsItemCfgFactory.h:24
Definition GraphicsItemCfgFactory.h:28
GraphicsItemCfgFactoryRegistrar(const std::string &_key)
Definition GraphicsItemCfgFactory.h:30
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition Connector.h:8
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35