MoSync 3.3
MAUtil::ListenerSet< T > Class Template Reference

A listener set. More...

#include <MAUtil/ListenerSet.h>

List of all members.

Classes

struct  Combo
class  iterator
 An iterator for a listener set. More...

Public Member Functions

 ListenerSet (bool shouldDelete)
iterator begin ()
void add (T *t)
void remove (T *t)
bool contains (T *t)
void setRunning (bool r=true)
int size () const

Detailed Description

template<typename T>
class MAUtil::ListenerSet< T >

A listener set.


Constructor & Destructor Documentation

template<typename T>
MAUtil::ListenerSet< T >::ListenerSet ( bool  shouldDelete) [inline]

Member Function Documentation

template<typename T>
iterator MAUtil::ListenerSet< T >::begin ( ) [inline]
template<typename T>
void MAUtil::ListenerSet< T >::add ( T *  t) [inline]
template<typename T>
void MAUtil::ListenerSet< T >::remove ( T *  t) [inline]
template<typename T>
bool MAUtil::ListenerSet< T >::contains ( T *  t) [inline]
template<typename T>
void MAUtil::ListenerSet< T >::setRunning ( bool  r = true) [inline]
template<typename T>
int MAUtil::ListenerSet< T >::size ( ) const [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines