ServiceUsing.h
Go to the documentation of this file.
1 #ifndef art_test_Integration_ServiceUsing_h
2 #define art_test_Integration_ServiceUsing_h
3 
8 
9 namespace art {
10  namespace test {
11 
12  class ServiceUsing {
13 
14  public:
16 
17  int
19  {
20  return cached_value_;
21  }
22 
23  bool
25  {
26  return postBeginJobCalled_;
27  }
28 
29  private:
30  void postBeginJob();
31 
32  bool postBeginJobCalled_{false};
33 
35 
37  };
38 
39  } // namespace test
40 } // namespace art
41 
43 
44 #endif /* art_test_Integration_ServiceUsing_h */
45 
46 // Local Variables:
47 // mode: c++
48 // End:
ServiceHandle< Wanted > wanted_
Definition: ServiceUsing.h:36
ServiceUsing(fhicl::ParameterSet const &, art::ActivityRegistry &)
Definition: test.py:1
#define DECLARE_ART_SERVICE(svc, scope)
Definition: ServiceMacros.h:86
int getCachedValue() const
Definition: ServiceUsing.h:18
bool postBeginJobCalled() const
Definition: ServiceUsing.h:24