$Date: 2005/10/23 20:36:21 $
$Revision: 1.10 $
-- List of once subscriptions.
-- List of subscriptions.
-- Is an_action subscribed?
-- Is an_action subscribed in the once list?
-- Is the publication of all actions from the subscription list suspended?
-- (Answer: no by default.)
-- Add an_action to the subscription list.
-- Add an_action to the once subscription list.
-- an_action will be called next time the event occurs and will be removed afterwards.
-- Remove an_action from the subscription list.
-- Remove an_action from the once subscription list.
-- Publish all not suspended actions from the subscription list.
-- Consider again the call of all actions from the subscription list,
-- until feature suspend_subscription is called.
-- Ignore the call of all actions from the subscription list,
-- until feature restore_subscription is called.
Generic implementation of the publish/subscribe pattern.
Use this class to implement an event-publishing mechanism by passing
as generic parameter the type of event you publish (as a tuple list).