![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <MouseManager.h>
Public Member Functions | |
| MouseManager () | |
| virtual | ~MouseManager () |
| void | Initialize () |
| void | Shutdown () |
| void | HandleEvent (const SDL_Event *ev) |
| void | BeginFrame () |
Static Public Member Functions | |
| static MouseManager & | GetInstance () |
| static MouseManager & | Get () |
Private Member Functions | |
| void | PostButtonEvent (const SDL_MouseButtonEvent &be) |
| void | PostMotionEvent (const SDL_MouseMotionEvent &me) |
Private Attributes | |
| std::string | name |
| std::mutex | m_mutex |
Definition at line 8 of file MouseManager.h.
|
inline |
Definition at line 11 of file MouseManager.h.
References Initialize().
Here is the call graph for this function:
|
inlinevirtual |
Definition at line 15 of file MouseManager.h.
References Shutdown().
Here is the call graph for this function:| void MouseManager::BeginFrame | ( | ) |
Definition at line 23 of file MouseManager.cpp.
Referenced by SDL_AppEvent(), and SDL_AppIterate().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 21 of file MouseManager.h.
References GetInstance().
Referenced by InputsManager::HandleEvent(), SDL_AppEvent(), SDL_AppIterate(), and InputsManager::Shutdown().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 6 of file MouseManager.cpp.
References GetComponentTypeID_Static().
Referenced by Get().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 29 of file MouseManager.cpp.
References GetComponentTypeID_Static(), PostButtonEvent(), and PostMotionEvent().
Referenced by InputsManager::HandleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void MouseManager::Initialize | ( | ) |
Definition at line 12 of file MouseManager.cpp.
References name, and SYSTEM_LOG.
Referenced by MouseManager().
Here is the caller graph for this function:
|
private |
Definition at line 46 of file MouseManager.cpp.
References Message::Create(), EventQueue::Get(), GetComponentTypeID_Static(), Input, Olympe_EventType_Mouse_ButtonDown, Olympe_EventType_Mouse_ButtonUp, EventQueue::Push(), and Message::state.
Referenced by HandleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 61 of file MouseManager.cpp.
References Message::Create(), EventQueue::Get(), GetComponentTypeID_Static(), Input, Olympe_EventType_Mouse_Motion, and EventQueue::Push().
Referenced by HandleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void MouseManager::Shutdown | ( | ) |
Definition at line 18 of file MouseManager.cpp.
References SYSTEM_LOG.
Referenced by InputsManager::Shutdown(), and ~MouseManager().
Here is the caller graph for this function:
|
private |
Definition at line 31 of file MouseManager.h.
|
private |
Definition at line 30 of file MouseManager.h.
Referenced by Initialize().