DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
PluginManager.hpp
Go to the documentation of this file.
1/*
2 * PluginManager.h
3 * ers
4 *
5 * Created by Serguei Kolos on 21.11.05.
6 * Copyright 2005 CERN. All rights reserved.
7 *
8 */
9
15#ifndef ERS_PLUGIN_MANAGER_H
16#define ERS_PLUGIN_MANAGER_H
17
18#include <string>
19#include <map>
20
21namespace ers
22{
24 {
25 public:
26 PluginException( const std::string & reason)
27 : reason_( reason )
28 { ; }
29
30 const std::string & reason() const
31 { return reason_; }
32
33 private:
34 const std::string reason_;
35 };
36
38 {
40 {
41 public:
48 SharedLibrary( const std::string & name );
49
52
53 private:
54 void * handle_;
55 };
56
57 typedef std::map< std::string, SharedLibrary* > LibMap;
58
60
61 public:
65
69 };
70}
71
72#endif
PluginException(const std::string &reason)
const std::string & reason() const
const std::string reason_
SharedLibrary(const std::string &name)
std::map< std::string, SharedLibrary * > LibMap