Sleeping Wombat GUI
0.100
swGUI
|
Input class for testing and debugging. More...
#include <DebugInput.h>
Public Member Functions | |
DebugInput ()=default | |
virtual | ~DebugInput ()=default |
virtual bool | Init (const InputInitInfo &initInfo) override |
Inicjalizuje cały moduł. Po wywołaniu tej funkcji moduł musi być gotowy do użytku w innym przypadku powinien zwrócić false. More... | |
virtual const std::vector< const KeyboardState * > & | GetKeyboardStates () const override |
virtual const std::vector< const MouseState * > & | GetMouseStates () const override |
virtual const std::vector< const JoystickState * > & | GetJoystickStates () const override |
virtual std::vector< KeyboardDeviceOPtr > & | GetKeyboardDevice () override |
virtual std::vector< MouseDeviceOPtr > & | GetMouseDevice () override |
virtual std::vector< JoystickDeviceOPtr > & | GetJoystickDevice () override |
virtual std::vector< const InputDeviceInfo * > | GetDevicesInfo () const override |
virtual void | Update (float timeInterval) override |
virtual bool | UpdateDevices () override |
Funkcja na nowo sprawdza obecne w systemie urządzenia i aktualizuje wszystkie potrzebne dane. More... | |
Public Member Functions inherited from sw::input::IInput | |
virtual | ~IInput ()=0 |
Private Attributes | |
std::vector< const KeyboardState * > | m_keyboardsStates |
Copy of device state in m_keyboards. More... | |
std::vector< const MouseState * > | m_mousesStates |
Copy of device state in m_mouses. More... | |
std::vector< const JoystickState * > | m_joysticksStates |
Copy of device state in m_joysticks. More... | |
std::vector< KeyboardDeviceOPtr > | m_keyboards |
Only first element is in use now. More... | |
std::vector< MouseDeviceOPtr > | m_mouses |
Only first element is in use now. More... | |
std::vector< JoystickDeviceOPtr > | m_joysticks |
Only first element is in use now. More... | |
Timestamp | m_eventNum |
Number of event in current frame. More... | |
Size | m_frameNumber |
EventCapture * | m_eventCapture |
Input class for testing and debugging.
This class can fake input by reading events form EventCapture object.
|
explicitdefault |
|
virtualdefault |
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Inicjalizuje cały moduł. Po wywołaniu tej funkcji moduł musi być gotowy do użytku w innym przypadku powinien zwrócić false.
Implements sw::input::IInput.
|
overridevirtual |
Implements sw::input::IInput.
|
overridevirtual |
Funkcja na nowo sprawdza obecne w systemie urządzenia i aktualizuje wszystkie potrzebne dane.
Implements sw::input::IInput.
|
private |
|
private |
Number of event in current frame.
|
private |
|
private |
Only first element is in use now.
|
private |
Copy of device state in m_joysticks.
|
private |
Only first element is in use now.
|
private |
Copy of device state in m_keyboards.
|
private |
Only first element is in use now.
|
private |
Copy of device state in m_mouses.