40 #ifndef _uhal_ConnectionManager_hpp_
41 #define _uhal_ConnectionManager_hpp_
47 #include <boost/filesystem/path.hpp>
48 #include <boost/noncopyable.hpp>
74 UHAL_DEFINE_EXCEPTION_CLASS ( ConnectionUIDDoesNotExist , "Exception class to handle the case where the UID requested does not exists in the map of connections." )
117 ConnectionManager (
const std::string& aFilenameExpr ,
const std::vector<std::string>& aUserClientActivationList );
135 std::vector<std::string> getDevices ( )
const;
142 std::vector<std::string> getDevices (
const std::string& aRegex )
const;
153 static HwInterface getDevice (
const std::string& aId ,
const std::string& aUri ,
const std::string& aAddressFileExpr );
155 static HwInterface getDevice (
const std::string& aId ,
const std::string& aUri ,
const std::string& aAddressFileExpr ,
const std::vector<std::string>& aUserClientActivationList );
158 static void clearAddressFileCache();
170 void CallBack (
const std::string& aProtocol ,
const boost::filesystem::path& aPath , std::vector<uint8_t>& aFile );