Interface.h
Go to the documentation of this file.
1 #ifndef WIRECELL_INTERFACE
2 #define WIRECELL_INTERFACE
3 
4 #include <memory>
5 
6 namespace WireCell {
7 
8  /** An interface defines some facet of functionality which is
9  * accessed by the type "pointer".
10  *
11  * See also WireCell::IComponent.
12  */
13  class Interface {
14  public:
15  // Interfaces are accessed by non-const shared pointers.
16  typedef std::shared_ptr<Interface> pointer;
17 
18  virtual ~Interface();
19  };
20 
21 
22 }
23 
24 #endif
25 
std::shared_ptr< Interface > pointer
Definition: Interface.h:16
Definition: Main.h:22