11 #include "games/controllers/types/ControllerTree.h"    35   void Initialize(
const std::string& profilePath);
    43   void ConnectController(
const std::string& portAddress,
    45                          const std::string& controllerId = 
"");
    47   const CControllerTree& GetControllerTree()
 const { 
return m_controllerTree; }
    50   static void DeserializePorts(
const tinyxml2::XMLElement* pElement, PortVec& ports);
    51   static void DeserializePort(
const tinyxml2::XMLElement* pElement, 
CPortNode& port);
    52   static void DeserializeControllers(
const tinyxml2::XMLElement* pElement,
    53                                      ControllerNodeVec& controllers);
    54   static void DeserializeController(
const tinyxml2::XMLElement* pElement,
    57   static void SerializePorts(tinyxml2::XMLElement& node, 
const PortVec& ports);
    58   static void SerializePort(tinyxml2::XMLElement& portNode, 
const CPortNode& port);
    59   static void SerializeControllers(tinyxml2::XMLElement& portNode,
    60                                    const ControllerNodeVec& controllers);
    61   static void SerializeController(tinyxml2::XMLElement& controllerNode,
    64   static bool ConnectController(
const std::string& portAddress,
    66                                 const std::string& controllerId,
    68   static bool ConnectController(
const std::string& portAddress,
    70                                 const std::string& controllerId,
    72   static bool ConnectController(
const std::string& portAddress,
    74                                 const std::string& controllerId,
    75                                 ControllerNodeVec& controllers);
    76   static bool ConnectController(
const std::string& portAddress,
    78                                 const std::string& controllerId,
    81   static bool HasState(
const CPortNode& port);
    85   std::string m_xmlPath;
    87   std::vector<std::future<void>> m_saveFutures;
    88   std::mutex m_saveMutex;
 Node in the controller tree. 
Definition: ControllerNode.h:31
Collection of nodes that can be connected to this port. 
Definition: PortNode.h:28
Definition: SkinTimerManager.h:18
Definition: AudioDecoder.h:18
Definition: PortManager.h:29
A branch in the controller tree. 
Definition: ControllerHub.h:25