and plain realloc (not mlocked) as baseline
[ardour.git] / libs / ardour / ardour / export_pointers.h
1 /*
2     Copyright (C) 2011 Paul Davis
3     Author: Sakari Bergen
4
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
9
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19 */
20
21 #ifndef __ardour_export_pointers_h__
22 #define __ardour_export_pointers_h__
23
24 #include <boost/operators.hpp>
25 #include <boost/shared_ptr.hpp>
26 #include <boost/weak_ptr.hpp>
27
28 #include "ardour/libardour_visibility.h"
29 #include "ardour/comparable_shared_ptr.h"
30
31 namespace AudioGrapher {
32         class BroadcastInfo;
33 }
34
35 namespace ARDOUR {
36
37 class ExportTimespan;
38 class ExportChannel;
39 class ExportChannelConfiguration;
40 class ExportFormat;
41 class ExportFormatBase;
42 class ExportFormatSpecification;
43 class ExportFormatCompatibility;
44 class ExportFilename;
45 class ExportStatus;
46 class ExportPreset;
47
48 typedef ComparableSharedPtr<ExportChannel> ExportChannelPtr;
49 typedef ComparableSharedPtr<ExportTimespan> ExportTimespanPtr;
50
51 typedef boost::shared_ptr<ExportChannelConfiguration> ExportChannelConfigPtr;
52 typedef boost::shared_ptr<ExportFormatBase> ExportFormatBasePtr;
53 typedef boost::shared_ptr<ExportFormat> ExportFormatPtr;
54 typedef boost::shared_ptr<ExportFormatSpecification> ExportFormatSpecPtr;
55 typedef boost::shared_ptr<ExportFormatCompatibility> ExportFormatCompatibilityPtr;
56 typedef boost::shared_ptr<ExportFilename> ExportFilenamePtr;
57 typedef boost::shared_ptr<ExportStatus> ExportStatusPtr;
58 typedef boost::shared_ptr<ExportPreset> ExportPresetPtr;
59
60 typedef boost::weak_ptr<ExportFormatCompatibility> WeakExportFormatCompatibilityPtr;
61 typedef boost::weak_ptr<ExportFormat> WeakExportFormatPtr;
62
63 typedef boost::shared_ptr<AudioGrapher::BroadcastInfo> BroadcastInfoPtr;
64
65 } // namespace ARDOUR
66
67 #endif // __ardour_export_pointers_h__