VPTissue Reference Manual
SimPT_Sim::Util::Subject< E, K > Class Template Reference

Subject in Observer pattern. More...

#include <Subject.h>

Inheritance diagram for SimPT_Sim::Util::Subject< E, K >:
Inheritance graph
Collaboration diagram for SimPT_Sim::Util::Subject< E, K >:
Collaboration graph

Public Types

typedef std::function< void(const EventType &)> CallbackType
 
typedef E EventType
 
typedef const K * KeyType
 

Public Member Functions

void Notify (const EventType &)
 
template<typename U >
void Register (const U *, CallbackType)
 
template<typename U >
void Unregister (const U *)
 
void UnregisterAll ()
 

Detailed Description

template<typename E, typename K = void>
class SimPT_Sim::Util::Subject< E, K >

Subject in Observer pattern.

Definition at line 34 of file Subject.h.


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