Plasma Engine  2.0
Loading...
Searching...
No Matches
LongOpsAdapter.h
1#pragma once
2
3#include <Foundation/Configuration/Singleton.h>
4#include <Foundation/Containers/HashSet.h>
5#include <ToolsFoundation/Document/DocumentManager.h>
6
9class plRTTI;
10
19{
20 PL_DECLARE_SINGLETON(plLongOpsAdapter);
21
22public:
25
26private:
27 void DocumentManagerEventHandler(const plDocumentManager::Event& e);
28 void StructureEventHandler(const plDocumentObjectStructureEvent& e);
29 void PhantomTypeRegistryEventHandler(const plPhantomRttiManagerEvent& e);
30 void CheckAllTypes();
31 void ObjectAdded(const plDocumentObject* pObject);
32 void ObjectRemoved(const plDocumentObject* pObject);
33
34 plHashSet<const plRTTI*> m_TypesWithLongOps;
35};
Definition DocumentObjectBase.h:11
Definition HashSet.h:191
This singleton lives in the editor process and monitors all plSceneDocument's for components with the...
Definition LongOpsAdapter.h:19
This class holds information about reflected types. Each instance represents one type that is known t...
Definition RTTI.h:30
Definition DocumentManager.h:65
Used by plDocumentObjectManager::m_StructureEvents.
Definition DocumentObjectManager.h:45
Definition PhantomRttiManager.h:10