CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <boost/filesystem/path.hpp>
23 
24 // user include files
25 
26 // forward declarations
27 
28 namespace Reflex {
29  class SharedLibrary;
30 }
31 
32 namespace edmplugin {
34 {
35 
36  public:
39 
40  // ---------- const member functions ---------------------
41  bool symbol(const std::string& iSymbolName, void* & iSymbol) const;
42  const boost::filesystem::path& path() const { return path_;}
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47 
48  private:
49  SharedLibrary(const SharedLibrary&); // stop default
50 
51  const SharedLibrary& operator=(const SharedLibrary&); // stop default
52 
53  // ---------- member data --------------------------------
54  mutable Reflex::SharedLibrary* library_;
56 };
57 
58 }
59 #endif
bool symbol(const std::string &iSymbolName, void *&iSymbol) const
const SharedLibrary & operator=(const SharedLibrary &)
SharedLibrary(const boost::filesystem::path &iName)
Reflex::SharedLibrary * library_
Definition: SharedLibrary.h:54
boost::filesystem::path path_
Definition: SharedLibrary.h:55
const boost::filesystem::path & path() const
Definition: SharedLibrary.h:42