32 CPhysicalPort(std::string portId, std::vector<std::string> accepts);
41 const std::string&
ID()
const {
return m_portId; }
48 const std::vector<std::string>&
Accepts()
const {
return m_accepts; }
55 bool IsCompatible(
const std::string& controllerId)
const;
57 bool Deserialize(
const TiXmlElement* pElement);
61 std::vector<std::string> m_accepts;
const std::vector< std::string > & Accepts() const
Get the controllers that can connect to this port.
Definition: PhysicalPort.h:48
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: PhysicalPort.h:21
const std::string & ID() const
Get the ID of the port.
Definition: PhysicalPort.h:41
bool IsCompatible(const std::string &controllerId) const
Check if the controller is compatible with this port.
Definition: PhysicalPort.cpp:32