MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / AddInputHandler

Method AddInputHandler

Source/Engine/StratusWindow.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 InputManager::InputManager() {}
8
9 void InputManager::AddInputHandler(const InputHandlerPtr& ptr) {
10 auto ul = std::unique_lock<std::shared_mutex>(m_);
11 inputHandlersToAdd_.insert(ptr);
12 }
13
14 void InputManager::RemoveInputHandler(const InputHandlerPtr& ptr) {
15 auto ul = std::unique_lock<std::shared_mutex>(m_);

Callers 10

InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
LightProcessMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected