template class Poco::FIFOStrategy
Note: As of release 1.4.2, DefaultStrategy already implements FIFO behavior, so this class is provided for backwards compatibility only.
#include <FIFOStrategy.h> template < class TArgs, class TDelegate > class FIFOStrategy: public Poco::DefaultStrategy { public: // construction FIFOStrategy(); FIFOStrategy(const FIFOStrategy& s); // methods FIFOStrategy& operator=(const FIFOStrategy& s); };
Inherited Members
public: // typedefs typedef TDelegate* DelegateHandle; typedef TDelegate* DelegateHandle; typedef SharedPtr<TDelegate> DelegatePtr; typedef std::vector<DelegatePtr> Delegates; typedef Delegates::iterator Iterator; // methods virtual void notify( const void* sender, TArgs& arguments ) = 0; virtual DelegateHandle add(const TDelegate& delegate) = 0; virtual void remove(const TDelegate& delegate) = 0; virtual void remove(DelegateHandle delegateHandle) = 0; virtual void clear() = 0; virtual bool empty() const = 0; virtual void notify( const void* sender, TArgs& arguments ); virtual DelegateHandle add(const TDelegate& delegate); virtual void remove(const TDelegate& delegate); virtual void remove(DelegateHandle delegateHandle); DefaultStrategy& operator=(const DefaultStrategy& s); virtual void clear(); virtual bool empty() const; protected: // fields Delegates _delegates;