iv::GenericListener< Listener > Class Template Reference
#include <GenericListener.hpp>
Public Member Functions | |
GenericListener (iv::Instance *inst, GenericListener_Index< Listener > *index) | |
~GenericListener () | |
iv::Instance * | instance () const |
void | Initialize () |
void | VerifyInitialization () |
Public Attributes | |
iv::ClientMarker | cm |
Detailed Description
template<class Listener>
class iv::GenericListener< Listener >
Definition at line 16 of file GenericListener.hpp.
Constructor & Destructor Documentation
◆ GenericListener()
template<class Listener >
iv::GenericListener< Listener >::GenericListener | ( | iv::Instance * | inst, |
GenericListener_Index< Listener > * | index | ||
) |
Definition at line 6 of file GenericListener.inl.
◆ ~GenericListener()
template<class Listener >
iv::GenericListener< Listener >::~GenericListener |
Definition at line 17 of file GenericListener.inl.
Member Function Documentation
◆ instance()
template<class Listener >
iv::Instance * iv::GenericListener< Listener >::instance |
Definition at line 23 of file GenericListener.inl.
◆ Initialize()
template<class Listener >
void iv::GenericListener< Listener >::Initialize |
Should be called after the whole instance is properly initialized to request initial calls to notify about existing states.
Definition at line 29 of file GenericListener.inl.
◆ VerifyInitialization()
template<class Listener >
void iv::GenericListener< Listener >::VerifyInitialization |
Called from genericListener_Index before something is invoked on this listener - to allow us to warn user about possible missing initializations.
Definition at line 39 of file GenericListener.inl.
Member Data Documentation
◆ cm
template<class Listener >
iv::ClientMarker iv::GenericListener< Listener >::cm |
Definition at line 19 of file GenericListener.hpp.
The documentation for this class was generated from the following files:
- ivorium_model/ModelTools/GenericListener.hpp
- ivorium_model/ModelTools/GenericListener.inl