// in a critical section to be sure to be clean.
// Only one thread should use the SALOME_ResourcesManager class in a SALOME
// session.
-struct resourceParams
+struct RESOURCESMANAGER_EXPORT resourceParams
{
resourceParams();
std::vector<std::string>
GetFittingResources(const resourceParams& params) throw(ResourcesException);
- std::string Find(const std::string& policy,
- const std::vector<std::string>& listOfResources);
+ std::string Find(const std::string& policy, const std::vector<std::string>& listOfResources) const;
void AddResourceInCatalog (const ParserResourcesType & new_resource);
const MapOfParserResourcesType& GetList() const;
- ParserResourcesType GetResourcesDescr(const std::string & name);
+ //! thread safe
+ ParserResourcesType GetResourcesDescr(const std::string & name) const;
protected: