Boost logo

Boost :

From: Miroslav Silovic (miro_at_[hidden])
Date: 2002-11-26 05:25:57


Hugo Duncan wrote:

>Boris and Hamish have presented examples using objects that
>provide fat interfaces for event notification. By this I mean they use
>seperate onEvent() handlers for each type of event as member functions
>of an event sink or observer class.
>
>ACE (I think) uses enums to register interest in read/write, close, exception
>activity on a resource.
>
>
boost::signal library seems a natural candidate for this. It has all the
features you required, but without any complexities from using Observer
pattern and similar (I apologize if I misunderstood your post - you do
want a signal handling for socket events, right?)

    Miro


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk