Library: Foundation
Package: Events
Header: Poco/FIFOEvent.h
A FIFOEvent uses internally a FIFOStrategy which guarantees that delegates are invoked in the order they were added to the event.
Note that one object can only register one method to a FIFOEvent. Subsequent registrations will overwrite the existing delegate. For example:
FIFOEvent<int> tmp; MyClass myObject; tmp += delegate(&myObject, &MyClass::myMethod1); tmp += delegate(&myObject, &MyClass::myMethod2);
The second registration will overwrite the first one.
Direct Base Classes: AbstractEvent < TArgs, FIFOStrategy < TArgs, AbstractDelegate < TArgs >, p_less < AbstractDelegate < TArgs > > >, AbstractDelegate < TArgs > >
All Base Classes: AbstractEvent < TArgs, FIFOStrategy < TArgs, AbstractDelegate < TArgs >, p_less < AbstractDelegate < TArgs > > >, AbstractDelegate < TArgs > >
FIFOEvent();
~FIFOEvent();