Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
A class containing most of the implementation for this engine's SignalObserver concept. More...
#include <signals.hpp>
Public Member Functions | |
void | operator() (TArgs... args) |
The function called by a Signal this oberver is subscribed to. | |
Private Member Functions | |
SignalObserver_ (std::function< void(TArgs...)> callback) | |
Constructs a new Signal Observer_ object. | |
Private Attributes | |
std::function< void(TArgs...)> | mStoredFunction {} |
A reference to the function stored by this observer. | |
Friends | |
class | SignalTracker |
class | SignalObserver< TArgs... > |
A class containing most of the implementation for this engine's SignalObserver concept.
A signal observer may subscribe to any Signal that sends the same data the observer declares it is capable of handling.
TArgs | A list of types of data whose values the observer will receive when a Signal is emitted. |
|
inlineprivate |
|
inline |