Reconfigurable.h
Go to the documentation of this file.
1 ///
2 /// \file EventDisplayBase/Reconfigurable.h
3 /// \brief Interface class to services that are intended to be reconfigurable through the event display
4 /// \author knoepfel@fnal.gov
5 ///
6 #ifndef EVDB_RECONFIGURABLE_H
7 #define EVDB_RECONFIGURABLE_H
8 
9 #include "fhiclcpp/fwd.h"
10 
11 namespace evdb {
12 
14  public:
15  explicit Reconfigurable(fhicl::ParameterSet const& ps);
16  void do_reconfigure(fhicl::ParameterSet const& pset) { reconfigure(pset); }
17  virtual ~Reconfigurable() = default;
18 
19  private:
20  virtual void reconfigure(fhicl::ParameterSet const&) = 0;
21  };
22 
23 }
24 
25 #endif
26 ////////////////////////////////////////////////////////////////////////
Reconfigurable(fhicl::ParameterSet const &ps)
Manage all things related to colors for the event display.
Definition: Display3DPad.h:11
virtual void reconfigure(fhicl::ParameterSet const &)=0
void do_reconfigure(fhicl::ParameterSet const &pset)
virtual ~Reconfigurable()=default