Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A branch in the controller tree. More...
#include <ControllerHub.h>
Public Member Functions | |
CControllerHub ()=default | |
CControllerHub (const CControllerHub &other) | |
CControllerHub (CControllerHub &&other)=default | |
CControllerHub & | operator= (const CControllerHub &rhs) |
CControllerHub & | operator= (CControllerHub &&rhs) noexcept |
~CControllerHub () | |
void | Clear () |
bool | HasPorts () const |
PortVec & | GetPorts () |
const PortVec & | GetPorts () const |
void | SetPorts (PortVec ports) |
bool | IsControllerAccepted (const std::string &controllerId) const |
bool | IsControllerAccepted (const std::string &portAddress, const std::string &controllerId) const |
ControllerVector | GetControllers () const |
void | GetControllers (ControllerVector &controllers) const |
const CPortNode & | GetPort (const std::string &address) const |
void | GetInputPorts (std::vector< std::string > &inputPorts) const |
Get a list of ports that accept player input. | |
A branch in the controller tree.
|
default |
|
inline |
|
default |
|
default |
void CControllerHub::Clear | ( | ) |
ControllerVector CControllerHub::GetControllers | ( | ) | const |
void CControllerHub::GetControllers | ( | ControllerVector & | controllers | ) | const |
void CControllerHub::GetInputPorts | ( | std::vector< std::string > & | inputPorts | ) | const |
Get a list of ports that accept player input.
[out] | inputPorts | The list of input ports |
const CPortNode & CControllerHub::GetPort | ( | const std::string & | address | ) | const |
|
inline |
|
inline |
|
inline |
bool CControllerHub::IsControllerAccepted | ( | const std::string & | controllerId | ) | const |
bool CControllerHub::IsControllerAccepted | ( | const std::string & | portAddress, |
const std::string & | controllerId ) const |
|
noexcept |
CControllerHub & CControllerHub::operator= | ( | const CControllerHub & | rhs | ) |