1//
2// FIFOStrategy.h
3//
4// Library: Foundation
5// Package: Events
6// Module: FIFOStragegy
7//
8// Implementation of the FIFOStrategy template.
9//
10// Copyright (c) 2006-2011, Applied Informatics Software Engineering GmbH.
11// and Contributors.
12//
13// SPDX-License-Identifier: BSL-1.0
14//
15
16
17#ifndef Foundation_FIFOStrategy_INCLUDED
18#define Foundation_FIFOStrategy_INCLUDED
19
20
21#include "Poco/DefaultStrategy.h"
22
23
24namespace Poco {
25
26
27//@ deprecated
28template <class TArgs, class TDelegate>
29class FIFOStrategy: public DefaultStrategy<TArgs, TDelegate>
30 /// Note: As of release 1.4.2, DefaultStrategy already
31 /// implements FIFO behavior, so this class is provided
32 /// for backwards compatibility only.
33{
34public:
35 FIFOStrategy()
36 {
37 }
38
39 FIFOStrategy(const FIFOStrategy& s):
40 DefaultStrategy<TArgs, TDelegate>(s)
41 {
42 }
43
44 ~FIFOStrategy()
45 {
46 }
47
48 FIFOStrategy& operator = (const FIFOStrategy& s)
49 {
50 DefaultStrategy<TArgs, TDelegate>::operator = (s);
51 return *this;
52 }
53};
54
55
56} // namespace Poco
57
58
59#endif // Foundation_FIFOStrategy_INCLUDED
60