1 | /* -*- C++ -*- |
---|---|
2 | This file implements the Sequence class. |
3 | |
4 | SPDX-FileCopyrightText: 2004-2013 Mirko Boehm <mirko@kde.org> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.0-or-later |
7 | |
8 | $Id: DebuggingAids.h 30 2005-08-16 16:16:04Z mirko $ |
9 | */ |
10 | |
11 | #include "sequence.h" |
12 | #include "debuggingaids.h" |
13 | #include "dependencypolicy.h" |
14 | #include "managedjobpointer.h" |
15 | #include "queueapi.h" |
16 | #include "sequence_p.h" |
17 | |
18 | namespace ThreadWeaver |
19 | { |
20 | Sequence::Sequence() |
21 | : Collection(new Private::Sequence_Private()) |
22 | { |
23 | } |
24 | |
25 | Private::Sequence_Private *Sequence::d() |
26 | { |
27 | return reinterpret_cast<Private::Sequence_Private *>(Collection::d()); |
28 | } |
29 | |
30 | const Private::Sequence_Private *Sequence::d() const |
31 | { |
32 | return reinterpret_cast<const Private::Sequence_Private *>(Collection::d()); |
33 | } |
34 | |
35 | } |
36 |