CMS 3D CMS Logo

SharedLibrary.h
Go to the documentation of this file.
1 #ifndef FWCore_PluginManager_SharedLibrary_h
2 #define FWCore_PluginManager_SharedLibrary_h
3 // -*- C++ -*-
4 //
5 // Package: PluginManager
6 // Class : SharedLibrary
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Apr 5 15:30:08 EDT 2007
19 //
20 
21 // system include files
22 #include <filesystem>
23 
24 // user include files
25 
26 // forward declarations
27 
28 namespace edmplugin {
29  class SharedLibrary {
30  public:
32  SharedLibrary(const SharedLibrary&) = delete; // stop default
33  const SharedLibrary& operator=(const SharedLibrary&) = delete; // stop default
35 
36  // ---------- const member functions ---------------------
37  bool symbol(const std::string& iSymbolName, void*& iSymbol) const;
38  const std::filesystem::path& path() const { return path_; }
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
43 
44  private:
45  // ---------- member data --------------------------------
48  };
49 
50 } // namespace edmplugin
51 #endif
std::filesystem::path path_
Definition: SharedLibrary.h:47
SharedLibrary(const std::filesystem::path &iName)
bool symbol(const std::string &iSymbolName, void *&iSymbol) const
const SharedLibrary & operator=(const SharedLibrary &)=delete
const std::filesystem::path & path() const
Definition: SharedLibrary.h:38