22 class CPhysicalFeature;
23 class CPhysicalTopology;
34 int LabelID(
void)
const {
return m_labelId; }
35 const std::string& Icon(
void)
const {
return m_icon; }
36 const std::string& Image(
void)
const {
return m_strImage; }
52 std::string
Label(
void)
const;
79 void Deserialize(
const TiXmlElement* pLayoutElement,
81 std::vector<CPhysicalFeature>& features);
87 std::string m_strImage;
88 std::unique_ptr<CPhysicalTopology> m_topology;
Represents the physical topology of controller add-ons.
Definition: PhysicalTopology.h:29
Definition: ControllerLayout.h:25
Controller configuration window.
Definition: AudioDecoder.h:18
std::string ImagePath(void) const
Get the image path of the primary layout used when mapping the controller.
Definition: ControllerLayout.cpp:80
Definition: Controller.h:30
void Deserialize(const TiXmlElement *pLayoutElement, const CController *controller, std::vector< CPhysicalFeature > &features)
Deserialize the specified XML element.
Definition: ControllerLayout.cpp:90
std::string Label(void) const
Get the label of the primary layout used when mapping the controller.
Definition: ControllerLayout.cpp:70
const CPhysicalTopology & Topology(void) const
Get the physical topology of this controller.
Definition: ControllerLayout.h:70
bool IsValid(bool bLog) const
Ensures the layout was deserialized correctly, and optionally logs if not.
Definition: ControllerLayout.cpp:49