OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
GuiObjectManager.h
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
#pragma once
7
8
// OpenTwin header
9
#include "
OTCore/OTClassHelper.h
"
10
#include "
OTCore/BasicServiceInformation.h
"
11
#include "
OTGui/GuiTypes.h
"
12
#include "
OTWidgets/OTWidgetsAPIExport.h
"
13
14
// std header
15
#include <map>
16
#include <list>
17
18
namespace
ot
{
19
20
class
ManagedGuiObject;
21
22
class
OT_WIDGETS_API_EXPORT
GuiObjectManager
{
23
OT_DECL_NOCOPY
(
GuiObjectManager
)
24
public
:
25
GuiObjectManager
();
26
virtual
~GuiObjectManager
();
27
28
private
:
30
std::map<BasicServiceInformation, std::map<std::string, ManagedGuiObject*>> m_objects;
31
33
std::map<BasicServiceInformation, std::map<ManagedGuiObject*, int>> m_objectsDisabledCounter;
34
36
std::map<BasicServiceInformation, std::map<ManagedGuiObject*, std::map<LockTypeFlag, int>>> m_objectsLockCounter;
37
};
38
39
}
BasicServiceInformation.h
GuiTypes.h
OTClassHelper.h
This file contains defines that may be used simplyfy class creation.
OT_DECL_NOCOPY
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition
OTClassHelper.h:14
OTWidgetsAPIExport.h
OT_WIDGETS_API_EXPORT
#define OT_WIDGETS_API_EXPORT
Definition
OTWidgetsAPIExport.h:12
ot::GuiObjectManager
Definition
GuiObjectManager.h:22
ot
Definition
Connector.h:8
Libraries
OTWidgets
include
OTWidgets
GuiObjectManager.h
Generated by
1.10.0