![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <InputDevice.h>
Public Member Functions | |
| InputContextManager () | |
| ~InputContextManager ()=default | |
| void | PushContext (ActionMapContext ctx) |
| void | PopContext () |
| ActionMapContext | GetActiveContext () const |
| bool | IsEditorEnabled () const |
| void | SetEditorEnabled (bool enabled) |
| void | Initialize () |
| void | LoadConfig (const std::string &configPath) |
Static Public Member Functions | |
| static InputContextManager & | Get () |
Private Attributes | |
| bool | m_editorEnabled = false |
| std::vector< ActionMapContext > | m_contextStack |
Definition at line 246 of file InputDevice.h.
|
inline |
Definition at line 248 of file InputDevice.h.
References Gameplay.
|
default |
|
inlinestatic |
Definition at line 252 of file InputDevice.h.
References GetComponentTypeID_Static().
Referenced by InputsManager::GetContextManager(), InputsManager::InitializeInputSystem(), and InputConfigLoader::LoadEngineConfig().
Here is the call graph for this function:
Here is the caller graph for this function:| ActionMapContext InputContextManager::GetActiveContext | ( | ) | const |
Definition at line 445 of file InputDevice.cpp.
References Gameplay, and m_contextStack.
Referenced by SetEditorEnabled().
Here is the caller graph for this function:| void InputContextManager::Initialize | ( | ) |
Definition at line 469 of file InputDevice.cpp.
References Gameplay, m_contextStack, and SYSTEM_LOG.
Referenced by InputsManager::InitializeInputSystem().
Here is the caller graph for this function:
|
inline |
Definition at line 263 of file InputDevice.h.
References m_editorEnabled.
Definition at line 474 of file InputDevice.cpp.
References GetComponentTypeID_Static(), and SYSTEM_LOG.
Here is the call graph for this function:| void InputContextManager::PopContext | ( | ) |
Definition at line 431 of file InputDevice.cpp.
References Editor, Gameplay, GetComponentTypeID_Static(), m_contextStack, SYSTEM_LOG, and UI.
Referenced by SetEditorEnabled().
Here is the call graph for this function:
Here is the caller graph for this function:| void InputContextManager::PushContext | ( | ActionMapContext | ctx | ) |
Definition at line 422 of file InputDevice.cpp.
References Editor, Gameplay, GetComponentTypeID_Static(), m_contextStack, SYSTEM_LOG, and UI.
Referenced by SetEditorEnabled().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 452 of file InputDevice.cpp.
References Editor, GetActiveContext(), m_editorEnabled, PopContext(), PushContext(), and SYSTEM_LOG.
Referenced by InputConfigLoader::LoadEngineConfig().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 272 of file InputDevice.h.
Referenced by GetActiveContext(), Initialize(), PopContext(), and PushContext().
Definition at line 271 of file InputDevice.h.
Referenced by IsEditorEnabled(), and SetEditorEnabled().