#include <signal.h>
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 |
Definition at line 229 of file signal.h.
typedef SignalList::const_iterator SignalBase< Functor >::const_iterator |
typedef Handle< Opaque<Functor> > SignalBase< Functor >::handler_id_type |
typedef Functor SignalBase< Functor >::handler_type |
typedef SignalList::iterator SignalBase< Functor >::iterator |
typedef List<Functor> SignalBase< Functor >::SignalList [private] |
const_iterator SignalBase< Functor >::begin | ( | ) | const [inline] |
iterator SignalBase< Functor >::begin | ( | ) | [inline] |
Definition at line 239 of file signal.h.
Referenced by SignalBase< SignalHandler1< FirstArgument > >::connectFirst(), and SignalBase< SignalHandler1< FirstArgument > >::isConnected().
handler_id_type SignalBase< Functor >::connectAfter | ( | handler_id_type | id, | |
const Functor & | event | |||
) | [inline] |
handler_id_type SignalBase< Functor >::connectBefore | ( | handler_id_type | id, | |
const Functor & | event | |||
) | [inline] |
handler_id_type SignalBase< Functor >::connectFirst | ( | const Functor & | event | ) | [inline] |
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().
void SignalBase< Functor >::disconnect | ( | handler_id_type | id | ) | [inline] |
Definition at line 275 of file signal.h.
Referenced by CatmullRomSpline::disconnect(), and NURBSCurve::disconnect().
const_iterator SignalBase< Functor >::end | ( | ) | const [inline] |
iterator SignalBase< Functor >::end | ( | ) | [inline] |
Definition at line 242 of file signal.h.
Referenced by SignalBase< SignalHandler1< FirstArgument > >::connectLast(), and SignalBase< SignalHandler1< FirstArgument > >::isConnected().
bool SignalBase< Functor >::isConnected | ( | handler_id_type | id | ) | [inline] |
Definition at line 259 of file signal.h.
Referenced by SignalBase< SignalHandler1< FirstArgument > >::connectAfter(), SignalBase< SignalHandler1< FirstArgument > >::connectBefore(), and SignalBase< SignalHandler1< FirstArgument > >::disconnect().
SignalList SignalBase< Functor >::events [private] |
Definition at line 231 of file signal.h.
Referenced by SignalBase< SignalHandler1< FirstArgument > >::begin(), SignalBase< SignalHandler1< FirstArgument > >::connectAfter(), SignalBase< SignalHandler1< FirstArgument > >::connectBefore(), SignalBase< SignalHandler1< FirstArgument > >::connectFirst(), SignalBase< SignalHandler1< FirstArgument > >::connectLast(), SignalBase< SignalHandler1< FirstArgument > >::disconnect(), and SignalBase< SignalHandler1< FirstArgument > >::end().