DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
PluginManager.hpp
Go to the documentation of this file.
1/*
2 * DUNE DAQ modification notice:
3 * This file has been modified from the original ATLAS ers source for the DUNE DAQ project.
4 * Fork baseline commit: 8267df82a4f6fe6bf02c4014923eba19eddc4614 (2020-04-14).
5 * Renamed since fork: yes (from ers/internal/PluginManager.h to include/ers/internal/PluginManager.hpp).
6 *
7 * Original copyright:
8 * Copyright (C) 2001-2020 CERN for the benefit of the ATLAS collaboration.
9 * Licensed under the Apache License, Version 2.0.
10 */
11
12/*
13 * PluginManager.h
14 * ers
15 *
16 * Created by Serguei Kolos on 21.11.05.
17 * Copyright 2005 CERN. All rights reserved.
18 *
19 */
20
25
26#ifndef ERS_PLUGIN_MANAGER_H
27#define ERS_PLUGIN_MANAGER_H
28
29#include <map>
30#include <string>
31
32namespace ers {
34{
35public:
36 PluginException(const std::string& reason)
38 {
39 ;
40 }
41
42 const std::string& reason() const { return reason_; }
43
44private:
45 const std::string reason_;
46};
47
49{
51 {
52 public:
59 SharedLibrary(const std::string& name);
60
63
64 private:
65 void* handle_;
66 };
67
68 typedef std::map<std::string, SharedLibrary*> LibMap;
69
71
72public:
76
80};
81}
82
83#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