FWCore
PluginManager
interface
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
:
31
SharedLibrary
(
const
std::filesystem::path
& iName);
32
SharedLibrary
(
const
SharedLibrary
&) =
delete
;
// stop default
33
const
SharedLibrary
&
operator=
(
const
SharedLibrary
&) =
delete
;
// stop default
34
~SharedLibrary
();
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 --------------------------------
46
void
*
libraryHandle_
;
47
std::filesystem::path
path_
;
48
};
49
50
}
// namespace edmplugin
51
#endif
edmplugin
Definition:
AlignmentAlgorithmPluginFactory.cc:9
edmplugin::SharedLibrary::libraryHandle_
void * libraryHandle_
Definition:
SharedLibrary.h:46
edmplugin::SharedLibrary::path
const std::filesystem::path & path() const
Definition:
SharedLibrary.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edmplugin::SharedLibrary::SharedLibrary
SharedLibrary(const std::filesystem::path &iName)
Definition:
SharedLibrary.cc:34
edmplugin::SharedLibrary::path_
std::filesystem::path path_
Definition:
SharedLibrary.h:47
edmplugin::SharedLibrary::~SharedLibrary
~SharedLibrary()
Definition:
SharedLibrary.cc:50
castor_dqm_sourceclient_file_cfg.path
path
Definition:
castor_dqm_sourceclient_file_cfg.py:37
edmplugin::SharedLibrary
Definition:
SharedLibrary.h:29
edmplugin::SharedLibrary::operator=
const SharedLibrary & operator=(const SharedLibrary &)=delete
edmplugin::SharedLibrary::symbol
bool symbol(const std::string &iSymbolName, void *&iSymbol) const
Definition:
SharedLibrary.cc:71
Generated for CMSSW Reference Manual by
1.8.16