Libftpp
A modern C++ library
IObserver.hpp
Go to the documentation of this file.
1 #ifndef IOBSERVER_HPP
2 #define IOBSERVER_HPP
3 
4 template <typename TType>
5 class IObserver
6 {
7 private:
8 public:
9  virtual ~IObserver() = default;
10  virtual void update(const TType& newValue) = 0;
11 };
12 
13 #endif
virtual void update(const TType &newValue)=0
virtual ~IObserver()=default