ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHOperation.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHOperation.h
1 #ifndef PHOOL_PHOPERATION_H
2 #define PHOOL_PHOPERATION_H
3 
4 // Declaration of class PHOperation
5 // Purpose: abstract strategy base class
6 // Author: Matthias Messer
7 
8 template <class T>
10 {
11  public:
12  PHOperation();
13  virtual ~PHOperation();
14 
15  public:
16  virtual void perform(T*) = 0;
17  void
19  {
20  perform(&o);
21  }
22  void
24  {
25  perform(o);
26  }
27 };
28 
29 #endif /* __PHOPERATION_H__ */