![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
EditorContext - Singleton managing editor mode and capabilities Provides global access to current editor configuration. More...
#include <EditorContext.h>
Collaboration diagram for Olympe::EditorContext:Public Member Functions | |
| void | InitializeRuntime () |
| void | InitializeStandalone () |
| const EditorCapabilities & | GetCapabilities () const |
| bool | IsRuntime () const |
| bool | IsStandalone () const |
| bool | CanCreate () const |
| bool | CanEdit () const |
| bool | CanDelete () const |
| bool | CanLink () const |
| bool | CanSave () const |
| bool | ShowEntityContext () const |
Static Public Member Functions | |
| static EditorContext & | Instance () |
| static EditorContext & | Get () |
Private Member Functions | |
| EditorContext () | |
| ~EditorContext () | |
| EditorContext (const EditorContext &)=delete | |
| EditorContext & | operator= (const EditorContext &)=delete |
Private Attributes | |
| EditorCapabilities | m_Capabilities |
EditorContext - Singleton managing editor mode and capabilities Provides global access to current editor configuration.
Definition at line 71 of file EditorContext.h.
|
private |
Definition at line 16 of file EditorContext.cpp.
References m_Capabilities, and Olympe::EditorCapabilities::Standalone().
Here is the call graph for this function:
|
private |
Definition at line 23 of file EditorContext.cpp.
|
privatedelete |
|
inline |
Definition at line 86 of file EditorContext.h.
References Olympe::EditorCapabilities::canCreate, and m_Capabilities.
Referenced by Olympe::NodeGraphPanel::RenderGraph().
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file EditorContext.h.
References Olympe::EditorCapabilities::canDelete, and m_Capabilities.
|
inline |
Definition at line 87 of file EditorContext.h.
References Olympe::EditorCapabilities::canEdit, and m_Capabilities.
Referenced by Olympe::NodeGraphPanel::RenderGraph().
Here is the caller graph for this function:
|
inline |
Definition at line 89 of file EditorContext.h.
References Olympe::EditorCapabilities::canLink, and m_Capabilities.
|
inline |
Definition at line 90 of file EditorContext.h.
References Olympe::EditorCapabilities::canSave, and m_Capabilities.
|
inlinestatic |
Definition at line 75 of file EditorContext.h.
References Instance().
Referenced by Olympe::NodeGraphPanel::HandleNodeInteractions(), Olympe::BlueprintEditor::InitializeRuntimeEditor(), Olympe::BlueprintEditor::InitializeStandaloneEditor(), and Olympe::NodeGraphPanel::RenderGraph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 82 of file EditorContext.h.
References m_Capabilities.
| void Olympe::EditorContext::InitializeRuntime | ( | ) |
Definition at line 27 of file EditorContext.cpp.
References m_Capabilities, and Olympe::EditorCapabilities::Runtime().
Referenced by Olympe::BlueprintEditor::InitializeRuntimeEditor().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::EditorContext::InitializeStandalone | ( | ) |
Definition at line 33 of file EditorContext.cpp.
References m_Capabilities, and Olympe::EditorCapabilities::Standalone().
Referenced by Olympe::BlueprintEditor::InitializeStandaloneEditor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 10 of file EditorContext.cpp.
References GetComponentTypeID_Static().
Referenced by Get().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 83 of file EditorContext.h.
References Olympe::EditorCapabilities::isRuntime, and m_Capabilities.
|
inline |
Definition at line 84 of file EditorContext.h.
References Olympe::EditorCapabilities::isRuntime, and m_Capabilities.
|
privatedelete |
|
inline |
Definition at line 91 of file EditorContext.h.
References m_Capabilities, and Olympe::EditorCapabilities::showEntityContext.
|
private |
Definition at line 101 of file EditorContext.h.
Referenced by CanCreate(), CanDelete(), CanEdit(), CanLink(), CanSave(), EditorContext(), GetCapabilities(), InitializeRuntime(), InitializeStandalone(), IsRuntime(), IsStandalone(), and ShowEntityContext().