1 | // |
---|---|
2 | // ThreadTarget.cpp |
3 | // |
4 | // Library: Foundation |
5 | // Package: Threading |
6 | // Module: ThreadTarget |
7 | // |
8 | // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. |
9 | // and Contributors. |
10 | // |
11 | // SPDX-License-Identifier: BSL-1.0 |
12 | // |
13 | |
14 | |
15 | #include "Poco/ThreadTarget.h" |
16 | |
17 | |
18 | namespace Poco { |
19 | |
20 | |
21 | ThreadTarget::ThreadTarget(Callback method): _method(method) |
22 | { |
23 | } |
24 | |
25 | |
26 | ThreadTarget::ThreadTarget(const ThreadTarget& te): _method(te._method) |
27 | { |
28 | } |
29 | |
30 | |
31 | ThreadTarget& ThreadTarget::operator = (const ThreadTarget& te) |
32 | { |
33 | _method = te._method; |
34 | return *this; |
35 | } |
36 | |
37 | |
38 | ThreadTarget::~ThreadTarget() |
39 | { |
40 | } |
41 | |
42 | |
43 | } // namespace Poco |
44 |