ObserverPattern
Static Public Member Functions | List of all members
Observer::detail::cond< Contains, T_Container > Struct Template Reference

Conditionally calls attach and detach methods of the source object. More...

#include <observer.h>

Static Public Member Functions

template<class T_Source , class T_Listener >
static void attach (T_Source *s, const T_Listener &l)
 
template<class T_Source , class T_Listener >
static void detach (T_Source *s, const T_Listener &l)
 

Detailed Description

template<bool Contains, class T_Container>
struct Observer::detail::cond< Contains, T_Container >

Conditionally calls attach and detach methods of the source object.

This class defines the "true" condition.


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