fix8  version 1.4.0
Open Source C++ FIX Framework
f8includes.hpp
Go to the documentation of this file.
1 //-------------------------------------------------------------------------------------------------
2 /*
3 
4 Fix8 is released under the GNU LESSER GENERAL PUBLIC LICENSE Version 3.
5 
6 Fix8 Open Source FIX Engine.
7 Copyright (C) 2010-16 David L. Dight <fix@fix8.org>
8 
9 Fix8 is free software: you can redistribute it and / or modify it under the terms of the
10 GNU Lesser General Public License as published by the Free Software Foundation, either
11 version 3 of the License, or (at your option) any later version.
12 
13 Fix8 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
14 even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 
16 You should have received a copy of the GNU Lesser General Public License along with Fix8.
17 If not, see <http://www.gnu.org/licenses/>.
18 
19 THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
20 COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
21 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
23 THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
24 YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
25 
26 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
27 HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED
28 ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
29 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
30 NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
31 THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
32 HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
33 
34 */
35 //-------------------------------------------------------------------------------------------------
36 #if (defined(_MSC_VER) && _MSC_VER < 1700) || (!defined(_MSC_VER) && __cplusplus < 201103L)
37 #error Fix8 requires C++11 compiler support.
38 #endif
39 //-------------------------------------------------------------------------------------------------
40 #ifndef FIX8_INCLUDES_HPP_
41 #define FIX8_INCLUDES_HPP_
42 //-------------------------------------------------------------------------------------------------
43 #include <fix8/f8dll.h>
44 #include <fix8/f8config.h>
45 
46 #ifdef FIX8_PROFILING_BUILD
47 #include <sys/gmon.h>
48 #endif
49 
50 #if (FIX8_REGEX_SYSTEM == FIX8_REGEX_REGEX_H)
51 #include <regex.h>
52 #elif (FIX8_REGEX_SYSTEM == FIX8_REGEX_POCO)
53 #include <Poco/RegularExpression.h>
54 #endif
55 
56 #if (FIX8_THREAD_SYSTEM == FIX8_THREAD_PTHREAD)
57 #include <pthread.h>
58 #elif (FIX8_THREAD_SYSTEM == FIX8_THREAD_STDTHREAD)
59 #include <thread>
60 #else
61 # error Define what thread system to use
62 #endif
63 
64 #if (FIX8_MALLOC_SYSTEM == FIX8_MALLOC_TBB)
65 #ifdef _MSC_VER
66 #include "tbb/tbbmalloc_proxy.h"
67 #endif
68 #endif
69 
70 #if defined FIX8_PREPARE_MSG_SUPPORT
71 #include <array>
72 #endif
73 #include <unordered_map>
74 #include <functional>
75 #include <errno.h>
76 #include <fix8/f8exception.hpp>
77 #include <fix8/hypersleep.hpp>
78 #include <fix8/mpmc.hpp>
79 #include <fix8/thread.hpp>
80 #include <fix8/f8types.hpp>
81 #include <fix8/f8utils.hpp>
82 #include <fix8/xml.hpp>
83 #include <fix8/gzstream.hpp>
84 #include <fix8/tickval.hpp>
85 #include <fix8/logger.hpp>
86 #include <fix8/traits.hpp>
87 #include <fix8/timer.hpp>
88 #include <fix8/field.hpp>
89 #include <fix8/message.hpp>
90 #include <fix8/session.hpp>
91 #include <fix8/coroutine.hpp>
92 #include <fix8/yield.hpp>
93 #if F8MOCK_CONNECTION
94 #include "mockConnection.hpp"
95 #else
96 #include <fix8/connection.hpp>
97 #endif
98 #include <fix8/messagebus.hpp>
99 #include <fix8/configuration.hpp>
100 #include <fix8/persist.hpp>
101 #include <fix8/sessionwrapper.hpp>
102 #include <fix8/multisession.hpp>
103 
104 #endif // FIX8_INCLUDES_HPP_