SignalBase< Functor > Class Template Reference

#include <signal.h>

Collaboration diagram for SignalBase< Functor >:
Collaboration graph
[legend]

Public Types

typedef Functor handler_type
typedef Handle< Opaque< Functor > > handler_id_type
typedef SignalList::iterator iterator
typedef SignalList::const_iterator const_iterator

Public Member Functions

iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
handler_id_type connectFirst (const Functor &event)
handler_id_type connectLast (const Functor &event)
bool isConnected (handler_id_type id)
handler_id_type connectBefore (handler_id_type id, const Functor &event)
handler_id_type connectAfter (handler_id_type id, const Functor &event)
void disconnect (handler_id_type id)

Private Types

typedef List< Functor > SignalList

Private Attributes

SignalList events

Detailed Description

template<typename Functor>
class SignalBase< Functor >

Definition at line 229 of file signal.h.


Member Typedef Documentation

template<typename Functor>
typedef SignalList::const_iterator SignalBase< Functor >::const_iterator

Definition at line 238 of file signal.h.

template<typename Functor>
typedef Handle< Opaque<Functor> > SignalBase< Functor >::handler_id_type

Definition at line 236 of file signal.h.

template<typename Functor>
typedef Functor SignalBase< Functor >::handler_type

Definition at line 235 of file signal.h.

template<typename Functor>
typedef SignalList::iterator SignalBase< Functor >::iterator

Definition at line 237 of file signal.h.

template<typename Functor>
typedef List<Functor> SignalBase< Functor >::SignalList [private]

Definition at line 230 of file signal.h.


Member Function Documentation

template<typename Functor>
const_iterator SignalBase< Functor >::begin (  )  const [inline]

Definition at line 245 of file signal.h.

template<typename Functor>
iterator SignalBase< Functor >::begin (  )  [inline]
template<typename Functor>
handler_id_type SignalBase< Functor >::connectAfter ( handler_id_type  id,
const Functor &  event 
) [inline]

Definition at line 271 of file signal.h.

template<typename Functor>
handler_id_type SignalBase< Functor >::connectBefore ( handler_id_type  id,
const Functor &  event 
) [inline]

Definition at line 267 of file signal.h.

template<typename Functor>
handler_id_type SignalBase< Functor >::connectFirst ( const Functor &  event  )  [inline]

Definition at line 251 of file signal.h.

template<typename Functor>
handler_id_type SignalBase< Functor >::connectLast ( const Functor &  event  )  [inline]

Definition at line 255 of file signal.h.

Referenced by CatmullRomSpline::connect(), and NURBSCurve::connect().

template<typename Functor>
void SignalBase< Functor >::disconnect ( handler_id_type  id  )  [inline]

Definition at line 275 of file signal.h.

Referenced by CatmullRomSpline::disconnect(), and NURBSCurve::disconnect().

template<typename Functor>
const_iterator SignalBase< Functor >::end (  )  const [inline]

Definition at line 248 of file signal.h.

template<typename Functor>
iterator SignalBase< Functor >::end (  )  [inline]
template<typename Functor>
bool SignalBase< Functor >::isConnected ( handler_id_type  id  )  [inline]

Field Documentation

template<typename Functor>
SignalList SignalBase< Functor >::events [private]

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

Generated by  doxygen 1.6.2