Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::ISignal Class Referenceabstract

The base class for any signal that an object advertises. More...

#include <signals.hpp>

Inheritance diagram for ToyMaker::ISignal:
ToyMaker::Signal_< TArgs... > ToyMaker::Signal_< TArgs >

Public Member Functions

virtual void registerObserver (std::weak_ptr< ISignalObserver > observer)=0
 A method used by observers to declare their interest in this signal.
 

Detailed Description

The base class for any signal that an object advertises.

Member Function Documentation

◆ registerObserver()

virtual void ToyMaker::ISignal::registerObserver ( std::weak_ptr< ISignalObserver > observer)
pure virtual

A method used by observers to declare their interest in this signal.

Parameters
observerAn object interested in this signal.

Implemented in ToyMaker::Signal_< TArgs >, and ToyMaker::Signal_< TArgs... >.


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