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
IObserver
Definition:
IObserver.hpp:6
IObserver::update
virtual void update(const TType &newValue)=0
IObserver::~IObserver
virtual ~IObserver()=default
src
bonus
observable_value
IObserver
IObserver.hpp
Generated by
1.9.1