[TSerializeBase] [Index] [TSignal]

Class TSignal


File: <toad/connect.hh>

TSignal is the core of TOADs' callback implementation and calls the methods in the added object:method pairs when triggered.

object:method pairs can be added with Add, which is a 100% type safe operation and all errors will detected during compilation.

Another feature is that you may add a parameter with Add for the method to be called.

Super Classes

Attributes

Methods

Add
public void Add(TSignalNode *)
public void Add(A(*m)(void))
public void Add(A(*m)(U), V p)
public void Add(T1 *o, A(T2::*m)(void))
public void Add(T1 *o, A(T2::*m)(U), V p)
ClearAll
public void ClearAll()
Remove all assigned object:method pairs.
DelayedTrigger
public bool DelayedTrigger()
Instead of calling the assigned object:method pairs directly, put the command onto TOADs' internal message queue and return immediately.
IsConnected
public bool IsConnected()
TSignal
public TSignal()
public ~TSignal()
Trigger
public bool Trigger()
Perform all calls to the assigned object:method pairs.
operator
public bool operator()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project