libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
fix_to_link_main.hpp
Go to the documentation of this file.
1 #ifndef ISIMUD_EXCHANGES_links_fix_to_link_main_hpp
2 #define ISIMUD_EXCHANGES_links_fix_to_link_main_hpp
3 
4 /******************************************************************************
5 ** Copyright © 2017 by J.M.McGuiness, isimud@hussar.me.uk
6 **
7 ** This library is free software; you can redistribute it and/or
8 ** modify it under the terms of the GNU Lesser General Public
9 ** License as published by the Free Software Foundation; either
10 ** version 2.1 of the License, or (at your option) any later version.
11 **
12 ** This library is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ** Lesser General Public License for more details.
16 **
17 ** You should have received a copy of the GNU Lesser General Public
18 ** License along with this library; if not, write to the Free Software
19 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21 
22 #include "../FIX/v5.0sp2/fix.hpp"
23 #include "../common/iso_10383_mic_codes.hpp"
24 #include "../common/iso_3166_country_codes.hpp"
25 #include "../common/iso_4217_currency_codes.hpp"
26 
27 #include "core/application.hpp"
28 #include "core/latency_timestamps.hpp"
29 #include "core/thread_api_traits.hpp"
30 
31 #include <boost/exception/diagnostic_information.hpp>
32 #include <boost/program_options.hpp>
33 
34 #include <csignal>
35 #include <iostream>
36 
37 namespace isimud { namespace ISIMUD_VER_NAMESPACE { namespace exchanges {
38 
39 class fix_to_link : public libjmmcg::application {
40 protected:
41  using base_t=libjmmcg::application;
42  using base_t::application;
43 
44  template<class Link, class Operation>
45  static int main(int argc, char const * const *argv, boost::program_options::options_description &&all, Operation &&op) noexcept(true);
46 };
47 
48 } } }
49 
51 
52 #endif