11 #include "games/controllers/ControllerTypes.h" 12 #include "games/ports/types/PortNode.h" 35 bool HasPorts()
const {
return !m_ports.empty(); }
36 PortVec& GetPorts() {
return m_ports; }
37 const PortVec& GetPorts()
const {
return m_ports; }
38 void SetPorts(PortVec ports);
40 bool IsControllerAccepted(
const std::string& controllerId)
const;
41 bool IsControllerAccepted(
const std::string& portAddress,
const std::string& controllerId)
const;
42 ControllerVector GetControllers()
const;
43 void GetControllers(ControllerVector& controllers)
const;
45 const CPortNode& GetPort(
const std::string& address)
const;
48 static const CPortNode& GetPortInternal(
const PortVec& ports,
const std::string& address);
Collection of nodes that can be connected to this port.
Definition: PortNode.h:26
Controller configuration window.
Definition: AudioDecoder.h:18
A branch in the controller tree.
Definition: ControllerHub.h:23