Public Member Functions

CNotifier< T, C > Class Template Reference

Notifier with automatic capsule creation. More...

Inheritance diagram for CNotifier< T, C >:
i_Notifier NotifierAccess

List of all members.

Public Member Functions

void trigger (C c, T &t)
 CNotifier (T *cb)
void trigger (CallBacker *cb=0)
void trigger (C c, CallBacker *cb=0)

Detailed Description

template<class T, class C>
class CNotifier< T, C >

Notifier with automatic capsule creation.

When non-callbacker data needs to be passed, you can put it in a capsule.

You'll need to define:


Constructor & Destructor Documentation

template<class T, class C>
CNotifier< T, C >::CNotifier ( T *  cb  )  [inline]

Member Function Documentation

template<class T, class C>
void CNotifier< T, C >::trigger ( c,
T &  t 
) [inline]
template<class T, class C>
void CNotifier< T, C >::trigger ( c,
CallBacker cb = 0 
) [inline]
template<class T, class C>
void CNotifier< T, C >::trigger ( CallBacker cb = 0  )  [inline]