API Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
ControllerInterfaceManager Class Reference

Stores services that allow the software to access physical hardware controllers that can be used with the system. More...

#include <ControllerInterface.h>

Inheritance diagram for ControllerInterfaceManager:
[legend]
Collaboration diagram for ControllerInterfaceManager:
[legend]

Signals

void controllerConnectionsChangedSignal ()
 
void findControllersSignal ()
 

Public Member Functions

void addController (ControllerInterface *joystick)
 
const Dictionary< UUID, ControllerInterface * > & controllers () const
 
void removeController (UUID id)
 
void setDefaultWindowInstance (WindowInstance *default_window_instance)
 
void updateStates ()
 

Static Public Member Functions

static ControllerInterfaceManagerDefault ()
 

Protected Member Functions

 ControllerInterfaceManager ()
 

Protected Attributes

Threadm_controller_thread = nullptr
 
Dictionary< UUID, ControllerInterface * > m_controllers
 
WindowInstance * m_default_window_instance = nullptr
 

Detailed Description

Stores services that allow the software to access physical hardware controllers that can be used with the system.


Constructor & Destructor Documentation

◆ ControllerInterfaceManager()

Member Function Documentation

◆ addController()

void addController ( ControllerInterface * joystick)

◆ controllerConnectionsChangedSignal

void controllerConnectionsChangedSignal ( )
signal

◆ controllers()

const Dictionary< UUID, ControllerInterface * > & controllers ( ) const

◆ Default()

static ControllerInterfaceManager & Default ( )
static

◆ findControllersSignal

void findControllersSignal ( )
signal

◆ removeController()

void removeController ( UUID id)

◆ setDefaultWindowInstance()

void setDefaultWindowInstance ( WindowInstance * default_window_instance)

◆ updateStates()

void updateStates ( )

Member Data Documentation

◆ m_controller_thread

Thread* m_controller_thread = nullptr
protected

◆ m_controllers

Dictionary<UUID, ControllerInterface*> m_controllers
protected

◆ m_default_window_instance

WindowInstance* m_default_window_instance = nullptr
protected

The documentation for this class was generated from the following file: