#include <SdlPlatformSharedState.h>
◆ SdlPlatformSharedState()
SdlPlatformSharedState::SdlPlatformSharedState |
( |
| ) |
|
|
default |
◆ ~SdlPlatformSharedState()
SdlPlatformSharedState::~SdlPlatformSharedState |
( |
| ) |
|
◆ allGamepads()
std::vector< PlatformGamepad * > SdlPlatformSharedState::allGamepads |
( |
| ) |
const |
◆ allWindowIds()
std::vector< uint32_t > SdlPlatformSharedState::allWindowIds |
( |
| ) |
const |
◆ deinitializeGamepad()
void SdlPlatformSharedState::deinitializeGamepad |
( |
SDL_JoystickID |
id | ) |
|
◆ gamepad()
SdlGamepad * SdlPlatformSharedState::gamepad |
( |
SDL_JoystickID |
id | ) |
const |
◆ initializeGamepad()
SdlGamepad * SdlPlatformSharedState::initializeGamepad |
( |
int |
gamepadId | ) |
|
◆ initializeGamepads()
void SdlPlatformSharedState::initializeGamepads |
( |
| ) |
|
◆ logCategory()
const LogCategory & SdlPlatformSharedState::logCategory |
( |
| ) |
|
|
static |
◆ logSdlError()
void SdlPlatformSharedState::logSdlError |
( |
const char * |
sdlFunctionName | ) |
|
◆ registerEventLoop()
void SdlPlatformSharedState::registerEventLoop |
( |
SdlEventLoop * |
eventLoop | ) |
|
◆ registerWindow()
void SdlPlatformSharedState::registerWindow |
( |
SdlWindow * |
window | ) |
|
◆ unregisterEventLoop()
void SdlPlatformSharedState::unregisterEventLoop |
( |
SdlEventLoop * |
eventLoop | ) |
|
◆ unregisterWindow()
void SdlPlatformSharedState::unregisterWindow |
( |
SdlWindow * |
window | ) |
|
◆ window()
SdlWindow * SdlPlatformSharedState::window |
( |
uint32_t |
id | ) |
const |
◆ _eventLoopCount
size_t SdlPlatformSharedState::_eventLoopCount = 0 |
|
private |
◆ _gamepadById
std::unordered_map<SDL_JoystickID, std::unique_ptr<SdlGamepad> > SdlPlatformSharedState::_gamepadById |
|
private |
◆ _windowById
std::unordered_map<uint32_t, SdlWindow *> SdlPlatformSharedState::_windowById |
|
private |
The documentation for this class was generated from the following files: