25 #ifndef INCLUDED_VRPNConnectionCollection_h_GUID_AB4B5310_43DF_4E9A_2EAF_CF512F979288
26 #define INCLUDED_VRPNConnectionCollection_h_GUID_AB4B5310_43DF_4E9A_2EAF_CF512F979288
34 #include <vrpn_ConnectionPtr.h>
38 #include <unordered_map>
46 OSVR_CLIENT_EXPORT vrpn_ConnectionPtr
47 addConnection(vrpn_ConnectionPtr conn, std::string
const &host);
49 vrpn_ConnectionPtr getConnection(std::string
const &device,
50 std::string
const &host);
53 OSVR_CLIENT_EXPORT
void updateAll();
55 return m_connMap->empty();
59 typedef std::unordered_map<std::string, vrpn_ConnectionPtr>
61 shared_ptr<ConnectionMap> m_connMap;
67 #endif // INCLUDED_VRPNConnectionCollection_h_GUID_AB4B5310_43DF_4E9A_2EAF_CF512F979288
Header to bring shared_ptr into the osvr namespace.
The element type corresponding to a device, which implements 0 or more interfaces.
Automatically-generated export header - do not edit!