openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::Observer< T > Class Template Referenceabstract

Generic Gang-of-Four Observer class, templatized edition. More...

#include <Observer.hh>

Inheritance diagram for openmsx::Observer< T >:
Inheritance graph
[legend]

Public Member Functions

virtual void update (const T &subject)=0
 
virtual void subjectDeleted (const T &)
 

Protected Member Functions

 ~Observer ()=default
 

Detailed Description

template<typename T>
class openmsx::Observer< T >

Generic Gang-of-Four Observer class, templatized edition.

Definition at line 9 of file Observer.hh.

Constructor & Destructor Documentation

◆ ~Observer()

template<typename T>
openmsx::Observer< T >::~Observer ( )
protecteddefault

Member Function Documentation

◆ subjectDeleted()

template<typename T>
virtual void openmsx::Observer< T >::subjectDeleted ( const T &  )
inlinevirtual

Definition at line 13 of file Observer.hh.

◆ update()

template<typename T>
virtual void openmsx::Observer< T >::update ( const T &  subject)
pure virtual

The documentation for this class was generated from the following file: