Design Patterns
clock_tick_interface.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef OPERATIONAL_OBSERVER_CLOCK_TICK_INTERFACE_H_
7 #define OPERATIONAL_OBSERVER_CLOCK_TICK_INTERFACE_H_
8 
9 #include "clock_tick_observer.h"
10 
11 namespace operational
12 {
13 namespace observer
14 {
16 {
17  public:
18  virtual ~ClockTickInterface() { }
19 
20  virtual void Attach(ClockTickObserver*) = 0;
21  virtual void Detach(ClockTickObserver*) = 0;
22  virtual void Notify() = 0;
23 };
24 }
25 }
26 
27 #endif
28 
Definition: clock_tick_observer.h:13
Definition: application.cc:10
virtual void Detach(ClockTickObserver *)=0
virtual void Attach(ClockTickObserver *)=0
virtual ~ClockTickInterface()
Definition: clock_tick_interface.h:18
Definition: clock_tick_interface.h:15