├── doc
├── rpclib-cinder
│ ├── __init__.py
│ ├── img
│ │ ├── grid1.png
│ │ ├── grid2.png
│ │ ├── grid3.png
│ │ ├── grid4.png
│ │ ├── grid5.png
│ │ ├── grid6.png
│ │ ├── grid7.png
│ │ ├── grid8.png
│ │ ├── grid9.png
│ │ ├── favicon.ico
│ │ ├── grid10.png
│ │ ├── grid11.png
│ │ ├── grid12.png
│ │ ├── grid13.png
│ │ ├── grid14.png
│ │ ├── grid15.png
│ │ ├── grid16.png
│ │ ├── grid17.png
│ │ ├── grid18.png
│ │ ├── grid19.png
│ │ └── grid20.png
│ ├── css
│ │ └── styles
│ │ │ ├── pojoaque.jpg
│ │ │ ├── brown-papersq.png
│ │ │ ├── school-book.png
│ │ │ ├── ascetic.css
│ │ │ └── mono-blue.css
│ ├── fonts
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ └── fontawesome-webfont.woff
│ ├── content.html
│ ├── js
│ │ └── base.js
│ ├── 404.html
│ ├── nav-sub.html
│ └── toc.html
├── pages
│ ├── extra.css
│ ├── versions.md
│ ├── versions.md.in
│ └── glossary.md
├── requirements.txt
├── artwork
│ ├── logo.png
│ └── favicon.ico
├── Makefile
└── mkdocs.yml
├── cmake
├── policies.cmake
├── rpclibConfig.cmake.in
├── check_warning_flag.cmake
└── coverage.cmake
├── utils
├── .style.yapf
├── reninclude.py
├── make_pack.py
└── make_release_linux.sh
├── installer
├── changelog.txt
└── readme.txt
├── conanfile.txt
├── codecov.yml
├── dependencies
├── include
│ ├── pimpl_ptr.hh
│ └── asio
│ │ ├── unyield.hpp
│ │ ├── yield.hpp
│ │ ├── version.hpp
│ │ ├── buffered_stream_fwd.hpp
│ │ ├── buffered_read_stream_fwd.hpp
│ │ ├── buffered_write_stream_fwd.hpp
│ │ ├── impl
│ │ └── src.cpp
│ │ ├── detail
│ │ ├── limits.hpp
│ │ ├── date_time_fwd.hpp
│ │ ├── regex_fwd.hpp
│ │ ├── dependent_type.hpp
│ │ ├── win_iocp_thread_info.hpp
│ │ ├── reactor.hpp
│ │ └── assert.hpp
│ │ ├── signal_set.hpp
│ │ ├── ssl
│ │ ├── impl
│ │ │ └── src.hpp
│ │ └── detail
│ │ │ └── openssl_types.hpp
│ │ ├── streambuf.hpp
│ │ ├── basic_streambuf_fwd.hpp
│ │ └── ssl.hpp
└── src
│ ├── asio.cpp
│ └── asio_ssl.cpp
├── include
└── rpc
│ ├── msgpack
│ ├── version_master.h
│ ├── predef
│ │ ├── detail
│ │ │ ├── os_detected.h
│ │ │ ├── comp_detected.h
│ │ │ ├── platform_detected.h
│ │ │ ├── _exception.h
│ │ │ ├── _cassert.h
│ │ │ ├── test.h
│ │ │ └── endian_compat.h
│ │ ├── library
│ │ │ ├── c
│ │ │ │ └── _prefix.h
│ │ │ ├── c.h
│ │ │ ├── std
│ │ │ │ └── _prefix.h
│ │ │ └── std.h
│ │ ├── version.h
│ │ ├── hardware.h
│ │ ├── other.h
│ │ ├── library.h
│ │ ├── language.h
│ │ ├── platform.h
│ │ └── hardware
│ │ │ └── simd
│ │ │ └── arm
│ │ │ └── versions.h
│ ├── util.h
│ ├── adaptor
│ │ ├── set.hpp
│ │ ├── list.hpp
│ │ ├── pair.hpp
│ │ ├── deque.hpp
│ │ ├── float.hpp
│ │ ├── carray.hpp
│ │ ├── string.hpp
│ │ ├── vector.hpp
│ │ ├── char_ptr.hpp
│ │ ├── bool.hpp
│ │ ├── vector_bool.hpp
│ │ ├── vector_char.hpp
│ │ ├── boost
│ │ │ ├── fusion.hpp
│ │ │ ├── optional.hpp
│ │ │ ├── string_ref.hpp
│ │ │ ├── string_view.hpp
│ │ │ ├── msgpack_variant_decl.hpp
│ │ │ └── msgpack_variant.hpp
│ │ ├── cpp11
│ │ │ ├── array.hpp
│ │ │ ├── tuple.hpp
│ │ │ ├── array_char.hpp
│ │ │ ├── shared_ptr.hpp
│ │ │ ├── unique_ptr.hpp
│ │ │ ├── forward_list.hpp
│ │ │ ├── unordered_map.hpp
│ │ │ ├── unordered_set.hpp
│ │ │ ├── reference_wrapper.hpp
│ │ │ └── array_unsigned_char.hpp
│ │ ├── int.hpp
│ │ ├── ext.hpp
│ │ ├── cpp17
│ │ │ ├── optional.hpp
│ │ │ └── string_view.hpp
│ │ ├── ext_decl.hpp
│ │ ├── int_decl.hpp
│ │ ├── nil_decl.hpp
│ │ ├── raw_decl.hpp
│ │ ├── nil.hpp
│ │ ├── raw.hpp
│ │ ├── vector_unsigned_char.hpp
│ │ ├── define.hpp
│ │ ├── map.hpp
│ │ ├── v4raw_decl.hpp
│ │ ├── v4raw.hpp
│ │ ├── fixint.hpp
│ │ ├── map_decl.hpp
│ │ ├── adaptor_base_decl.hpp
│ │ ├── array_ref.hpp
│ │ ├── fixint_decl.hpp
│ │ ├── msgpack_tuple_decl.hpp
│ │ ├── msgpack_tuple.hpp
│ │ ├── size_equal_only.hpp
│ │ ├── array_ref_decl.hpp
│ │ ├── check_container_size.hpp
│ │ ├── size_equal_only_decl.hpp
│ │ ├── adaptor_base.hpp
│ │ └── check_container_size_decl.hpp
│ ├── unpack_exception.hpp
│ ├── zone_decl.hpp
│ ├── meta.hpp
│ ├── fbuffer.hpp
│ ├── pack_decl.hpp
│ ├── zone.hpp
│ ├── pack.hpp
│ ├── iterator.hpp
│ ├── meta_decl.hpp
│ ├── pack_define.h
│ ├── unpack_decl.hpp
│ ├── cpp_config.hpp
│ ├── fbuffer_decl.hpp
│ ├── parse_return.hpp
│ ├── object_decl.hpp
│ ├── zbuffer_decl.hpp
│ ├── sbuffer.hpp
│ ├── sbuffer_decl.hpp
│ ├── zbuffer.hpp
│ ├── cpp_config_decl.hpp
│ ├── iterator_decl.hpp
│ ├── object_fwd_decl.hpp
│ ├── vrefbuffer_decl.hpp
│ ├── vrefbuffer.hpp
│ ├── object.hpp
│ ├── preprocessor.hpp
│ ├── v1
│ │ ├── preprocessor.hpp
│ │ ├── zone.hpp
│ │ ├── zone_decl.hpp
│ │ ├── adaptor
│ │ │ ├── msgpack_tuple.hpp
│ │ │ ├── msgpack_tuple_decl.hpp
│ │ │ ├── define.hpp
│ │ │ ├── define_decl.hpp
│ │ │ ├── v4raw_decl.hpp
│ │ │ ├── raw_decl.hpp
│ │ │ ├── ext_decl.hpp
│ │ │ └── map_decl.hpp
│ │ ├── fbuffer_decl.hpp
│ │ ├── sbuffer_decl.hpp
│ │ ├── zbuffer_decl.hpp
│ │ ├── parse_return.hpp
│ │ └── vrefbuffer_decl.hpp
│ ├── object_fwd.hpp
│ ├── unpack.hpp
│ ├── preprocessor
│ │ ├── punctuation
│ │ │ ├── comma.hpp
│ │ │ └── paren.hpp
│ │ ├── facilities
│ │ │ ├── empty.hpp
│ │ │ ├── identity.hpp
│ │ │ └── expand.hpp
│ │ ├── detail
│ │ │ └── null.hpp
│ │ ├── if.hpp
│ │ ├── dec.hpp
│ │ ├── for.hpp
│ │ ├── inc.hpp
│ │ ├── max.hpp
│ │ ├── min.hpp
│ │ ├── slot.hpp
│ │ ├── enum.hpp
│ │ ├── while.hpp
│ │ ├── comma.hpp
│ │ ├── empty.hpp
│ │ ├── limits.hpp
│ │ ├── expand.hpp
│ │ ├── expr_if.hpp
│ │ ├── iterate.hpp
│ │ ├── repeat.hpp
│ │ ├── assert_msg.hpp
│ │ ├── comma_if.hpp
│ │ ├── identity.hpp
│ │ ├── repeat_2nd.hpp
│ │ ├── repeat_3rd.hpp
│ │ ├── enum_params.hpp
│ │ ├── enum_shifted.hpp
│ │ ├── repeat_from_to.hpp
│ │ ├── repeat_from_to_2nd.hpp
│ │ ├── repeat_from_to_3rd.hpp
│ │ ├── debug.hpp
│ │ ├── enum_shifted_params.hpp
│ │ ├── seq
│ │ │ ├── push_back.hpp
│ │ │ └── push_front.hpp
│ │ ├── selection.hpp
│ │ ├── enum_params_with_defaults.hpp
│ │ ├── enum_params_with_a_default.hpp
│ │ ├── iteration
│ │ │ ├── self.hpp
│ │ │ └── detail
│ │ │ │ └── self.hpp
│ │ ├── comparison.hpp
│ │ ├── repetition
│ │ │ ├── enum_params_with_defaults.hpp
│ │ │ └── enum_params_with_a_default.hpp
│ │ ├── iteration.hpp
│ │ └── arithmetic.hpp
│ ├── gcc_atomic.h
│ ├── v2
│ │ ├── zone_decl.hpp
│ │ ├── zbuffer_decl.hpp
│ │ ├── vrefbuffer_decl.hpp
│ │ ├── detail
│ │ │ ├── cpp11_zone_decl.hpp
│ │ │ └── cpp03_zone_decl.hpp
│ │ ├── adaptor
│ │ │ ├── msgpack_tuple_decl.hpp
│ │ │ ├── raw_decl.hpp
│ │ │ ├── map_decl.hpp
│ │ │ ├── ext_decl.hpp
│ │ │ ├── define_decl.hpp
│ │ │ ├── v4raw_decl.hpp
│ │ │ ├── array_ref_decl.hpp
│ │ │ ├── detail
│ │ │ │ ├── cpp03_define_map_decl.hpp
│ │ │ │ ├── cpp11_define_map_decl.hpp
│ │ │ │ ├── cpp03_define_array_decl.hpp
│ │ │ │ └── cpp11_define_array_decl.hpp
│ │ │ └── size_equal_only_decl.hpp
│ │ ├── iterator_decl.hpp
│ │ ├── object.hpp
│ │ ├── fbuffer_decl.hpp
│ │ └── sbuffer_decl.hpp
│ ├── predef.h
│ ├── fbuffer.h
│ └── gcc_atomic.hpp
│ ├── detail
│ ├── invoke.h
│ ├── not.h
│ ├── pimpl.h
│ ├── constant.h
│ ├── if.h
│ ├── bool.h
│ ├── dev_utils.h
│ ├── any.h
│ ├── is_specialization_of.h
│ ├── util.h
│ ├── func_tools.h
│ ├── all.h
│ ├── make_unique.h
│ └── thread_group.h
│ ├── version.h
│ ├── version.h.in
│ ├── this_handler.inl
│ └── compatibility.h
├── run_clang_check.sh
├── .clang-format
├── .gitignore
├── tests
└── testmain.cc
├── examples
├── client
│ ├── main.cc
│ └── CMakeLists.txt
├── echo
│ ├── echo_server.cc
│ ├── echo_client.cc
│ └── CMakeLists.txt
├── mandelbrot
│ └── mandelbrot.h
├── server
│ └── CMakeLists.txt
└── calculator
│ └── CMakeLists.txt
├── rpclib.pc.in
├── lib
└── rpc
│ ├── nonstd
│ └── optional.cc
│ ├── this_server.cc
│ ├── detail
│ └── client_error.cc
│ ├── this_session.cc
│ ├── this_handler.cc
│ └── rpc_error.cc
├── .editorconfig
├── appveyor.yml
└── .travis.yml
/doc/rpclib-cinder/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cmake/policies.cmake:
--------------------------------------------------------------------------------
1 | cmake_policy(SET CMP0054 NEW)
2 |
3 |
--------------------------------------------------------------------------------
/utils/.style.yapf:
--------------------------------------------------------------------------------
1 | [style]
2 | based_on_style=pep8
3 | indent_width=2
--------------------------------------------------------------------------------
/doc/pages/extra.css:
--------------------------------------------------------------------------------
1 | .md-typeset code {
2 | word-break: normal;
3 | }
--------------------------------------------------------------------------------
/doc/requirements.txt:
--------------------------------------------------------------------------------
1 | lxml>=3.6.4
2 | Mako>=1.0.4
3 | mkdocs
4 | pygments
5 |
--------------------------------------------------------------------------------
/installer/changelog.txt:
--------------------------------------------------------------------------------
1 | 1.0.0
2 | This is the first release version of rpc.
3 |
--------------------------------------------------------------------------------
/doc/artwork/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/artwork/logo.png
--------------------------------------------------------------------------------
/doc/artwork/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/artwork/favicon.ico
--------------------------------------------------------------------------------
/conanfile.txt:
--------------------------------------------------------------------------------
1 | [requires]
2 | cmake_installer/1.0@conan/stable
3 |
4 | [generators]
5 | virtualenv
6 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid1.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid2.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid3.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid4.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid5.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid6.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid7.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid8.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid9.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/favicon.ico
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid10.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid11.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid12.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid13.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid14.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid15.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid16.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid17.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid18.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid19.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/img/grid20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/img/grid20.png
--------------------------------------------------------------------------------
/codecov.yml:
--------------------------------------------------------------------------------
1 |
2 | ignore:
3 | - "include/rpc/msgpack"
4 | - "dependencies"
5 |
6 | coverage:
7 | precision: 2
8 |
--------------------------------------------------------------------------------
/dependencies/include/pimpl_ptr.hh:
--------------------------------------------------------------------------------
1 | #ifndef PIMPL_PTR_HH_
2 | #define PIMPL_PTR_HH_
3 |
4 |
5 | #endif /* PIMPL_PTR_HH_ */
6 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/css/styles/pojoaque.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/css/styles/pojoaque.jpg
--------------------------------------------------------------------------------
/doc/rpclib-cinder/css/styles/brown-papersq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/css/styles/brown-papersq.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/css/styles/school-book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/css/styles/school-book.png
--------------------------------------------------------------------------------
/doc/rpclib-cinder/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/doc/rpclib-cinder/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/doc/rpclib-cinder/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qchateau/rpclib/HEAD/doc/rpclib-cinder/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/include/rpc/msgpack/version_master.h:
--------------------------------------------------------------------------------
1 | #define MSGPACK_VERSION_MAJOR 2
2 | #define MSGPACK_VERSION_MINOR 1
3 | #define MSGPACK_VERSION_REVISION 5
4 |
--------------------------------------------------------------------------------
/run_clang_check.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | find ./lib -name '*.cc' | xargs clang-check -analyze -p .
3 | find ./tests -name '*.cc' | xargs clang-check -analyze -p .
4 |
--------------------------------------------------------------------------------
/.clang-format:
--------------------------------------------------------------------------------
1 | BasedOnStyle: LLVM
2 | IndentWidth: 4
3 | Standard: Cpp11
4 | UseTab: Never
5 | ColumnLimit: 80
6 | AccessModifierOffset: -4
7 | ConstructorInitializerAllOnOneLineOrOnePerLine: true
8 |
--------------------------------------------------------------------------------
/installer/readme.txt:
--------------------------------------------------------------------------------
1 | rpc is a msgpack-rpc library for modern C++. The goal of this library is to provide a simple, no-nonsense RPC solution. This installs its headers and binaries to the system.
2 |
3 |
4 |
--------------------------------------------------------------------------------
/doc/pages/versions.md:
--------------------------------------------------------------------------------
1 | You are reading the documentation of 2.2.1.
2 | If, for some reason you need the documentation of older versions, you can download them from this page.
3 |
4 | * [1.0.0](/archive/rpclib_docs_1.0.0.zip)
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | build/
3 | .idea/
4 | .vscode/
5 |
6 | doc/site/
7 | doc/doxygen/
8 |
9 | *.pyc
10 | compile_commands.json
11 | CMakeLists.txt.user
12 | cppcheck*
13 | report
14 | utils/release
15 | doc/all.xml
16 | reference.md
17 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/content.html:
--------------------------------------------------------------------------------
1 | {% if meta.source %}
2 |
3 | {% for filename in meta.source %}
4 | {{ filename }}
5 | {% endfor %}
6 |
7 | {% endif %}
8 |
9 | {{ content }}
10 |
--------------------------------------------------------------------------------
/doc/pages/versions.md.in:
--------------------------------------------------------------------------------
1 | You are reading the documentation of @rpc_VERSION_MAJOR@.@rpc_VERSION_MINOR@.@rpc_VERSION_PATCH@.
2 | If, for some reason you need the documentation of older versions, you can download them from this page.
3 |
4 | * [1.0.0](/archive/rpclib_docs_1.0.0.zip)
--------------------------------------------------------------------------------
/tests/testmain.cc:
--------------------------------------------------------------------------------
1 | #include "gtest/gtest.h"
2 |
3 | int main(int argc, char *argv[]) {
4 | testing::FLAGS_gtest_color = "yes";
5 | testing::FLAGS_gtest_death_test_style = "threadsafe";
6 | testing::InitGoogleTest(&argc, argv);
7 | return RUN_ALL_TESTS();
8 | }
9 |
--------------------------------------------------------------------------------
/examples/client/main.cc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "rpc/client.h"
3 |
4 | int main() {
5 | rpc::client client("127.0.0.1", rpc::constants::DEFAULT_PORT);
6 | auto result = client.call("add", 2, 3).as();
7 | std::cout << "The result is: " << result << std::endl;
8 | return 0;
9 | }
10 |
--------------------------------------------------------------------------------
/include/rpc/detail/invoke.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef INVOKE_H_0CWMPLUE
4 | #define INVOKE_H_0CWMPLUE
5 |
6 | namespace rpc {
7 | namespace detail {
8 |
9 | template
10 | using invoke = typename T::type;
11 |
12 | }}
13 |
14 |
15 | #endif /* end of include guard: INVOKE_H_0CWMPLUE */
16 |
--------------------------------------------------------------------------------
/rpclib.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@prefix@
2 | exec_prefix=@exec_prefix@
3 | libdir=@libdir@
4 | includedir=@includedir@
5 |
6 | Name: rpclib
7 | Description: rpclib is a msgpack-rpc library written using modern C++
8 | Version: @rpclib_version@
9 | Libs: -L${libdir} -l@OUTPUT_LIBRARY_NAME@
10 | Cflags: -I${includedir} @rpclib_cflags@
--------------------------------------------------------------------------------
/include/rpc/detail/not.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef NOT_H_0MEGQWII
4 | #define NOT_H_0MEGQWII
5 |
6 | #include "rpc/detail/bool.h"
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | template
12 | using not_ = bool_;
13 |
14 | }
15 | }
16 |
17 | #endif /* end of include guard: NOT_H_0MEGQWII */
18 |
--------------------------------------------------------------------------------
/lib/rpc/nonstd/optional.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/nonstd/optional.hpp"
2 |
3 | // This is no-op; the reason it exists is to avoid
4 | // the weak vtables problem. For more info, see
5 | // https://stackoverflow.com/a/23749273/140367
6 | const char* nonstd::bad_optional_access::what() const noexcept {
7 | return std::logic_error::what();
8 | }
9 |
--------------------------------------------------------------------------------
/include/rpc/detail/pimpl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef PIMPL_H_TV7E3C9K
4 | #define PIMPL_H_TV7E3C9K
5 |
6 | //! \brief Declares a pimpl pointer.
7 | #define RPCLIB_DECLARE_PIMPL() \
8 | struct impl; std::unique_ptr pimpl;
9 |
10 | #endif /* end of include guard: PIMPL_H_TV7E3C9K */
11 |
--------------------------------------------------------------------------------
/cmake/rpclibConfig.cmake.in:
--------------------------------------------------------------------------------
1 | # Example usage:
2 | # find_package(rpclib REQUIRED)
3 | # add_executable(foo main.cpp)
4 | # target_link_libraries(foo rpclib::rpc)
5 |
6 | @PACKAGE_INIT@
7 |
8 | set(RPCLIB_VERSION @RPCLIB_VERSION_MAJOR@.@RPCLIB_VERSION_MINOR@.@RPCLIB_VERSION_PATCH@)
9 |
10 | include("${CMAKE_CURRENT_LIST_DIR}/rpclibTargets.cmake")
11 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/os_detected.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2013
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL_OS_DETECTED
9 | #define MSGPACK_PREDEF_DETAIL_OS_DETECTED 1
10 | #endif
11 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/comp_detected.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2014
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL_COMP_DETECTED
9 | #define MSGPACK_PREDEF_DETAIL_COMP_DETECTED 1
10 | #endif
11 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome: http://EditorConfig.org
2 | root = true
3 |
4 | [*]
5 | end_of_line = lf
6 | insert_final_newline = true
7 | charset = utf-8
8 |
9 | # Matches multiple files with brace expansion notation
10 | # Set default charset
11 | [*.{cc,cpp,h,hpp,hh}]
12 | indent_style = space
13 | indent_size = 4
14 | trim_trailing_whitespace = true
15 |
--------------------------------------------------------------------------------
/cmake/check_warning_flag.cmake:
--------------------------------------------------------------------------------
1 | include(CheckCXXSourceCompiles)
2 |
3 | function(check_warning_flag FLAG VAR)
4 | set(SRC "int main() {}")
5 | set(OLD_CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
6 | set(CMAKE_REQUIRED_FLAGS "-Werror -Wno-${FLAG}")
7 | check_cxx_source_compiles(${SRC} ${VAR})
8 | set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
9 | endfunction()
--------------------------------------------------------------------------------
/dependencies/src/asio.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // asio.cpp
3 | // ~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #include "asio/impl/src.hpp"
12 |
--------------------------------------------------------------------------------
/examples/echo/echo_server.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/server.h"
2 | #include
3 |
4 | int main() {
5 | rpc::server srv(rpc::constants::DEFAULT_PORT);
6 | std::cout << "registered on port " << srv.port() << std::endl;
7 |
8 | srv.bind("echo", [](std::string const& s) {
9 | return s;
10 | });
11 |
12 | srv.run();
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/platform_detected.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2014
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL_PLAT_DETECTED
9 | #define MSGPACK_PREDEF_DETAIL_PLAT_DETECTED 1
10 | #endif
11 |
--------------------------------------------------------------------------------
/include/rpc/detail/constant.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef CONSTANT_H_5CXUYJEW
4 | #define CONSTANT_H_5CXUYJEW
5 |
6 | #include
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | template
12 | struct constant : std::integral_constant {};
13 |
14 | }
15 | }
16 |
17 | #endif /* end of include guard: CONSTANT_H_5CXUYJEW */
18 |
--------------------------------------------------------------------------------
/include/rpc/detail/if.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef IF_H_1OW9DR7G
4 | #define IF_H_1OW9DR7G
5 |
6 | #include "rpc/detail/invoke.h"
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | template
12 | using if_ = invoke>;
13 | }
14 | }
15 |
16 | #endif /* end of include guard: IF_H_1OW9DR7G */
17 |
--------------------------------------------------------------------------------
/include/rpc/version.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef VERSION_H_IN_LZK5UJ7E
4 | #define VERSION_H_IN_LZK5UJ7E
5 |
6 | namespace rpc {
7 |
8 | static constexpr unsigned VERSION_MAJOR = 2;
9 | static constexpr unsigned VERSION_MINOR = 2;
10 | static constexpr unsigned VERSION_PATCH = 1;
11 |
12 | } /* rpc */
13 |
14 | #endif /* end of include guard: VERSION_H_IN_LZK5UJ7E */
15 |
--------------------------------------------------------------------------------
/lib/rpc/this_server.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/this_server.h"
2 |
3 | namespace rpc
4 | {
5 |
6 | this_server_t &this_server() {
7 | static thread_local this_server_t instance;
8 | return instance;
9 | }
10 |
11 | void this_server_t::stop() {
12 | stopping_ = true;
13 | }
14 |
15 | void this_server_t::cancel_stop() {
16 | stopping_ = false;
17 | }
18 |
19 | } /* rpc */
20 |
--------------------------------------------------------------------------------
/dependencies/src/asio_ssl.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // clmdep_asio_ssl.cpp
3 | // ~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #include "asio/ssl/impl/src.hpp"
12 |
--------------------------------------------------------------------------------
/examples/mandelbrot/mandelbrot.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef MANDELBROT_H_I0UEF3KR
4 | #define MANDELBROT_H_I0UEF3KR
5 |
6 | #include "rpc/msgpack.hpp"
7 | #include
8 |
9 | struct pixel {
10 | unsigned char r, g, b;
11 | MSGPACK_DEFINE_ARRAY(r, g, b)
12 | };
13 |
14 | using pixel_data = std::vector;
15 |
16 | #endif /* end of include guard: MANDELBROT_H_I0UEF3KR */
17 |
18 |
--------------------------------------------------------------------------------
/include/rpc/detail/bool.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef BOOL_H_QLG6S5XZ
4 | #define BOOL_H_QLG6S5XZ
5 |
6 | #include "rpc/detail/constant.h"
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | template
12 | using bool_ = constant;
13 |
14 | using true_ = bool_;
15 |
16 | using false_ = bool_;
17 |
18 | }
19 | }
20 |
21 | #endif /* end of include guard: BOOL_H_QLG6S5XZ */
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/library/c/_prefix.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2013
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_LIBRARY_C__PREFIX_H
9 | #define MSGPACK_PREDEF_LIBRARY_C__PREFIX_H
10 |
11 | #include
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/include/rpc/version.h.in:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef VERSION_H_IN_LZK5UJ7E
4 | #define VERSION_H_IN_LZK5UJ7E
5 |
6 | namespace rpc {
7 |
8 | static constexpr unsigned VERSION_MAJOR = @rpc_VERSION_MAJOR@;
9 | static constexpr unsigned VERSION_MINOR = @rpc_VERSION_MINOR@;
10 | static constexpr unsigned VERSION_PATCH = @rpc_VERSION_PATCH@;
11 |
12 | } /* rpc */
13 |
14 | #endif /* end of include guard: VERSION_H_IN_LZK5UJ7E */
15 |
--------------------------------------------------------------------------------
/cmake/coverage.cmake:
--------------------------------------------------------------------------------
1 | function(enable_coverage TARGET)
2 | if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
3 |
4 | if(APPLE)
5 | set(COVERAGE_LIB "")
6 | else()
7 | set(COVERAGE_LIB -lgcov)
8 | endif()
9 |
10 | set_target_properties(${TARGET}
11 | PROPERTIES
12 | COMPILE_FLAGS --coverage
13 | LINK_FLAGS "${COVERAGE_LIB} --coverage"
14 | )
15 | endif()
16 | endfunction()
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/_exception.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2011-2012
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL__EXCEPTION_H
9 | #define MSGPACK_PREDEF_DETAIL__EXCEPTION_H
10 |
11 | #if defined(__cplusplus)
12 | #include
13 | #endif
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/include/rpc/this_handler.inl:
--------------------------------------------------------------------------------
1 |
2 | namespace rpc {
3 |
4 | template void this_handler_t::respond_error(T &&err_obj) {
5 | error_ = detail::pack(std::forward(err_obj));
6 | throw detail::handler_error();
7 | }
8 |
9 | template void this_handler_t::respond(T &&resp_obj) {
10 | resp_ = detail::pack(std::forward(resp_obj));
11 | //throw detail::handler_spec_response();
12 | }
13 |
14 | } /* rpc */
15 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/js/base.js:
--------------------------------------------------------------------------------
1 |
2 | /* Highlight */
3 | $( document ).ready(function() {
4 | hljs.initHighlightingOnLoad();
5 | $('table').addClass('table table-striped table-hover');
6 | });
7 |
8 |
9 | $('body').scrollspy({
10 | target: '.bs-sidebar',
11 | });
12 |
13 |
14 | /* Prevent disabled links from causing a page reload */
15 | $("li.disabled a").click(function() {
16 | event.preventDefault();
17 | });
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/examples/echo/echo_client.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/client.h"
2 |
3 | #include
4 |
5 | int main() {
6 | rpc::client c("localhost", rpc::constants::DEFAULT_PORT);
7 |
8 | std::string text;
9 | while (std::getline(std::cin, text)) {
10 | if (!text.empty()) {
11 | std::string result(c.call("echo", text).as());
12 | std::cout << "> " << result << std::endl;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/util.h:
--------------------------------------------------------------------------------
1 | /*
2 | * MessagePack for C utilities
3 | *
4 | * Copyright (C) 2014 FURUHASHI Sadayuki
5 | *
6 | * Distributed under the Boost Software License, Version 1.0.
7 | * (See accompanying file LICENSE_1_0.txt or copy at
8 | * http://www.boost.org/LICENSE_1_0.txt)
9 | */
10 | #ifndef MSGPACK_UTIL_H
11 | #define MSGPACK_UTIL_H
12 |
13 | #define MSGPACK_UNUSED(a) (void)(a)
14 |
15 | #endif /* MSGPACK_UTIL_H */
16 |
--------------------------------------------------------------------------------
/lib/rpc/detail/client_error.cc:
--------------------------------------------------------------------------------
1 | #include "format.h"
2 |
3 | #include "rpc/detail/client_error.h"
4 |
5 | namespace rpc {
6 | namespace detail {
7 |
8 | client_error::client_error(code c, const std::string &msg)
9 | : what_(RPCLIB_FMT::format("client error C{0:04x}: {1}",
10 | static_cast(c), msg)) {}
11 |
12 | const char *client_error::what() const noexcept { return what_.c_str(); }
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/404.html:
--------------------------------------------------------------------------------
1 | {% extends "base.html" %}
2 |
3 | {% block content %}
4 |
5 |
6 |
7 |
404
8 |
Page not found
9 |
Home
10 |
11 |
12 |
13 | {% endblock %}
14 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/version.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2015-2016
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_VERSION_H
9 | #define MSGPACK_PREDEF_VERSION_H
10 |
11 | #include
12 |
13 | #define MSGPACK_PREDEF_VERSION MSGPACK_VERSION_NUMBER(1,4,1)
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/_cassert.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2011-2012
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL__CASSERT_H
9 | #define MSGPACK_PREDEF_DETAIL__CASSERT_H
10 |
11 | #if defined(__cplusplus)
12 | #include
13 | #else
14 | #include
15 | #endif
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/test.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2011-2012
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL_TEST_H
9 | #define MSGPACK_PREDEF_DETAIL_TEST_H
10 |
11 | #if !defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
12 |
13 | #define MSGPACK_PREDEF_DECLARE_TEST(x,s)
14 |
15 | #endif
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/doc/Makefile:
--------------------------------------------------------------------------------
1 | UTILS=../utils
2 | DDIR=doxygen/xml
3 |
4 | all: mkdocs
5 |
6 | mkdocs: reference.md
7 | docker run --rm -it -v `pwd`:/docs squidfunk/mkdocs-material build
8 |
9 | $(DDIR)/index.xml: Doxyfile $(wildcard ../include/rpc/*.h)
10 | doxygen Doxyfile
11 |
12 | all.xml: $(DDIR)/index.xml
13 | xsltproc $(DDIR)/combine.xslt $(DDIR)/index.xml >all.xml
14 |
15 | reference.md: all.xml reference.md.mako
16 | python3 $(UTILS)/markygen.py all.xml reference.md.mako pages/reference.md
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/set.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_SET_HPP
11 | #define MSGPACK_TYPE_SET_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/set.hpp"
14 |
15 | #endif // MSGPACK_TYPE_SET_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/list.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_LIST_HPP
11 | #define MSGPACK_TYPE_LIST_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/list.hpp"
14 |
15 | #endif // MSGPACK_TYPE_LIST_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/pair.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_PAIR_HPP
11 | #define MSGPACK_TYPE_PAIR_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/pair.hpp"
14 |
15 | #endif // MSGPACK_TYPE_PAIR_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/deque.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_DEQUE_HPP
11 | #define MSGPACK_TYPE_DEQUE_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/deque.hpp"
14 |
15 | #endif // MSGPACK_TYPE_DEQUE_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/float.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_FLOAT_HPP
11 | #define MSGPACK_TYPE_FLOAT_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/float.hpp"
14 |
15 | #endif // MSGPACK_TYPE_FLOAT_HPP
16 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/nav-sub.html:
--------------------------------------------------------------------------------
1 | {% if not nav_item.children %}
2 |
3 | {{ nav_item.title }}
4 |
5 | {% else %}
6 |
14 | {% endif %}
15 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/carray.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_CARRAY_HPP
11 | #define MSGPACK_TYPE_CARRAY_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/carray.hpp"
14 |
15 | #endif // MSGPACK_TYPE_CARRAY_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/string.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_STRING_HPP
11 | #define MSGPACK_TYPE_STRING_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/string.hpp"
14 |
15 | #endif // MSGPACK_TYPE_STRING_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/vector.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_VECTOR_HPP
11 | #define MSGPACK_TYPE_VECTOR_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/vector.hpp"
14 |
15 | #endif // MSGPACK_TYPE_VECTOR_HPP
16 |
--------------------------------------------------------------------------------
/dependencies/include/asio/unyield.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // unyield.hpp
3 | // ~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifdef reenter
12 | # undef reenter
13 | #endif
14 |
15 | #ifdef yield
16 | # undef yield
17 | #endif
18 |
19 | #ifdef fork
20 | # undef fork
21 | #endif
22 |
--------------------------------------------------------------------------------
/include/rpc/compatibility.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef COMPATIBILITY_H_PODKJ3
4 | #define COMPATIBILITY_H_PODKJ3
5 |
6 | #ifndef _MSC_VER
7 |
8 | #define RPCLIB_NORETURN [[noreturn]]
9 | #define RPCLIB_CONSTEXPR constexpr
10 | #define RPCLIB_FINAL final
11 |
12 | #else
13 |
14 | #define RPCLIB_NORETURN __declspec(noreturn)
15 | #define RPCLIB_CONSTEXPR const // bad replacement, but gets the job done
16 | #define RPCLIB_FINAL
17 |
18 | #endif // !_MSC_VER
19 |
20 | #endif // COMPATIBILITY_H_PODKJ3
21 |
--------------------------------------------------------------------------------
/include/rpc/detail/dev_utils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef DEV_UTILS_H_JQSWE2OS
4 | #define DEV_UTILS_H_JQSWE2OS
5 |
6 | #ifdef RPCLIB_LINUX
7 | #include "pthread.h"
8 | #endif
9 |
10 | namespace rpc {
11 | namespace detail {
12 | inline void name_thread(std::string const &name) {
13 | (void)name;
14 | #ifdef RPCLIB_LINUX
15 | pthread_setname_np(pthread_self(), name.c_str());
16 | #endif
17 | }
18 | } /* detail */
19 | } /* rpc */
20 |
21 | #endif /* end of include guard: DEV_UTILS_H_JQSWE2OS */
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/char_ptr.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_CHAR_PTR_HPP
11 | #define MSGPACK_TYPE_CHAR_PTR_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/char_ptr.hpp"
14 |
15 | #endif // MSGPACK_TYPE_CHAR_PTR_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/unpack_exception.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deserializing routine
3 | //
4 | // Copyright (C) 2017 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_UNPACK_EXCEPTION_HPP
11 | #define MSGPACK_UNPACK_EXCEPTION_HPP
12 |
13 | #include "rpc/msgpack/v1/unpack_exception.hpp"
14 |
15 | #endif // MSGPACK_UNPACK_EXCEPTION_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/zone_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ZONE_DECL_HPP
11 | #define MSGPACK_ZONE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/zone_decl.hpp"
14 | #include "rpc/msgpack/v2/zone_decl.hpp"
15 |
16 | #endif // MSGPACK_ZONE_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/bool.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOL_HPP
11 | #define MSGPACK_TYPE_BOOL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/bool.hpp"
14 |
15 | #endif // MSGPACK_TYPE_BOOL_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/meta.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_META_HPP
12 | #define MSGPACK_META_HPP
13 |
14 | #include "rpc/msgpack/meta_decl.hpp"
15 |
16 | #include "rpc/msgpack/v1/meta.hpp"
17 |
18 | #endif // MSGPACK_META_HPP
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/vector_bool.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_VECTOR_BOOL_HPP
11 | #define MSGPACK_TYPE_VECTOR_BOOL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/vector_bool.hpp"
14 |
15 | #endif // MSGPACK_TYPE_VECTOR_BOOL_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/vector_char.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_VECTOR_CHAR_HPP
11 | #define MSGPACK_TYPE_VECTOR_CHAR_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/vector_char.hpp"
14 |
15 | #endif // MSGPACK_TYPE_VECTOR_CHAR_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/fbuffer.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ FILE* buffer adaptor
3 | //
4 | // Copyright (C) 2013 Vladimir Volodko
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_FBUFFER_HPP
11 | #define MSGPACK_FBUFFER_HPP
12 |
13 | #include "rpc/msgpack/fbuffer_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/fbuffer.hpp"
16 |
17 | #endif // MSGPACK_FBUFFER_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/pack_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ serializing routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_PACK_DECL_HPP
11 | #define MSGPACK_PACK_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/pack_decl.hpp"
14 | #include "rpc/msgpack/v2/pack_decl.hpp"
15 |
16 | #endif // MSGPACK_PACK_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/zone.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ZONE_HPP
11 | #define MSGPACK_ZONE_HPP
12 |
13 | #include "rpc/msgpack/zone_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/zone.hpp"
16 |
17 | #endif // MSGPACK_ZONE_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/fusion.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_FUSION_HPP
11 | #define MSGPACK_TYPE_BOOST_FUSION_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/boost/fusion.hpp"
14 |
15 | #endif // MSGPACK_TYPE_BOOST_FUSION_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/pack.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ serializing routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_PACK_HPP
11 | #define MSGPACK_PACK_HPP
12 |
13 | #include "rpc/msgpack/pack_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/pack.hpp"
16 |
17 | #endif // MSGPACK_PACK_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/hardware.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Charly Chevalier 2015
3 | Copyright Joel Falcou 2015
4 | Distributed under the Boost Software License, Version 1.0.
5 | (See accompanying file LICENSE_1_0.txt or copy at
6 | http://www.boost.org/LICENSE_1_0.txt)
7 | */
8 |
9 | #if !defined(MSGPACK_PREDEF_HARDWARE_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
10 | #ifndef MSGPACK_PREDEF_HARDWARE_H
11 | #define MSGPACK_PREDEF_HARDWARE_H
12 | #endif
13 |
14 | #include
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/array.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_HPP
12 | #define MSGPACK_TYPE_CPP11_ARRAY_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/array.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/tuple.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_TUPLE_HPP
12 | #define MSGPACK_TYPE_CPP11_TUPLE_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/tuple.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_TUPLE_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/other.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2013-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #if !defined(MSGPACK_PREDEF_OTHER_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
9 | #ifndef MSGPACK_PREDEF_OTHER_H
10 | #define MSGPACK_PREDEF_OTHER_H
11 | #endif
12 |
13 | #include
14 | /*#include */
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/optional.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_OPTIONAL_HPP
11 | #define MSGPACK_TYPE_BOOST_OPTIONAL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/boost/optional.hpp"
14 |
15 | #endif // MSGPACK_TYPE_BOOST_OPTIONAL_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/int.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_INT_HPP
11 | #define MSGPACK_TYPE_INT_HPP
12 |
13 | #include "rpc/msgpack/adaptor/int_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/int.hpp"
16 |
17 | #endif // MSGPACK_TYPE_INT_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/iterator.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 MIZUKI Hirata
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_ITERATOR_HPP
12 | #define MSGPACK_ITERATOR_HPP
13 |
14 | #include
15 |
16 | #include
17 |
18 | #endif // MSGPACK_ITERATOR_HPP
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/meta_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_META_DECL_HPP
12 | #define MSGPACK_META_DECL_HPP
13 |
14 | #include "rpc/msgpack/v1/meta_decl.hpp"
15 | #include "rpc/msgpack/v2/meta_decl.hpp"
16 |
17 | #endif // MSGPACK_META_DECL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/pack_define.h:
--------------------------------------------------------------------------------
1 | /*
2 | * MessagePack unpacking routine template
3 | *
4 | * Copyright (C) 2008-2010 FURUHASHI Sadayuki
5 | *
6 | * Distributed under the Boost Software License, Version 1.0.
7 | * (See accompanying file LICENSE_1_0.txt or copy at
8 | * http://www.boost.org/LICENSE_1_0.txt)
9 | */
10 | #ifndef MSGPACK_PACK_DEFINE_H
11 | #define MSGPACK_PACK_DEFINE_H
12 |
13 | #include "rpc/msgpack/sysdep.h"
14 | #include
15 | #include
16 |
17 | #endif /* msgpack/pack_define.h */
18 |
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/library.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #if !defined(MSGPACK_PREDEF_LIBRARY_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
9 | #ifndef MSGPACK_PREDEF_LIBRARY_H
10 | #define MSGPACK_PREDEF_LIBRARY_H
11 | #endif
12 |
13 | #include
14 | #include
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/unpack_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deserializing routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_UNPACK_DECL_HPP
11 | #define MSGPACK_UNPACK_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/unpack_decl.hpp"
14 | #include "rpc/msgpack/v2/unpack_decl.hpp"
15 |
16 | #endif // MSGPACK_UNPACK_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/ext.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_EXT_HPP
11 | #define MSGPACK_TYPE_EXT_HPP
12 |
13 | #include "rpc/msgpack/adaptor/ext_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/ext.hpp"
16 |
17 | #endif // MSGPACK_TYPE_EXT_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/cpp_config.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ C++03/C++11 Adaptation
3 | //
4 | // Copyright (C) 2013-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_CPP_CONFIG_HPP
11 | #define MSGPACK_CPP_CONFIG_HPP
12 |
13 | #include "rpc/msgpack/cpp_config_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/cpp_config.hpp"
16 |
17 | #endif // MSGPACK_CPP_CONFIG_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/fbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ FILE* buffer adaptor
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_FBUFFER_DECL_HPP
11 | #define MSGPACK_FBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/fbuffer_decl.hpp"
14 | #include "rpc/msgpack/v2/fbuffer_decl.hpp"
15 |
16 | #endif // MSGPACK_FBUFFER_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/parse_return.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deserializing routine
3 | //
4 | // Copyright (C) 2017 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_PARSE_RETURN_HPP
11 | #define MSGPACK_PARSE_RETURN_HPP
12 |
13 | #include "rpc/msgpack/v1/parse_return.hpp"
14 | #include "rpc/msgpack/v2/parse_return.hpp"
15 |
16 | #endif // MSGPACK_PARSE_RETURN_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/string_ref.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_STRING_REF_HPP
11 | #define MSGPACK_TYPE_BOOST_STRING_REF_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/boost/string_ref.hpp"
14 |
15 | #endif // MSGPACK_TYPE_BOOST_STRING_REF_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp17/optional.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2017 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP17_OPTIONAL_HPP
12 | #define MSGPACK_TYPE_CPP17_OPTIONAL_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp17/optional.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP17_OPTIONAL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/object_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_OBJECT_DECL_HPP
12 | #define MSGPACK_OBJECT_DECL_HPP
13 |
14 | #include "rpc/msgpack/v1/object_decl.hpp"
15 | #include "rpc/msgpack/v2/object_decl.hpp"
16 |
17 | #endif // MSGPACK_OBJECT_DECL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/string_view.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2017 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_STRING_VIEW_HPP
11 | #define MSGPACK_TYPE_BOOST_STRING_VIEW_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/boost/string_view.hpp"
14 |
15 | #endif // MSGPACK_TYPE_BOOST_STRING_VIEW_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/zbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deflate buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ZBUFFER_DECL_HPP
11 | #define MSGPACK_ZBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/zbuffer_decl.hpp"
14 | #include "rpc/msgpack/v2/zbuffer_decl.hpp"
15 |
16 | #endif // MSGPACK_ZBUFFER_DECL_HPP
17 |
--------------------------------------------------------------------------------
/lib/rpc/this_session.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/this_session.h"
2 |
3 | namespace rpc
4 | {
5 |
6 | this_session_t &this_session() {
7 | static thread_local this_session_t instance;
8 | return instance;
9 | }
10 |
11 | void this_session_t::post_exit() {
12 | exit_ = true;
13 | }
14 |
15 | void this_session_t::clear() {
16 | exit_ = false;
17 | }
18 |
19 | session_id_t this_session_t::id() const {
20 | return id_;
21 | }
22 |
23 | void this_session_t::set_id(session_id_t value) {
24 | id_ = value;
25 | }
26 |
27 |
28 | } /* rpc */
29 |
--------------------------------------------------------------------------------
/include/rpc/detail/any.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef ANY_H_4G3QUOAN
4 | #define ANY_H_4G3QUOAN
5 |
6 | #include "rpc/detail/invoke.h"
7 | #include "rpc/detail/if.h"
8 | #include "rpc/detail/bool.h"
9 |
10 | namespace rpc {
11 | namespace detail {
12 |
13 | //! \brief Evaluates to true_type if any of its arguments is true_type.
14 | template struct any : false_ {};
15 |
16 | template
17 | struct any : if_> {};
18 | }
19 | }
20 |
21 | #endif /* end of include guard: ANY_H_4G3QUOAN */
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/array_char.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP
12 | #define MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/array_char.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_CHAR_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/shared_ptr.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_SHARED_PTR_HPP
12 | #define MSGPACK_TYPE_CPP11_SHARED_PTR_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/shared_ptr.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_SHARED_PTR_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/unique_ptr.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP
12 | #define MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/unique_ptr.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_UNIQUE_PTR_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/sbuffer.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ simple buffer implementation
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_SBUFFER_HPP
11 | #define MSGPACK_SBUFFER_HPP
12 |
13 | #include "rpc/msgpack/sbuffer_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/sbuffer.hpp"
16 |
17 | #endif // MSGPACK_SBUFFER_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/sbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ simple buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_SBUFFER_DECL_HPP
11 | #define MSGPACK_SBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/sbuffer_decl.hpp"
14 | #include "rpc/msgpack/v2/sbuffer_decl.hpp"
15 |
16 |
17 | #endif // MSGPACK_SBUFFER_DECL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/zbuffer.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deflate buffer implementation
3 | //
4 | // Copyright (C) 2010-2013 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ZBUFFER_HPP
11 | #define MSGPACK_ZBUFFER_HPP
12 |
13 | #include "rpc/msgpack/zbuffer_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/zbuffer.hpp"
16 |
17 | #endif // MSGPACK_ZBUFFER_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp17/string_view.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2017 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP17_STRING_VIEW_HPP
12 | #define MSGPACK_TYPE_CPP17_STRING_VIEW_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp17/string_view.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP17_STRING_VIEW_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/ext_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_EXT_DECL_HPP
11 | #define MSGPACK_TYPE_EXT_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/ext_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/ext_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_EXT_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/int_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_INT_DECL_HPP
11 | #define MSGPACK_TYPE_INT_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/int_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/int_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_INT_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/nil_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_NIL_DECL_HPP
11 | #define MSGPACK_TYPE_NIL_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/nil_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/nil_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_NIL_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_RAW_DECL_HPP
11 | #define MSGPACK_TYPE_RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/raw_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/raw_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_RAW_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/cpp_config_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ C++03/C++11 Adaptation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_CPP_CONFIG_DECL_HPP
11 | #define MSGPACK_CPP_CONFIG_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/cpp_config_decl.hpp"
14 | #include "rpc/msgpack/v2/cpp_config_decl.hpp"
15 |
16 | #endif // MSGPACK_CPP_CONFIG_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/iterator_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_ITERATOR_DECL_HPP
12 | #define MSGPACK_ITERATOR_DECL_HPP
13 |
14 | #include
15 | #include
16 |
17 | #endif // MSGPACK_V1_ITERATOR_DECL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/forward_list.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP
12 | #define MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/forward_list.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_FORWARD_LIST_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/nil.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_NIL_HPP
11 | #define MSGPACK_TYPE_NIL_HPP
12 |
13 | #include "rpc/msgpack/adaptor/nil_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/nil.hpp"
16 |
17 | #endif // MSGPACK_TYPE_NIL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/raw.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_RAW_HPP
11 | #define MSGPACK_TYPE_RAW_HPP
12 |
13 | #include "rpc/msgpack/adaptor/raw_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/raw.hpp"
16 |
17 | #endif // MSGPACK_TYPE_RAW_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/vector_unsigned_char.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_VECTOR_UNSIGNED_CHAR_HPP
11 | #define MSGPACK_TYPE_VECTOR_UNSIGNED_CHAR_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/vector_unsigned_char.hpp"
14 |
15 | #endif // MSGPACK_TYPE_VECTOR_UNSIGNED_CHAR_HPP
16 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/unordered_map.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP
12 | #define MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/unordered_map.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_UNORDERED_MAP_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/unordered_set.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP
12 | #define MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/unordered_set.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_UNORDERED_SET_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/define.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_DEFINE_HPP
11 | #define MSGPACK_DEFINE_HPP
12 |
13 | #include "rpc/msgpack/adaptor/define_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/define.hpp"
16 |
17 | #endif // MSGPACK_DEFINE_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/map.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_MAP_HPP
11 | #define MSGPACK_TYPE_MAP_HPP
12 |
13 | #include "rpc/msgpack/adaptor/map_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/map.hpp"
16 |
17 |
18 | #endif // MSGPACK_TYPE_MAP_HPP
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/v4raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_V4RAW_DECL_HPP
11 | #define MSGPACK_TYPE_V4RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/v4raw_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/v4raw_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_V4RAW_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/object_fwd_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_OBJECT_FWD_DECL_HPP
12 | #define MSGPACK_OBJECT_FWD_DECL_HPP
13 |
14 | #include "rpc/msgpack/v1/object_fwd_decl.hpp"
15 | #include "rpc/msgpack/v2/object_fwd_decl.hpp"
16 |
17 | #endif // MSGPACK_OBJECT_FWD_DECL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/vrefbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ zero-copy buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_VREFBUFFER_DECL_HPP
11 | #define MSGPACK_VREFBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/vrefbuffer_decl.hpp"
14 | #include "rpc/msgpack/v2/vrefbuffer_decl.hpp"
15 |
16 | #endif // MSGPACK_VREFBUFFER_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/v4raw.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_V4RAW_HPP
11 | #define MSGPACK_TYPE_V4RAW_HPP
12 |
13 | #include "rpc/msgpack/adaptor/v4raw_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/v4raw.hpp"
16 |
17 | #endif // MSGPACK_TYPE_V4RAW_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/vrefbuffer.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ zero-copy buffer implementation
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_VREFBUFFER_HPP
11 | #define MSGPACK_VREFBUFFER_HPP
12 |
13 | #include "rpc/msgpack/vrefbuffer_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/vrefbuffer.hpp"
16 |
17 | #endif // MSGPACK_VREFBUFFER_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/detail/is_specialization_of.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef IS_SPECIALIZATION_OF_H_OPZTARVG
4 | #define IS_SPECIALIZATION_OF_H_OPZTARVG
5 |
6 | #include "rpc/detail/bool.h"
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | template class Templ, typename T>
12 | struct is_specialization_of : false_ {};
13 |
14 | template class Templ, typename... T>
15 | struct is_specialization_of> : true_ {};
16 |
17 | }
18 | } /* rpc */
19 |
20 | #endif /* end of include guard: IS_SPECIALIZATION_OF_H_OPZTARVG */
21 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/fixint.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_FIXINT_HPP
11 | #define MSGPACK_TYPE_FIXINT_HPP
12 |
13 | #include "rpc/msgpack/adaptor/fixint_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/fixint.hpp"
16 |
17 | #endif // MSGPACK_TYPE_FIXINT_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/detail/util.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef UTIL_H_YRIZ63UJ
4 | #define UTIL_H_YRIZ63UJ
5 |
6 | #include "rpc/msgpack.hpp"
7 | #include "rpc/detail/make_unique.h"
8 |
9 | namespace rpc {
10 | namespace detail {
11 | template RPCLIB_MSGPACK::object_handle pack(T &&o) {
12 | auto z = rpc::detail::make_unique();
13 | RPCLIB_MSGPACK::object obj(std::forward(o), *z);
14 | return RPCLIB_MSGPACK::object_handle(obj, std::move(z));
15 | }
16 | } /* detail */
17 | } /* rpc */
18 |
19 | #endif /* end of include guard: UTIL_H_YRIZ63UJ */
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/map_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_MAP_DECL_HPP
11 | #define MSGPACK_TYPE_MAP_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/map_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/map_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_MAP_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/object.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_OBJECT_HPP
11 | #define MSGPACK_OBJECT_HPP
12 |
13 | #include "rpc/msgpack/object_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/object.hpp"
16 | #include "rpc/msgpack/v2/object.hpp"
17 |
18 | #endif // MSGPACK_OBJECT_HPP
19 |
--------------------------------------------------------------------------------
/dependencies/include/asio/yield.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // yield.hpp
3 | // ~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #include "coroutine.hpp"
12 |
13 | #ifndef reenter
14 | # define reenter(c) ASIO_CORO_REENTER(c)
15 | #endif
16 |
17 | #ifndef yield
18 | # define yield ASIO_CORO_YIELD
19 | #endif
20 |
21 | #ifndef fork
22 | # define fork ASIO_CORO_FORK
23 | #endif
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/reference_wrapper.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP
12 | #define MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_REFERENCE_WRAPPER_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/adaptor_base_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ADAPTOR_BASE_DECL_HPP
11 | #define MSGPACK_ADAPTOR_BASE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/adaptor_base_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/adaptor_base_decl.hpp"
15 |
16 | #endif // MSGPACK_ADAPTOR_BASE_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/array_ref.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_ARRAY_REF_HPP
11 | #define MSGPACK_TYPE_ARRAY_REF_HPP
12 |
13 | #include "rpc/msgpack/adaptor/array_ref_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/array_ref.hpp"
16 |
17 | #endif // MSGPACK_TYPE_ARRAY_REFL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/cpp11/array_unsigned_char.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP
12 | #define MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP
13 |
14 | #include "rpc/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp"
15 |
16 | #endif // MSGPACK_TYPE_CPP11_ARRAY_UNSIGNED_CHAR_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/fixint_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_FIXINT_DECL_HPP
11 | #define MSGPACK_TYPE_FIXINT_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/fixint_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/fixint_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_FIXINT_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/language.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2011-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #if !defined(MSGPACK_PREDEF_LANGUAGE_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
9 | #ifndef MSGPACK_PREDEF_LANGUAGE_H
10 | #define MSGPACK_PREDEF_LANGUAGE_H
11 | #endif
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/msgpack_tuple_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_MSGPACK_TUPLE_DECL_HPP
11 | #define MSGPACK_MSGPACK_TUPLE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/msgpack_tuple_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/msgpack_tuple_decl.hpp"
15 |
16 | #endif // MSGPACK_MSGPACK_TUPLE_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org/libs/preprocessor for documentation. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_HPP
15 | # define MSGPACK_PREPROCESSOR_HPP
16 | #
17 | # include
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/preprocessor.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org/libs/preprocessor for documentation. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_HPP
15 | # define MSGPACK_PREPROCESSOR_HPP
16 | #
17 | # include
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/msgpack_tuple.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_MSGPACK_TUPLE_HPP
11 | #define MSGPACK_MSGPACK_TUPLE_HPP
12 |
13 | #include "rpc/msgpack/adaptor/msgpack_tuple_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/msgpack_tuple.hpp"
16 |
17 | #endif // MSGPACK_MSGPACK_TUPLE_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/size_equal_only.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_SIZE_EQUAL_ONLY_HPP
11 | #define MSGPACK_TYPE_SIZE_EQUAL_ONLY_HPP
12 |
13 | #include "rpc/msgpack/adaptor/size_equal_only_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/size_equal_only.hpp"
16 |
17 | #endif // MSGPACK_TYPE_SIZE_EQUAL_ONLYL_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/detail/func_tools.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef FUNC_TOOLS_H_9FNRD4G2
4 | #define FUNC_TOOLS_H_9FNRD4G2
5 |
6 | #include "rpc/detail/invoke.h"
7 | #include "rpc/detail/all.h"
8 | #include "rpc/detail/any.h"
9 |
10 | namespace rpc {
11 | namespace detail {
12 |
13 |
14 | enum class enabled {};
15 |
16 | template
17 | using enable_if = invoke::value, enabled>>;
18 |
19 | template
20 | using disable_if = invoke::value, enabled>>;
21 |
22 |
23 | }
24 | }
25 |
26 | #endif /* end of include guard: FUNC_TOOLS_H_9FNRD4G2 */
27 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/object_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_OBJECT_FWD_HPP
12 | #define MSGPACK_OBJECT_FWD_HPP
13 |
14 | #include "rpc/msgpack/object_fwd_decl.hpp"
15 |
16 | #include "rpc/msgpack/v1/object_fwd.hpp"
17 | #include "rpc/msgpack/v2/object_fwd.hpp"
18 |
19 | #endif // MSGPACK_OBJECT_FWD_HPP
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/array_ref_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_ARRAY_REF_DECL_HPP
11 | #define MSGPACK_TYPE_ARRAY_REF_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/array_ref_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/array_ref_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_ARRAY_REF_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/unpack.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deserializing routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_UNPACK_HPP
11 | #define MSGPACK_UNPACK_HPP
12 |
13 | #include "rpc/msgpack/unpack_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/unpack.hpp"
16 | #include "rpc/msgpack/v2/unpack.hpp"
17 | #include "rpc/msgpack/v2/x3_unpack.hpp"
18 |
19 | #endif // MSGPACK_UNPACK_HPP
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/check_container_size.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_CHECK_CONTAINER_SIZE_HPP
11 | #define MSGPACK_CHECK_CONTAINER_SIZE_HPP
12 |
13 | #include "rpc/msgpack/adaptor/check_container_size_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/check_container_size.hpp"
16 |
17 | #endif // MSGPACK_CHECK_CONTAINER_SIZE_HPP
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/size_equal_only_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
11 | #define MSGPACK_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/size_equal_only_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/size_equal_only_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/detail/all.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef ALL_H_H8MAAYCG
4 | #define ALL_H_H8MAAYCG
5 |
6 | #include "rpc/detail/invoke.h"
7 | #include "rpc/detail/if.h"
8 | #include "rpc/detail/bool.h"
9 |
10 | namespace rpc {
11 | namespace detail {
12 |
13 | //! \brief This type can be used to check multiple conditions.
14 | //! It will be true_type if all its arguments are true.
15 | template struct all : true_ {};
16 |
17 | template
18 | struct all
19 | : if_, false_> {};
20 |
21 | }
22 | }
23 |
24 |
25 |
26 | #endif /* end of include guard: ALL_H_H8MAAYCG */
27 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/adaptor_base.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_ADAPTOR_BASE_HPP
11 | #define MSGPACK_ADAPTOR_BASE_HPP
12 |
13 | #include "rpc/msgpack/adaptor/adaptor_base_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/adaptor_base.hpp"
16 | #include "rpc/msgpack/v2/adaptor/adaptor_base.hpp"
17 |
18 | #endif // MSGPACK_ADAPTOR_BASE_HPP
19 |
--------------------------------------------------------------------------------
/examples/client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.0.0)
2 | project(client)
3 |
4 | # Normally, you would want to distribute Findrpclib.cmake
5 | # within your project directory; I wanted to avoid copies
6 | # of this file here, so I'm just setting the CMake module path.
7 | # In your project, you don't need the following line:
8 | set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../cmake")
9 | find_package(rpclib REQUIRED)
10 |
11 | include_directories(${RPCLIB_INCLUDE_DIR})
12 |
13 | add_executable(client main.cc)
14 | target_link_libraries(client ${RPCLIB_LIBS})
15 | set_property(TARGET client PROPERTY CXX_STANDARD 14)
16 |
17 |
--------------------------------------------------------------------------------
/utils/reninclude.py:
--------------------------------------------------------------------------------
1 | #! python3
2 |
3 | # This is a terrible script that changes the include paths
4 | # in shipped dependencies.
5 |
6 | import fileinput
7 | import glob2
8 | import re
9 |
10 | files = []
11 | types = ['.cpp', '.cc', '.h', '.hpp', '.hh', '.ipp', '.inl']
12 | for t in types:
13 | files.extend(glob2.glob('include/**/*' + t))
14 |
15 | for f in files:
16 | print('Processing', f)
17 | with fileinput.FileInput(f, inplace=True) as fi:
18 | for line in fi:
19 | line = re.sub('#(\s*)include (<|")(msgpack)', '#\\1include \\2rpc/\\3', line)
20 | print(line, end='')
21 |
22 | print('done')
23 |
--------------------------------------------------------------------------------
/examples/server/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.0.0)
2 | project(server)
3 |
4 | # Normally, you would want to distribute Findrpclib.cmake
5 | # within your project directory; I wanted to avoid copies
6 | # of this file here, so I'm just setting the CMake module path.
7 | # In your project, you don't need the following line:
8 | #set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../cmake")
9 |
10 | find_package(rpclib REQUIRED)
11 |
12 | include_directories(${RPCLIB_INCLUDE_DIR})
13 |
14 | add_executable(server main.cc)
15 | target_link_libraries(server ${RPCLIB_LIBS})
16 | set_property(TARGET server PROPERTY CXX_STANDARD 14)
17 |
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/check_container_size_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_CHECK_CONTAINER_SIZE_DECL_HPP
11 | #define MSGPACK_CHECK_CONTAINER_SIZE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/check_container_size_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/check_container_size_decl.hpp"
15 |
16 | #endif // MSGPACK_CHECK_CONTAINER_SIZE_DECL_HPP
17 |
--------------------------------------------------------------------------------
/utils/make_pack.py:
--------------------------------------------------------------------------------
1 | #! python2
2 |
3 | # This is used to generate binary msgpack-rpc calls for the
4 | # unit tests.
5 |
6 | import msgpack
7 |
8 | def make_pack(call):
9 | s = msgpack.packb(call)
10 | return ''.join(map(lambda c:'\\x%02x'%c, map(ord, s)))
11 |
12 | calls = [
13 | [0, 0, 'dummy_void_zeroarg', []],
14 | [0, 0, 'dummy_void_singlearg', [42]],
15 | [0, 0, 'dummy_void_multiarg', [363, 12]],
16 | [0, 0, 'dummy_void_singlearg', []],
17 | [0, 0, 'dummy_void_singlearg', [42, 43]],
18 | ]
19 |
20 | for c in calls:
21 | pack = make_pack(c)
22 | print 'const unsigned char raw_msg[] = "{}";'.format(pack)
23 |
24 |
--------------------------------------------------------------------------------
/doc/pages/glossary.md:
--------------------------------------------------------------------------------
1 | This is a collection of terms used in the documentation and API of rpclib.
2 |
3 | ### Server
4 |
5 | A program that acts as an RPC endpoint receiving calls.
6 |
7 | ### Client
8 |
9 | A program that connects to Servers and calls their bound functions.
10 |
11 | ### Binding
12 |
13 | Exposing a functor of the Server with a name.
14 |
15 | ### Handler
16 |
17 | A bound functor.
18 |
19 | ### Function
20 |
21 | The documentation sometimes uses the terms function and functor interchangeably. In these cases,
22 | both refer to "things that can be called"
23 |
24 | ### Worker
25 |
26 | A thread that performes work in the Server.
27 |
28 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/punctuation/comma.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_HPP
15 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_COMMA_HPP
16 | #
17 | # /* MSGPACK_PP_COMMA */
18 | #
19 | # define MSGPACK_PP_COMMA() ,
20 | #
21 | # endif
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/msgpack_variant_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP
11 | #define MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp"
14 | #include "rpc/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp"
15 |
16 | #endif // MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_DECL_HPP
17 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/gcc_atomic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Distributed under the Boost Software License, Version 1.0.
3 | * (See accompanying file LICENSE_1_0.txt or copy at
4 | * http://www.boost.org/LICENSE_1_0.txt)
5 | */
6 |
7 | #ifndef MSGPACK_GCC_ATOMIC_H
8 | #define MSGPACK_GCC_ATOMIC_H
9 |
10 | #if defined(__cplusplus)
11 | extern "C" {
12 | #endif
13 |
14 | typedef int _msgpack_atomic_counter_t;
15 |
16 | int _msgpack_sync_decr_and_fetch(volatile _msgpack_atomic_counter_t* ptr);
17 | int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr);
18 |
19 |
20 | #if defined(__cplusplus)
21 | }
22 | #endif
23 |
24 |
25 | #endif // MSGPACK_GCC_ATOMIC_H
26 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | version: 1.0.{build}
2 | os: Visual Studio 2015
3 | clone_folder: C:\projects\rpc
4 | test: off
5 |
6 | branches:
7 | only:
8 | - master
9 | - dev
10 |
11 | configuration:
12 | - Release
13 |
14 | environment:
15 | matrix:
16 | - CMAKE_PLATFORM: "Visual Studio 14 2015"
17 | #- CMAKE_PLATFORM: "Visual Studio 15 2017"
18 |
19 | install: true
20 |
21 | build_script:
22 | - cd c:\projects\rpc
23 | - git submodule init
24 | - git submodule update --init --recursive
25 | - md build
26 | - cd build
27 | - cmake -DRPCLIB_BUILD_TESTS=ON -G "%CMAKE_PLATFORM%" ..
28 | - cmake --build . --config %CONFIGURATION%
29 | - .\tests\Release\rpc_test.exe
30 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/zone.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_ZONE_HPP
11 | #define MSGPACK_V1_ZONE_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v1/detail/cpp03_zone.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v1/detail/cpp11_zone.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V1_ZONE_HPP
22 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/toc.html:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/include/rpc/detail/make_unique.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef MAKE_UNIQUE_H_FOOBAR
4 | #define MAKE_UNIQUE_H_FOOBAR
5 |
6 | #include
7 |
8 | namespace rpc {
9 | namespace detail {
10 |
11 | // Default behaviour is to assume C++11, overriding RPCLIB_CXX_STANDARD can use
12 | // newer standards:
13 | #if RPCLIB_CXX_STANDARD >= 14
14 |
15 | using std::make_unique;
16 |
17 | #else
18 |
19 | template
20 | std::unique_ptr make_unique(Ts&&... params)
21 | {
22 | return std::unique_ptr(new T(std::forward(params)...));
23 | }
24 |
25 | #endif
26 |
27 | } /* detail */
28 | } /* rpc */
29 |
30 | #endif /* end of include guard: MAKE_UNIQUE_H_FOOBAR */
31 |
32 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/library/c.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #if !defined(MSGPACK_PREDEF_LIBRARY_C_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
9 | #ifndef MSGPACK_PREDEF_LIBRARY_C_H
10 | #define MSGPACK_PREDEF_LIBRARY_C_H
11 | #endif
12 |
13 | #include
14 |
15 | #include
16 | #include
17 | #include
18 | #include
19 |
20 | #endif
21 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/adaptor/boost/msgpack_variant.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_HPP
11 | #define MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_HPP
12 |
13 | #include "rpc/msgpack/adaptor/boost/msgpack_variant_decl.hpp"
14 |
15 | #include "rpc/msgpack/v1/adaptor/boost/msgpack_variant.hpp"
16 | //#include "rpc/msgpack/v2/adaptor/boost/msgpack_variant.hpp"
17 |
18 | #endif // MSGPACK_TYPE_BOOST_MSGPACK_VARIANT_HPP
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/facilities/empty.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_EMPTY_HPP
15 | # define MSGPACK_PREPROCESSOR_FACILITIES_EMPTY_HPP
16 | #
17 | # include
18 | #
19 | # /* MSGPACK_PP_EMPTY */
20 | #
21 | # define MSGPACK_PP_EMPTY()
22 | #
23 | # endif
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/zone_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_ZONE_DECL_HPP
11 | #define MSGPACK_V1_ZONE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v1/detail/cpp03_zone_decl.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v1/detail/cpp11_zone_decl.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V1_ZONE_DECL_HPP
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/zone_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_ZONE_DECL_HPP
11 | #define MSGPACK_V2_ZONE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v2/detail/cpp03_zone_decl.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v2/detail/cpp11_zone_decl.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V2_ZONE_DECL_HPP
22 |
--------------------------------------------------------------------------------
/lib/rpc/this_handler.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/this_handler.h"
2 |
3 | namespace rpc {
4 |
5 | this_handler_t &this_handler() {
6 | #ifdef __clang__
7 | #pragma clang diagnostic push
8 | #pragma clang diagnostic ignored "-Wexit-time-destructors"
9 | #endif
10 | static thread_local this_handler_t instance;
11 | #ifdef __clang__
12 | #pragma clang diagnostic pop
13 | #endif
14 | return instance;
15 | }
16 |
17 | void this_handler_t::disable_response() { resp_enabled_ = false; }
18 |
19 | void this_handler_t::enable_response() { resp_enabled_ = true; }
20 |
21 | void this_handler_t::clear() {
22 | error_.set(RPCLIB_MSGPACK::object());
23 | resp_.set(RPCLIB_MSGPACK::object());
24 | enable_response();
25 | }
26 |
27 | } /* rpc */
28 |
--------------------------------------------------------------------------------
/dependencies/include/asio/version.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // version.hpp
3 | // ~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_VERSION_HPP
12 | #define ASIO_VERSION_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | // ASIO_VERSION % 100 is the sub-minor version
19 | // ASIO_VERSION / 100 % 1000 is the minor version
20 | // ASIO_VERSION / 100000 is the major version
21 | #define ASIO_VERSION 101006 // 1.10.6
22 |
23 | #endif // ASIO_VERSION_HPP
24 |
--------------------------------------------------------------------------------
/dependencies/include/asio/buffered_stream_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // buffered_stream_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_BUFFERED_STREAM_FWD_HPP
12 | #define ASIO_BUFFERED_STREAM_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | namespace clmdep_asio {
19 |
20 | template
21 | class buffered_stream;
22 |
23 | } // namespace clmdep_asio
24 |
25 | #endif // ASIO_BUFFERED_STREAM_FWD_HPP
26 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/zbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deflate buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_ZBUFFER_DECL_HPP
11 | #define MSGPACK_V2_ZBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/zbuffer_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | using v1::zbuffer;
22 |
23 | /// @cond
24 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
25 | /// @endcond
26 |
27 | } // namespace clmdep_msgpack
28 |
29 | #endif // MSGPACK_V2_ZBUFFER_DECL_HPP
30 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/detail/endian_compat.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2013
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #ifndef MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H
9 | #define MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H
10 |
11 | #include
12 |
13 | #if MSGPACK_ENDIAN_BIG_BYTE
14 | # define MSGPACK_BIG_ENDIAN
15 | # define MSGPACK_BYTE_ORDER 4321
16 | #endif
17 | #if MSGPACK_ENDIAN_LITTLE_BYTE
18 | # define MSGPACK_LITTLE_ENDIAN
19 | # define MSGPACK_BYTE_ORDER 1234
20 | #endif
21 | #if MSGPACK_ENDIAN_LITTLE_WORD
22 | # define MSGPACK_PDP_ENDIAN
23 | # define MSGPACK_BYTE_ORDER 2134
24 | #endif
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/msgpack_tuple.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_MSGPACK_TUPLE_HPP
11 | #define MSGPACK_V1_MSGPACK_TUPLE_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V1_MSGPACK_TUPLE_HPP
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/vrefbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ zero-copy buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_VREFBUFFER_DECL_HPP
11 | #define MSGPACK_V2_VREFBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/vrefbuffer_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | using v1::vrefbuffer;
22 |
23 | /// @cond
24 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
25 | /// @endcond
26 |
27 | } // namespace clmdep_msgpack
28 |
29 | #endif // MSGPACK_V2_VREFBUFFER_DECL_HPP
30 |
--------------------------------------------------------------------------------
/dependencies/include/asio/buffered_read_stream_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // buffered_read_stream_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_BUFFERED_READ_STREAM_FWD_HPP
12 | #define ASIO_BUFFERED_READ_STREAM_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | namespace clmdep_asio {
19 |
20 | template
21 | class buffered_read_stream;
22 |
23 | } // namespace clmdep_asio
24 |
25 | #endif // ASIO_BUFFERED_READ_STREAM_FWD_HPP
26 |
--------------------------------------------------------------------------------
/dependencies/include/asio/buffered_write_stream_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // buffered_write_stream_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_BUFFERED_WRITE_STREAM_FWD_HPP
12 | #define ASIO_BUFFERED_WRITE_STREAM_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | namespace clmdep_asio {
19 |
20 | template
21 | class buffered_write_stream;
22 |
23 | } // namespace clmdep_asio
24 |
25 | #endif // ASIO_BUFFERED_WRITE_STREAM_FWD_HPP
26 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/detail/cpp11_zone_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP11_ZONE_DECL_HPP
11 | #define MSGPACK_V2_CPP11_ZONE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/zone_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | using v1::zone;
22 |
23 | using v1::aligned_size;
24 |
25 | /// @cond
26 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
27 | /// @endcond
28 |
29 | } // namespace clmdep_msgpack
30 |
31 | #endif // MSGPACK_V2_CPP11_ZONE_DECL_HPP
32 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 |
8 | #if !defined(MSGPACK_PREDEF_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
9 | #ifndef MSGPACK_PREDEF_H
10 | #define MSGPACK_PREDEF_H
11 | #endif
12 |
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 | #include
21 |
22 | #include
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/msgpack_tuple_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_MSGPACK_TUPLE_DECL_HPP
11 | #define MSGPACK_V1_MSGPACK_TUPLE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V1_MSGPACK_TUPLE_DECL_HPP
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/msgpack_tuple_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_MSGPACK_TUPLE_DECL_HPP
11 | #define MSGPACK_V2_MSGPACK_TUPLE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp"
17 | #else // MSGPACK_USE_CPP03
18 | #include "rpc/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V2_MSGPACK_TUPLE_DECL_HPP
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/iterator_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_V2_ITERATOR_DECL_HPP
12 | #define MSGPACK_V2_ITERATOR_DECL_HPP
13 | #if !defined(MSGPACK_USE_CPP03)
14 |
15 | #include
16 |
17 | namespace clmdep_msgpack {
18 |
19 | /// @cond
20 | MSGPACK_API_VERSION_NAMESPACE(v2) {
21 | /// @endcond
22 |
23 | using v1::begin;
24 | using v1::end;
25 |
26 | /// @cond
27 | }
28 | /// @endcond
29 |
30 | }
31 |
32 | #endif // !defined(MSGPACK_USE_CPP03)
33 | #endif // MSGPACK_V2_ITERATOR_DECL_HPP
34 |
--------------------------------------------------------------------------------
/dependencies/include/asio/impl/src.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // impl/src.cpp
3 | // ~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #if defined(_MSC_VER) \
12 | || defined(__BORLANDC__) \
13 | || defined(__DMC__)
14 | # pragma message ( \
15 | "This file is deprecated. " \
16 | "Please #include instead.")
17 | #elif defined(__GNUC__) \
18 | || defined(__HP_aCC) \
19 | || defined(__SUNPRO_CC) \
20 | || defined(__IBMCPP__)
21 | # warning "This file is deprecated."
22 | # warning "Please #include instead."
23 | #endif
24 |
25 | #include "asio/impl/src.hpp"
26 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/css/styles/ascetic.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev
4 |
5 | */
6 |
7 | .hljs {
8 | display: block;
9 | overflow-x: auto;
10 | padding: 0.5em;
11 | background: white;
12 | color: black;
13 | }
14 |
15 | .hljs-string,
16 | .hljs-variable,
17 | .hljs-template-variable,
18 | .hljs-symbol,
19 | .hljs-bullet,
20 | .hljs-section,
21 | .hljs-addition,
22 | .hljs-attribute,
23 | .hljs-link {
24 | color: #888;
25 | }
26 |
27 | .hljs-comment,
28 | .hljs-quote,
29 | .hljs-meta,
30 | .hljs-deletion {
31 | color: #ccc;
32 | }
33 |
34 | .hljs-keyword,
35 | .hljs-selector-tag,
36 | .hljs-section,
37 | .hljs-name,
38 | .hljs-type,
39 | .hljs-strong {
40 | font-weight: bold;
41 | }
42 |
43 | .hljs-emphasis {
44 | font-style: italic;
45 | }
46 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/detail/cpp03_zone_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ memory pool
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP03_ZONE_DECL_HPP
11 | #define MSGPACK_V2_CPP03_ZONE_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/detail/cpp03_zone_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | using v1::zone;
22 |
23 | using v1::aligned_size;
24 |
25 | /// @cond
26 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
27 | /// @endcond
28 |
29 | } // namespace clmdep_msgpack
30 |
31 | #endif // MSGPACK_V2_CPP03_ZONE_DECL_HPP
32 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/platform.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2013-2015
3 | Copyright (c) Microsoft Corporation 2014
4 | Distributed under the Boost Software License, Version 1.0.
5 | (See accompanying file LICENSE_1_0.txt or copy at
6 | http://www.boost.org/LICENSE_1_0.txt)
7 | */
8 |
9 | #if !defined(MSGPACK_PREDEF_PLATFORM_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
10 | #ifndef MSGPACK_PREDEF_PLATFORM_H
11 | #define MSGPACK_PREDEF_PLATFORM_H
12 | #endif
13 |
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | /*#include */
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/detail/null.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_DETAIL_NULL_HPP
13 | # define MSGPACK_PREPROCESSOR_DETAIL_NULL_HPP
14 | #
15 | # /* empty file */
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/limits.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/limits.hpp
3 | // ~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_LIMITS_HPP
12 | #define ASIO_DETAIL_LIMITS_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | #if defined(ASIO_HAS_BOOST_LIMITS)
21 | # include
22 | #else // defined(ASIO_HAS_BOOST_LIMITS)
23 | # include
24 | #endif // defined(ASIO_HAS_BOOST_LIMITS)
25 |
26 | #endif // ASIO_DETAIL_LIMITS_HPP
27 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/if.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_IF_HPP
13 | # define MSGPACK_PREPROCESSOR_IF_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/dec.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_DEC_HPP
13 | # define MSGPACK_PREPROCESSOR_DEC_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/for.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_FOR_HPP
13 | # define MSGPACK_PREPROCESSOR_FOR_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/inc.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_INC_HPP
13 | # define MSGPACK_PREPROCESSOR_INC_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/max.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_MAX_HPP
13 | # define MSGPACK_PREPROCESSOR_MAX_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/min.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_MIN_HPP
13 | # define MSGPACK_PREPROCESSOR_MIN_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/slot.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_SLOT_HPP
13 | # define MSGPACK_PREPROCESSOR_SLOT_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/define.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_DEFINE_HPP
11 | #define MSGPACK_V1_DEFINE_HPP
12 |
13 | #if defined(MSGPACK_USE_CPP03)
14 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_array.hpp"
15 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_map.hpp"
16 | #else // MSGPACK_USE_CPP03
17 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_array.hpp"
18 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_map.hpp"
19 | #endif // MSGPACK_USE_CPP03
20 |
21 | #endif // MSGPACK_V1_DEFINE_HPP
22 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/object.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_OBJECT_HPP
11 | #define MSGPACK_V2_OBJECT_HPP
12 |
13 | #include "rpc/msgpack/object_fwd.hpp"
14 |
15 |
16 | namespace clmdep_msgpack {
17 |
18 | /// @cond
19 | MSGPACK_API_VERSION_NAMESPACE(v2) {
20 | /// @endcond
21 |
22 | inline object::implicit_type object::convert() const
23 | {
24 | return v1::object::convert();
25 | }
26 |
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
29 | /// @endcond
30 |
31 | } // namespace clmdep_msgpack
32 |
33 | #endif // MSGPACK_V2_OBJECT_HPP
34 |
--------------------------------------------------------------------------------
/dependencies/include/asio/signal_set.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // signal_set.hpp
3 | // ~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_SIGNAL_SET_HPP
12 | #define ASIO_SIGNAL_SET_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 | #include "asio/basic_signal_set.hpp"
20 |
21 | namespace clmdep_asio {
22 |
23 | /// Typedef for the typical usage of a signal set.
24 | typedef basic_signal_set<> signal_set;
25 |
26 | } // namespace clmdep_asio
27 |
28 | #endif // ASIO_SIGNAL_SET_HPP
29 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/while.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_WHILE_HPP
13 | # define MSGPACK_PREPROCESSOR_WHILE_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/fbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ FILE* buffer adaptor
3 | //
4 | // Copyright (C) 2013-2016 Vladimir Volodko and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_FBUFFER_DECL_HPP
11 | #define MSGPACK_V1_FBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #include
16 | #include
17 |
18 | namespace clmdep_msgpack {
19 |
20 | /// @cond
21 | MSGPACK_API_VERSION_NAMESPACE(v1) {
22 | /// @endcond
23 |
24 | class fbuffer;
25 |
26 | /// @cond
27 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
28 | /// @endcond
29 |
30 | } // namespace clmdep_msgpack
31 |
32 | #endif // MSGPACK_V1_FBUFFER_DECL_HPP
33 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/comma.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_COMMA_HPP
13 | # define MSGPACK_PREPROCESSOR_COMMA_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/empty.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_EMPTY_HPP
13 | # define MSGPACK_PREPROCESSOR_EMPTY_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/limits.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_LIMITS_HPP
13 | # define MSGPACK_PREPROCESSOR_LIMITS_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_RAW_DECL_HPP
11 | #define MSGPACK_V2_TYPE_RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/raw_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | namespace type {
22 |
23 | using v1::type::raw_ref;
24 |
25 | } // namespace type
26 |
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
29 | /// @endcond
30 |
31 | } // namespace clmdep_msgpack
32 |
33 | #endif // MSGPACK_V2_TYPE_RAW_DECL_HPP
34 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/expand.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_EXPAND_HPP
13 | # define MSGPACK_PREPROCESSOR_EXPAND_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/expr_if.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_EXPR_IF_HPP
13 | # define MSGPACK_PREPROCESSOR_EXPR_IF_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/iterate.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ITERATE_HPP
13 | # define MSGPACK_PREPROCESSOR_ITERATE_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/fbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ FILE* buffer adaptor
3 | //
4 | // Copyright (C) 2013-2016 Vladimir Volodko and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_FBUFFER_DECL_HPP
11 | #define MSGPACK_V2_FBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/fbuffer_decl.hpp"
14 |
15 | #include
16 | #include
17 |
18 | namespace clmdep_msgpack {
19 |
20 | /// @cond
21 | MSGPACK_API_VERSION_NAMESPACE(v2) {
22 | /// @endcond
23 |
24 | using v1::fbuffer;
25 |
26 | /// @cond
27 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
28 | /// @endcond
29 |
30 | } // namespace clmdep_msgpack
31 |
32 | #endif // MSGPACK_V2_FBUFFER_DECL_HPP
33 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/assert_msg.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ASSERT_MSG_HPP
13 | # define MSGPACK_PREPROCESSOR_ASSERT_MSG_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/comma_if.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_COMMA_IF_HPP
13 | # define MSGPACK_PREPROCESSOR_COMMA_IF_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/identity.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_IDENTITY_HPP
13 | # define MSGPACK_PREPROCESSOR_IDENTITY_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/map_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_MAP_DECL_HPP
11 | #define MSGPACK_V2_TYPE_MAP_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/map_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | namespace type {
22 |
23 | using v1::type::assoc_vector;
24 |
25 | } //namespace type
26 |
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
29 | /// @endcond
30 |
31 | } // namespace clmdep_msgpack
32 |
33 | #endif // MSGPACK_V2_TYPE_MAP_DECL_HPP
34 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat_2nd.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_2ND_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_2ND_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat_3rd.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_3RD_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_3RD_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/fbuffer.h:
--------------------------------------------------------------------------------
1 | /*
2 | * MessagePack for C FILE* buffer adaptor
3 | *
4 | * Copyright (C) 2013 Vladimir Volodko
5 | *
6 | * Distributed under the Boost Software License, Version 1.0.
7 | * (See accompanying file LICENSE_1_0.txt or copy at
8 | * http://www.boost.org/LICENSE_1_0.txt)
9 | */
10 | #ifndef MSGPACK_FBUFFER_H
11 | #define MSGPACK_FBUFFER_H
12 |
13 | #include
14 |
15 | #ifdef __cplusplus
16 | extern "C" {
17 | #endif
18 |
19 |
20 | /**
21 | * @defgroup msgpack_fbuffer FILE* buffer
22 | * @ingroup msgpack_buffer
23 | * @{
24 | */
25 |
26 | static inline int msgpack_fbuffer_write(void* data, const char* buf, size_t len)
27 | {
28 | return (len == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
29 | }
30 |
31 | /** @} */
32 |
33 |
34 | #ifdef __cplusplus
35 | }
36 | #endif
37 |
38 | #endif /* msgpack/fbuffer.h */
39 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum_params.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum_shifted.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_SHIFTED_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_SHIFTED_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/ext_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_EXT_DECL_HPP
11 | #define MSGPACK_V2_TYPE_EXT_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/ext_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | namespace type {
22 |
23 | using v1::type::ext_ref;
24 | using v1::type::ext;
25 |
26 | } // namespace type
27 |
28 | /// @cond
29 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
30 | /// @endcond
31 |
32 | } // namespace clmdep_msgpack
33 |
34 | #endif // MSGPACK_V2_TYPE_EXT_DECL_HPP
35 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/sbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ simple buffer implementation
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_SBUFFER_DECL_HPP
11 | #define MSGPACK_V2_SBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #ifndef MSGPACK_SBUFFER_INIT_SIZE
16 | #define MSGPACK_SBUFFER_INIT_SIZE 8192
17 | #endif
18 |
19 | namespace clmdep_msgpack {
20 |
21 | /// @cond
22 | MSGPACK_API_VERSION_NAMESPACE(v2) {
23 | /// @endcond
24 |
25 | using v1::sbuffer;
26 |
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
29 | /// @endcond
30 |
31 | } // namespace clmdep_msgpack
32 |
33 | #endif // MSGPACK_V2_SBUFFER_DECL_HPP
34 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat_from_to.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat_from_to_2nd.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_2ND_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_2ND_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repeat_from_to_3rd.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_3RD_HPP
13 | # define MSGPACK_PREPROCESSOR_REPEAT_FROM_TO_3RD_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/debug.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_DEBUG_HPP
13 | # define MSGPACK_PREPROCESSOR_DEBUG_HPP
14 | #
15 | # include
16 | # include
17 | #
18 | # endif
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/define_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_DEFINE_DECL_HPP
11 | #define MSGPACK_V1_DEFINE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp"
17 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp"
18 | #else // MSGPACK_USE_CPP03
19 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp"
20 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp"
21 | #endif // MSGPACK_USE_CPP03
22 |
23 | #endif // MSGPACK_V1_DEFINE_DECL_HPP
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/sbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ simple buffer implementation
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_SBUFFER_DECL_HPP
11 | #define MSGPACK_V1_SBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #ifndef MSGPACK_SBUFFER_INIT_SIZE
16 | #define MSGPACK_SBUFFER_INIT_SIZE 8192
17 | #endif
18 |
19 | namespace clmdep_msgpack {
20 |
21 | /// @cond
22 | MSGPACK_API_VERSION_NAMESPACE(v1) {
23 | /// @endcond
24 |
25 | class sbuffer;
26 |
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
29 | /// @endcond
30 |
31 | } // namespace clmdep_msgpack
32 |
33 | #endif // MSGPACK_V1_SBUFFER_DECL_HPP
34 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/define_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_DEFINE_DECL_HPP
11 | #define MSGPACK_V2_DEFINE_DECL_HPP
12 |
13 | #include "rpc/msgpack/cpp_config.hpp"
14 |
15 | #if defined(MSGPACK_USE_CPP03)
16 | #include "rpc/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp"
17 | #include "rpc/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp"
18 | #else // MSGPACK_USE_CPP03
19 | #include "rpc/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp"
20 | #include "rpc/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp"
21 | #endif // MSGPACK_USE_CPP03
22 |
23 | #endif // MSGPACK_V2_DEFINE_DECL_HPP
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum_shifted_params.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_SHIFTED_PARAMS_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_SHIFTED_PARAMS_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/v4raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_V4RAW_DECL_HPP
11 | #define MSGPACK_V2_TYPE_V4RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 | #include "rpc/msgpack/adaptor/adaptor_base.hpp"
15 |
16 | namespace clmdep_msgpack {
17 |
18 | /// @cond
19 | MSGPACK_API_VERSION_NAMESPACE(v2) {
20 | /// @endcond
21 |
22 | namespace type {
23 |
24 | using v1::type::v4raw_ref;
25 |
26 | } // namespace type
27 |
28 | /// @cond
29 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
30 | /// @endcond
31 |
32 | } // namespace clmdep_msgpack
33 |
34 | #endif // MSGPACK_V2_TYPE_V4RAW_DECL_HPP
35 |
--------------------------------------------------------------------------------
/dependencies/include/asio/ssl/impl/src.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // impl/ssl/src.hpp
3 | // ~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_SSL_IMPL_SRC_HPP
12 | #define ASIO_SSL_IMPL_SRC_HPP
13 |
14 | #define ASIO_SOURCE
15 |
16 | #include "asio/detail/config.hpp"
17 |
18 | #if defined(ASIO_HEADER_ONLY)
19 | # error Do not compile Asio library source with ASIO_HEADER_ONLY defined
20 | #endif
21 |
22 | #include "asio/ssl/impl/context.ipp"
23 | #include "asio/ssl/impl/error.ipp"
24 | #include "asio/ssl/detail/impl/engine.ipp"
25 | #include "asio/ssl/detail/impl/openssl_init.ipp"
26 | #include "asio/ssl/impl/rfc2818_verification.ipp"
27 |
28 | #endif // ASIO_SSL_IMPL_SRC_HPP
29 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/seq/push_back.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_SEQ_PUSH_BACK_HPP
13 | # define MSGPACK_PREPROCESSOR_SEQ_PUSH_BACK_HPP
14 | #
15 | # /* MSGPACK_PP_SEQ_PUSH_BACK */
16 | #
17 | # define MSGPACK_PP_SEQ_PUSH_BACK(seq, elem) seq(elem)
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/selection.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_SELECTION_HPP
13 | # define MSGPACK_PREPROCESSOR_SELECTION_HPP
14 | #
15 | # include
16 | # include
17 | #
18 | # endif
19 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/seq/push_front.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_SEQ_PUSH_FRONT_HPP
13 | # define MSGPACK_PREPROCESSOR_SEQ_PUSH_FRONT_HPP
14 | #
15 | # /* MSGPACK_PP_SEQ_PUSH_FRONT */
16 | #
17 | # define MSGPACK_PP_SEQ_PUSH_FRONT(seq, elem) (elem)seq
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/v4raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_TYPE_V4RAW_DECL_HPP
11 | #define MSGPACK_V1_TYPE_V4RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 | #include "rpc/msgpack/adaptor/adaptor_base.hpp"
15 |
16 | namespace clmdep_msgpack {
17 |
18 | /// @cond
19 | MSGPACK_API_VERSION_NAMESPACE(v1) {
20 | /// @endcond
21 |
22 | namespace type {
23 |
24 | struct v4raw_ref;
25 |
26 | } // namespace type
27 |
28 | /// @cond
29 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
30 | /// @endcond
31 |
32 | } // namespace clmdep_msgpack
33 |
34 | #endif // MSGPACK_V1_TYPE_V4RAW_DECL_HPP
35 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum_params_with_defaults.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_DEFAULTS_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/array_ref_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_ARRAY_REF_DECL_HPP
11 | #define MSGPACK_V2_TYPE_ARRAY_REF_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/array_ref_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | namespace type {
22 |
23 | using v1::type::array_ref;
24 |
25 | using v1::type::make_array_ref;
26 |
27 |
28 | } // namespace type
29 |
30 | /// @cond
31 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
32 | /// @endcond
33 |
34 | } // namespace clmdep_msgpack
35 |
36 | #endif // MSGPACK_V2_TYPE_ARRAY_REF_DECL_HPP
37 |
--------------------------------------------------------------------------------
/dependencies/include/asio/streambuf.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // streambuf.hpp
3 | // ~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_STREAMBUF_HPP
12 | #define ASIO_STREAMBUF_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | #if !defined(ASIO_NO_IOSTREAM)
21 |
22 | #include "asio/basic_streambuf.hpp"
23 |
24 | namespace clmdep_asio {
25 |
26 | /// Typedef for the typical usage of basic_streambuf.
27 | typedef basic_streambuf<> streambuf;
28 |
29 | } // namespace clmdep_asio
30 |
31 | #endif // !defined(ASIO_NO_IOSTREAM)
32 |
33 | #endif // ASIO_STREAMBUF_HPP
34 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/enum_params_with_a_default.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT_HPP
13 | # define MSGPACK_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT_HPP
14 | #
15 | # include
16 | #
17 | # endif
18 |
--------------------------------------------------------------------------------
/doc/mkdocs.yml:
--------------------------------------------------------------------------------
1 | docs_dir: pages
2 | site_name: rpclib
3 |
4 | pages:
5 | - 'Home': 'index.md'
6 | - 'Guides':
7 | - 'Getting started': 'gettingstarted.md'
8 | - 'Primer': 'primer.md'
9 | - 'Cookbook': 'cookbook.md'
10 | - 'Glossary': 'glossary.md'
11 | - 'Advanced':
12 | - 'Compiling': 'compiling.md'
13 | - 'Internals': 'internals.md'
14 | - 'Specification': 'spec.md'
15 | - 'Roadmap': 'roadmap.md'
16 | - 'Contributing': 'contributing.md'
17 | - 'Reference': 'reference.md'
18 | - 'Versions': 'versions.md'
19 |
20 | theme: material
21 |
22 | markdown_extensions:
23 | - toc:
24 | permalink: False
25 | baselevel: 2
26 | - admonition
27 | - attr_list
28 | - codehilite
29 | - pymdownx.magiclink
30 |
31 | copyright: "Copyright © 2016 Tamás Szelei"
32 |
33 | extra_css:
34 | - 'extra.css'
35 |
36 | repo_name: 'rpclib/rpclib'
37 | repo_url: 'https://github.com/rpclib/rpclib'
38 |
--------------------------------------------------------------------------------
/utils/make_release_linux.sh:
--------------------------------------------------------------------------------
1 | #! /bin/sh
2 |
3 | RELEASE_OUTPUT_DIR=release
4 | SRC=src
5 |
6 | BUILD_DIR=build
7 | CMAKE_FLAGS="-DRPCLIB_BUILD_TESTS=OFF -DRPCLIB_BUILD_EXAMPLES=OFF"
8 |
9 | # cleanup
10 | [ -d $RELEASE_OUTPUT_DIR ] && rm -rf $RELEASE_OUTPUT_DIR
11 |
12 | # create dirs
13 | mkdir -p $RELEASE_OUTPUT_DIR && cd $RELEASE_OUTPUT_DIR
14 |
15 | git clone --depth=1 https://github.com/rpclib/rpclib.git $SRC
16 |
17 | # 64-bit
18 | mkdir -p $BUILD_DIR && cd $BUILD_DIR
19 | cmake ../$SRC -DRPCLIB_FORCE_M64=ON $CMAKE_FLAGS
20 | make -j2
21 | cpack -G TGZ
22 | cpack -G STGZ
23 | cpack -G DEB
24 | cd ..
25 |
26 | mv $BUILD_DIR/output/pkg/* .
27 | rm -rf $BUILD_DIR
28 |
29 | # 32-bit
30 | mkdir -p $BUILD_DIR && cd $BUILD_DIR
31 | cmake ../src -DRPCLIB_FORCE_M32=ON $CMAKE_FLAGS
32 | make -j2
33 | cpack -G TGZ
34 | cpack -G STGZ
35 | cpack -G DEB
36 | cd ..
37 |
38 | mv $BUILD_DIR/output/pkg/* .
39 | rm -rf $BUILD_DIR
40 | rm -rf $SRC
41 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/facilities/identity.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | # /* Revised by Edward Diener (2015) */
12 | #
13 | # /* See http://www.boost.org for most recent version. */
14 | #
15 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP
16 | # define MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP
17 | #
18 | # include
19 | # include
20 | #
21 | # /* MSGPACK_PP_IDENTITY */
22 | #
23 | # define MSGPACK_PP_IDENTITY(item) item MSGPACK_PP_EMPTY
24 | #
25 | # define MSGPACK_PP_IDENTITY_N(item,n) item MSGPACK_PP_TUPLE_EAT_N(n)
26 | #
27 | # endif
28 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/iteration/self.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ITERATION_SELF_HPP
13 | # define MSGPACK_PREPROCESSOR_ITERATION_SELF_HPP
14 | #
15 | # /* MSGPACK_PP_INCLUDE_SELF */
16 | #
17 | # define MSGPACK_PP_INCLUDE_SELF()
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP03_DEFINE_MAP_DECL_HPP
11 | #define MSGPACK_V2_CPP03_DEFINE_MAP_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 | /// @cond
17 | MSGPACK_API_VERSION_NAMESPACE(v2) {
18 | /// @endcond
19 | namespace type {
20 |
21 | using v1::type::define_map;
22 |
23 | using v1::type::make_define_map;
24 |
25 | } // namespace type
26 | /// @cond
27 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
28 | /// @endcond
29 | } // namespace clmdep_msgpack
30 |
31 | #endif // MSGPACK_V2_CPP03_DEFINE_MAP_DECL_HPP
32 |
--------------------------------------------------------------------------------
/lib/rpc/rpc_error.cc:
--------------------------------------------------------------------------------
1 | #include "rpc/rpc_error.h"
2 | #include "format.h"
3 |
4 | namespace rpc {
5 |
6 | rpc_error::rpc_error(std::string const &what_arg,
7 | std::string const &function_name,
8 | std::shared_ptr o)
9 | : std::runtime_error(what_arg),
10 | func_name_(function_name),
11 | ob_h_(std::move(o)) {}
12 |
13 | std::string rpc_error::get_function_name() const { return func_name_; }
14 |
15 | RPCLIB_MSGPACK::object_handle &rpc_error::get_error() { return *ob_h_; }
16 |
17 | timeout::timeout(std::string const &what_arg) : std::runtime_error(what_arg) {
18 | formatted =
19 | RPCLIB_FMT::format("rpc::timeout: {}", std::runtime_error::what());
20 | }
21 |
22 | const char *timeout::what() const noexcept { return formatted.data(); }
23 |
24 | const char* system_error::what() const noexcept { return std::system_error::what(); }
25 |
26 | } /* rpc */
27 |
--------------------------------------------------------------------------------
/dependencies/include/asio/basic_streambuf_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // basic_streambuf_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_BASIC_STREAMBUF_FWD_HPP
12 | #define ASIO_BASIC_STREAMBUF_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | #if !defined(ASIO_NO_IOSTREAM)
21 |
22 | #include
23 |
24 | namespace clmdep_asio {
25 |
26 | template >
27 | class basic_streambuf;
28 |
29 | } // namespace clmdep_asio
30 |
31 | #endif // !defined(ASIO_NO_IOSTREAM)
32 |
33 | #endif // ASIO_BASIC_STREAMBUF_FWD_HPP
34 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/date_time_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/date_time_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_DATE_TIME_FWD_HPP
12 | #define ASIO_DETAIL_DATE_TIME_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | namespace boost {
21 | namespace date_time {
22 |
23 | template
24 | class base_time;
25 |
26 | } // namespace date_time
27 | namespace posix_time {
28 |
29 | class ptime;
30 |
31 | } // namespace posix_time
32 | } // namespace boost
33 |
34 | #endif // ASIO_DETAIL_DATE_TIME_FWD_HPP
35 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/comparison.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_COMPARISON_HPP
15 | # define MSGPACK_PREPROCESSOR_COMPARISON_HPP
16 | #
17 | # include
18 | # include
19 | # include
20 | # include
21 | # include
22 | # include
23 | #
24 | # endif
25 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/raw_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_TYPE_RAW_DECL_HPP
11 | #define MSGPACK_V1_TYPE_RAW_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 | #include "rpc/msgpack/adaptor/adaptor_base.hpp"
15 | #include
16 | #include
17 |
18 | namespace clmdep_msgpack {
19 |
20 | /// @cond
21 | MSGPACK_API_VERSION_NAMESPACE(v1) {
22 | /// @endcond
23 |
24 | namespace type {
25 |
26 | struct raw_ref;
27 |
28 | } // namespace type
29 |
30 | /// @cond
31 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
32 | /// @endcond
33 |
34 | } // namespace clmdep_msgpack
35 |
36 | #endif // MSGPACK_V1_TYPE_RAW_DECL_HPP
37 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_DEFAULTS_HPP
15 | # define MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_DEFAULTS_HPP
16 | #
17 | # include
18 | # include
19 | #
20 | # /* MSGPACK_PP_ENUM_PARAMS_WITH_DEFAULTS */
21 | #
22 | # define MSGPACK_PP_ENUM_PARAMS_WITH_DEFAULTS(count, param, def) MSGPACK_PP_ENUM_BINARY_PARAMS(count, param, = def)
23 | #
24 | # endif
25 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/library/std/_prefix.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2013
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 | #ifndef MSGPACK_PREDEF_LIBRARY_STD__PREFIX_H
8 | #define MSGPACK_PREDEF_LIBRARY_STD__PREFIX_H
9 |
10 | /*
11 | We need to include an STD header to gives us the context
12 | of which library we are using. The "smallest" code-wise header
13 | seems to be . Boost uses but as far
14 | as I can tell (RR) it's not a stand-alone header in most
15 | implementations. Using also has the benefit of
16 | being available in EC++, so we get a chance to make this work
17 | for embedded users. And since it's not a header impacted by TR1
18 | there's no magic needed for inclusion in the face of the
19 | Boost.TR1 library.
20 | */
21 | #include
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP11_DEFINE_MAP_DECL_HPP
11 | #define MSGPACK_V2_CPP11_DEFINE_MAP_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 | /// @cond
17 | MSGPACK_API_VERSION_NAMESPACE(v2) {
18 | /// @endcond
19 | namespace type {
20 |
21 | using v1::type::define_map_imp;
22 | using v1::type::define_map;
23 | using v1::type::make_define_map;
24 |
25 | } // namespace type
26 | /// @cond
27 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
28 | /// @endcond
29 | } // namespace clmdep_msgpack
30 |
31 | #endif // MSGPACK_V2_CPP11_DEFINE_MAP_DECL_HPP
32 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/punctuation/paren.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_HPP
13 | # define MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_HPP
14 | #
15 | # /* MSGPACK_PP_LPAREN */
16 | #
17 | # define MSGPACK_PP_LPAREN() (
18 | #
19 | # /* MSGPACK_PP_RPAREN */
20 | #
21 | # define MSGPACK_PP_RPAREN() )
22 | #
23 | # endif
24 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/ext_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2015-2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_TYPE_EXT_DECL_HPP
11 | #define MSGPACK_V1_TYPE_EXT_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 | #include "rpc/msgpack/adaptor/adaptor_base.hpp"
15 | #include
16 | #include
17 | #include
18 |
19 | namespace clmdep_msgpack {
20 |
21 | /// @cond
22 | MSGPACK_API_VERSION_NAMESPACE(v1) {
23 | /// @endcond
24 |
25 | namespace type {
26 |
27 | class ext_ref;
28 | class ext;
29 |
30 | } // namespace type
31 |
32 | /// @cond
33 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
34 | /// @endcond
35 |
36 | } // namespace clmdep_msgpack
37 |
38 | #endif // MSGPACK_V1_TYPE_EXT_DECL_HPP
39 |
--------------------------------------------------------------------------------
/examples/echo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.0.0)
2 | project(echo)
3 |
4 | find_package(rpclib REQUIRED)
5 | find_package(Threads REQUIRED)
6 |
7 | include_directories(${RPCLIB_INCLUDE_DIR})
8 |
9 | add_executable(echo_server echo_server.cc)
10 | target_link_libraries(echo_server ${RPCLIB_LIBS} ${CMAKE_THREAD_LIBS_INIT})
11 | set_target_properties(
12 | echo_server
13 | PROPERTIES
14 | CXX_STANDARD 14
15 | COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${RPCLIB_EXTRA_FLAGS}")
16 | target_compile_definitions(echo_server PUBLIC ${RPCLIB_COMPILE_DEFINITIONS})
17 |
18 | add_executable(echo_client echo_client.cc)
19 | target_link_libraries(echo_client ${RPCLIB_LIBS} ${CMAKE_THREAD_LIBS_INIT})
20 | set_target_properties(
21 | echo_client
22 | PROPERTIES
23 | CXX_STANDARD 14
24 | COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${RPCLIB_EXTRA_FLAGS}")
25 | target_compile_definitions(echo_client PUBLIC ${RPCLIB_COMPILE_DEFINITIONS})
26 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/iteration/detail/self.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # if !defined(MSGPACK_PP_INDIRECT_SELF)
13 | # error MSGPACK_PP_ERROR: no indirect file to include
14 | # endif
15 | #
16 | # define MSGPACK_PP_IS_SELFISH 1
17 | #
18 | # include MSGPACK_PP_INDIRECT_SELF
19 | #
20 | # undef MSGPACK_PP_IS_SELFISH
21 | # undef MSGPACK_PP_INDIRECT_SELF
22 |
--------------------------------------------------------------------------------
/include/rpc/detail/thread_group.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef THREAD_GROUP_H_MQSLWGKD
4 | #define THREAD_GROUP_H_MQSLWGKD
5 |
6 | #include
7 | #include
8 |
9 | namespace rpc {
10 | namespace detail {
11 |
12 | class thread_group {
13 | public:
14 | thread_group() {}
15 | thread_group(thread_group const &) = delete;
16 |
17 | void create_threads(std::size_t thread_count, std::function func) {
18 | for (std::size_t i = 0; i < thread_count; ++i) {
19 | threads_.push_back(std::thread(func));
20 | }
21 | }
22 |
23 | void join_all() {
24 | for (auto &t : threads_) {
25 | if (t.joinable()) {
26 | t.join();
27 | }
28 | }
29 | }
30 |
31 | ~thread_group() { join_all(); }
32 |
33 | private:
34 | std::vector threads_;
35 | };
36 |
37 | } /* detail */
38 | } /* rpc */
39 |
40 | #endif /* end of include guard: THREAD_GROUP_H_MQSLWGKD */
41 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/gcc_atomic.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ old gcc workaround for atomic operation
3 | //
4 | // Copyright (C) 2008-2013 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef MSGPACK_GCC_ATOMIC_HPP
12 | #define MSGPACK_GCC_ATOMIC_HPP
13 |
14 | #if defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41)
15 |
16 | #include "rpc/msgpack/gcc_atomic.h"
17 | #include
18 |
19 | int _msgpack_sync_decr_and_fetch(volatile _msgpack_atomic_counter_t* ptr)
20 | {
21 | return __gnu_cxx::__exchange_and_add(ptr, -1) - 1;
22 | }
23 |
24 | int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr)
25 | {
26 | return __gnu_cxx::__exchange_and_add(ptr, 1) + 1;
27 | }
28 |
29 | #endif // old gcc workaround
30 |
31 | #endif /* gcc_atomic.hpp */
32 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/iteration.hpp:
--------------------------------------------------------------------------------
1 | # /* **************************************************************************
2 | # * *
3 | # * (C) Copyright Paul Mensonides 2002.
4 | # * Distributed under the Boost Software License, Version 1.0. (See
5 | # * accompanying file LICENSE_1_0.txt or copy at
6 | # * http://www.boost.org/LICENSE_1_0.txt)
7 | # * *
8 | # ************************************************************************** */
9 | #
10 | # /* See http://www.boost.org for most recent version. */
11 | #
12 | # ifndef MSGPACK_PREPROCESSOR_ITERATION_HPP
13 | # define MSGPACK_PREPROCESSOR_ITERATION_HPP
14 | #
15 | # include
16 | # include
17 | # include
18 | #
19 | # endif
20 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP03_DEFINE_ARRAY_DECL_HPP
11 | #define MSGPACK_V2_CPP03_DEFINE_ARRAY_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 | /// @cond
17 | MSGPACK_API_VERSION_NAMESPACE(v2) {
18 | /// @endcond
19 | namespace type {
20 |
21 | using v1::type::define_array;
22 |
23 | using v1::type::make_define_array;
24 |
25 | } // namespace type
26 | /// @cond
27 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
28 | /// @endcond
29 | } // namespace clmdep_msgpack
30 |
31 | #endif // MSGPACK_V2_CPP03_DEFINE_ARRAY_DECL_HPP
32 |
--------------------------------------------------------------------------------
/dependencies/include/asio/ssl/detail/openssl_types.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // ssl/detail/openssl_types.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
12 | #define ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 | #include
20 | #include
21 | #if !defined(OPENSSL_NO_ENGINE)
22 | # include
23 | #endif // !defined(OPENSSL_NO_ENGINE)
24 | #include
25 | #include
26 | #include "asio/detail/socket_types.hpp"
27 |
28 | #endif // ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
29 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/arithmetic.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_ARITHMETIC_HPP
15 | # define MSGPACK_PREPROCESSOR_ARITHMETIC_HPP
16 | #
17 | # include
18 | # include
19 | # include
20 | # include
21 | # include
22 | # include
23 | # include
24 | #
25 | # endif
26 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/size_equal_only_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2016 KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
11 | #define MSGPACK_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/size_equal_only_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v2) {
19 | /// @endcond
20 |
21 | namespace type {
22 |
23 | using v1::type::size_equal_only;
24 | using v1::type::make_size_equal_only;
25 | using v1::type::size;
26 |
27 | } // namespace type
28 |
29 | /// @cond
30 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
31 | /// @endcond
32 |
33 | } // namespace clmdep_msgpack
34 |
35 | #endif // MSGPACK_V2_TYPE_SIZE_EQUAL_ONLY_DECL_HPP
36 |
--------------------------------------------------------------------------------
/dependencies/include/asio/ssl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // ssl.hpp
3 | // ~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_SSL_HPP
12 | #define ASIO_SSL_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/ssl/basic_context.hpp"
19 | #include "asio/ssl/context.hpp"
20 | #include "asio/ssl/context_base.hpp"
21 | #include "asio/ssl/context_service.hpp"
22 | #include "asio/ssl/error.hpp"
23 | #include "asio/ssl/rfc2818_verification.hpp"
24 | #include "asio/ssl/stream.hpp"
25 | #include "asio/ssl/stream_base.hpp"
26 | #include "asio/ssl/stream_service.hpp"
27 | #include "asio/ssl/verify_context.hpp"
28 | #include "asio/ssl/verify_mode.hpp"
29 |
30 | #endif // ASIO_SSL_HPP
31 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/regex_fwd.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/regex_fwd.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_REGEX_FWD_HPP
12 | #define ASIO_DETAIL_REGEX_FWD_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #if defined(ASIO_HAS_BOOST_REGEX)
19 |
20 | #include
21 | #include
22 |
23 | namespace boost {
24 |
25 | template
26 | struct sub_match;
27 |
28 | template
29 | class match_results;
30 |
31 | } // namespace boost
32 |
33 | #endif // defined(ASIO_HAS_BOOST_REGEX)
34 |
35 | #endif // ASIO_DETAIL_REGEX_FWD_HPP
36 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/hardware/simd/arm/versions.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Charly Chevalier 2015
3 | Copyright Joel Falcou 2015
4 | Distributed under the Boost Software License, Version 1.0.
5 | (See accompanying file LICENSE_1_0.txt or copy at
6 | http://www.boost.org/LICENSE_1_0.txt)
7 | */
8 |
9 | #ifndef MSGPACK_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H
10 | #define MSGPACK_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H
11 |
12 | #include
13 |
14 | /*`
15 | Those defines represent ARM SIMD extensions versions.
16 |
17 | [note You *MUST* compare them with the predef `MSGPACK_HW_SIMD_ARM`.]
18 | */
19 |
20 | // ---------------------------------
21 |
22 | /*`
23 | [heading `MSGPACK_HW_SIMD_ARM_NEON_VERSION`]
24 |
25 | The [@https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29 NEON]
26 | ARM extension version number.
27 |
28 | Version number is: *1.0.0*.
29 | */
30 | #define MSGPACK_HW_SIMD_ARM_NEON_VERSION MSGPACK_VERSION_NUMBER(1, 0, 0)
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/zbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deflate buffer implementation
3 | //
4 | // Copyright (C) 2010-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_ZBUFFER_DECL_HPP
11 | #define MSGPACK_V1_ZBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #ifndef MSGPACK_ZBUFFER_RESERVE_SIZE
16 | #define MSGPACK_ZBUFFER_RESERVE_SIZE 512
17 | #endif
18 |
19 | #ifndef MSGPACK_ZBUFFER_INIT_SIZE
20 | #define MSGPACK_ZBUFFER_INIT_SIZE 8192
21 | #endif
22 |
23 | namespace clmdep_msgpack {
24 |
25 | /// @cond
26 | MSGPACK_API_VERSION_NAMESPACE(v1) {
27 | /// @endcond
28 |
29 | class zbuffer;
30 |
31 | /// @cond
32 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
33 | /// @endcond
34 |
35 | } // namespace clmdep_msgpack
36 |
37 | #endif // MSGPACK_V1_ZBUFFER_DECL_HPP
38 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/parse_return.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ deserializing routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_PARSE_RETURN_HPP
11 | #define MSGPACK_V1_PARSE_RETURN_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | namespace clmdep_msgpack {
16 |
17 | /// @cond
18 | MSGPACK_API_VERSION_NAMESPACE(v1) {
19 | /// @endcond
20 |
21 |
22 | // for internal use
23 | typedef enum {
24 | PARSE_SUCCESS = 2,
25 | PARSE_EXTRA_BYTES = 1,
26 | PARSE_CONTINUE = 0,
27 | PARSE_PARSE_ERROR = -1
28 | } parse_return;
29 |
30 | /// @cond
31 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
32 | /// @endcond
33 |
34 | } // namespace clmdep_msgpack
35 |
36 | #endif // MSGPACK_V1_PARSE_RETURN_HPP
37 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V2_CPP11_DEFINE_ARRAY_DECL_HPP
11 | #define MSGPACK_V2_CPP11_DEFINE_ARRAY_DECL_HPP
12 |
13 | #include "rpc/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp"
14 |
15 | namespace clmdep_msgpack {
16 | /// @cond
17 | MSGPACK_API_VERSION_NAMESPACE(v2) {
18 | /// @endcond
19 | namespace type {
20 |
21 | using v1::type::define_array_imp;
22 | using v1::type::define_array;
23 |
24 | using v1::type::make_define_array;
25 |
26 | } // namespace type
27 | /// @cond
28 | } // MSGPACK_API_VERSION_NAMESPACE(v2)
29 | /// @endcond
30 | } // namespace clmdep_msgpack
31 |
32 | #endif // MSGPACK_V2_CPP11_DEFINE_ARRAY_DECL_HPP
33 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/adaptor/map_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ static resolution routine
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_TYPE_MAP_DECL_HPP
11 | #define MSGPACK_V1_TYPE_MAP_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #include
16 |
17 | namespace clmdep_msgpack {
18 |
19 | /// @cond
20 | MSGPACK_API_VERSION_NAMESPACE(v1) {
21 | /// @endcond
22 |
23 | namespace type {
24 |
25 | template , typename Alloc = std::allocator > >
26 | class assoc_vector;
27 |
28 | } //namespace type
29 |
30 | /// @cond
31 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
32 | /// @endcond
33 |
34 | } // namespace clmdep_msgpack
35 |
36 | #endif // MSGPACK_V1_TYPE_MAP_DECL_HPP
37 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/dependent_type.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/dependent_type.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_DEPENDENT_TYPE_HPP
12 | #define ASIO_DETAIL_DEPENDENT_TYPE_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | #include "asio/detail/push_options.hpp"
21 |
22 | namespace clmdep_asio {
23 | namespace detail {
24 |
25 | template
26 | struct dependent_type
27 | {
28 | typedef T type;
29 | };
30 |
31 | } // namespace detail
32 | } // namespace clmdep_asio
33 |
34 | #include "asio/detail/pop_options.hpp"
35 |
36 | #endif // ASIO_DETAIL_DEPENDENT_TYPE_HPP
37 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/win_iocp_thread_info.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/win_iocp_thread_info.hpp
3 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP
12 | #define ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/thread_info_base.hpp"
19 |
20 | #include "asio/detail/push_options.hpp"
21 |
22 | namespace clmdep_asio {
23 | namespace detail {
24 |
25 | struct win_iocp_thread_info : public thread_info_base
26 | {
27 | };
28 |
29 | } // namespace detail
30 | } // namespace clmdep_asio
31 |
32 | #include "asio/detail/pop_options.hpp"
33 |
34 | #endif // ASIO_DETAIL_WIN_IOCP_THREAD_INFO_HPP
35 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/facilities/expand.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_FACILITIES_EXPAND_HPP
15 | # define MSGPACK_PREPROCESSOR_FACILITIES_EXPAND_HPP
16 | #
17 | # include
18 | #
19 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC() && ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_DMC()
20 | # define MSGPACK_PP_EXPAND(x) MSGPACK_PP_EXPAND_I(x)
21 | # else
22 | # define MSGPACK_PP_EXPAND(x) MSGPACK_PP_EXPAND_OO((x))
23 | # define MSGPACK_PP_EXPAND_OO(par) MSGPACK_PP_EXPAND_I ## par
24 | # endif
25 | #
26 | # define MSGPACK_PP_EXPAND_I(x) x
27 | #
28 | # endif
29 |
--------------------------------------------------------------------------------
/examples/calculator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.0.0)
2 | project(calculator)
3 |
4 | find_package(rpclib REQUIRED)
5 | find_package(Threads REQUIRED)
6 |
7 | include_directories(${RPCLIB_INCLUDE_DIR})
8 |
9 | add_executable(calculator_server calculator_server.cc)
10 | target_link_libraries(calculator_server ${RPCLIB_LIBS} ${CMAKE_THREAD_LIBS_INIT})
11 | set_target_properties(
12 | calculator_server
13 | PROPERTIES
14 | CXX_STANDARD 14
15 | COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${RPCLIB_EXTRA_FLAGS}")
16 | target_compile_definitions(calculator_server PUBLIC ${RPCLIB_COMPILE_DEFINITIONS})
17 |
18 | add_executable(calculator_client calculator_client.cc)
19 | target_link_libraries(calculator_client ${RPCLIB_LIBS} ${CMAKE_THREAD_LIBS_INIT})
20 | set_target_properties(
21 | calculator_client
22 | PROPERTIES
23 | CXX_STANDARD 14
24 | COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${RPCLIB_EXTRA_FLAGS}")
25 | target_compile_definitions(calculator_client PUBLIC ${RPCLIB_COMPILE_DEFINITIONS})
26 |
--------------------------------------------------------------------------------
/doc/rpclib-cinder/css/styles/mono-blue.css:
--------------------------------------------------------------------------------
1 | /*
2 | Five-color theme from a single blue hue.
3 | */
4 | .hljs {
5 | display: block;
6 | overflow-x: auto;
7 | padding: 0.5em;
8 | background: #eaeef3;
9 | }
10 |
11 | .hljs {
12 | color: #00193a;
13 | }
14 |
15 | .hljs-keyword,
16 | .hljs-selector-tag,
17 | .hljs-title,
18 | .hljs-section,
19 | .hljs-doctag,
20 | .hljs-name,
21 | .hljs-strong {
22 | font-weight: bold;
23 | }
24 |
25 | .hljs-comment {
26 | color: #738191;
27 | }
28 |
29 | .hljs-string,
30 | .hljs-title,
31 | .hljs-section,
32 | .hljs-built_in,
33 | .hljs-literal,
34 | .hljs-type,
35 | .hljs-addition,
36 | .hljs-tag,
37 | .hljs-quote,
38 | .hljs-name,
39 | .hljs-selector-id,
40 | .hljs-selector-class {
41 | color: #0048ab;
42 | }
43 |
44 | .hljs-meta,
45 | .hljs-subst,
46 | .hljs-symbol,
47 | .hljs-regexp,
48 | .hljs-attribute,
49 | .hljs-deletion,
50 | .hljs-variable,
51 | .hljs-template-variable,
52 | .hljs-link,
53 | .hljs-bullet {
54 | color: #4c81c9;
55 | }
56 |
57 | .hljs-emphasis {
58 | font-style: italic;
59 | }
60 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp:
--------------------------------------------------------------------------------
1 | # /* Copyright (C) 2001
2 | # * Housemarque Oy
3 | # * http://www.housemarque.com
4 | # *
5 | # * Distributed under the Boost Software License, Version 1.0. (See
6 | # * accompanying file LICENSE_1_0.txt or copy at
7 | # * http://www.boost.org/LICENSE_1_0.txt)
8 | # */
9 | #
10 | # /* Revised by Paul Mensonides (2002) */
11 | #
12 | # /* See http://www.boost.org for most recent version. */
13 | #
14 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP
15 | # define MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP
16 | #
17 | # include
18 | # include
19 | # include
20 | #
21 | # /* MSGPACK_PP_ENUM_PARAMS_WITH_A_DEFAULT */
22 | #
23 | # define MSGPACK_PP_ENUM_PARAMS_WITH_A_DEFAULT(count, param, def) MSGPACK_PP_ENUM_BINARY_PARAMS(count, param, = def MSGPACK_PP_INTERCEPT)
24 | #
25 | # endif
26 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/v1/vrefbuffer_decl.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // MessagePack for C++ zero-copy buffer implementation
3 | //
4 | // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5 | //
6 | // Distributed under the Boost Software License, Version 1.0.
7 | // (See accompanying file LICENSE_1_0.txt or copy at
8 | // http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 | #ifndef MSGPACK_V1_VREFBUFFER_DECL_HPP
11 | #define MSGPACK_V1_VREFBUFFER_DECL_HPP
12 |
13 | #include "rpc/msgpack/versioning.hpp"
14 |
15 | #include
16 |
17 | #ifndef MSGPACK_VREFBUFFER_REF_SIZE
18 | #define MSGPACK_VREFBUFFER_REF_SIZE 32
19 | #endif
20 |
21 | #ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE
22 | #define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
23 | #endif
24 |
25 | namespace clmdep_msgpack {
26 |
27 | /// @cond
28 | MSGPACK_API_VERSION_NAMESPACE(v1) {
29 | /// @endcond
30 |
31 | class vrefbuffer;
32 |
33 | /// @cond
34 | } // MSGPACK_API_VERSION_NAMESPACE(v1)
35 | /// @endcond
36 |
37 | } // namespace clmdep_msgpack
38 |
39 | #endif // MSGPACK_V1_VREFBUFFER_DECL_HPP
40 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: c++
2 | os: linux
3 | dist: focal
4 | sudo: required
5 |
6 | matrix:
7 | include:
8 | - compiler: gcc
9 | env: RPCLIB_CXX_STANDARD=11 BUILD_TYPE=Release COVERAGE="ON"
10 | - compiler: gcc
11 | env: RPCLIB_CXX_STANDARD=14 BUILD_TYPE=Release COVERAGE="OFF"
12 | - compiler: clang
13 | env: RPCLIB_CXX_STANDARD=11 BUILD_TYPE=Release COVERAGE="OFF"
14 | - compiler: clang
15 | env: RPCLIB_CXX_STANDARD=14 BUILD_TYPE=Release COVERAGE="OFF"
16 |
17 | before_install:
18 | - sudo apt-get update -qq
19 |
20 | install:
21 | - sudo apt-get install -qq g++ cmake
22 |
23 | script:
24 | - mkdir build ; cd build
25 | - cmake -DRPCLIB_ENABLE_COVERAGE=$COVERAGE -DRPCLIB_BUILD_TESTS=ON -DRPCLIB_CXX_STANDARD=$RPCLIB_CXX_STANDARD -DCMAKE_INSTALL_PREFIX=../install ..
26 | - cmake --build . --config $BUILD_TYPE
27 | - cmake --build . --target install
28 |
29 | after_success:
30 | - ./tests/rpc_test
31 | - lcov --capture --directory . --output-file coverage.info
32 | - bash <(curl -s https://codecov.io/bash)
33 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/reactor.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/reactor.hpp
3 | // ~~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_REACTOR_HPP
12 | #define ASIO_DETAIL_REACTOR_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/reactor_fwd.hpp"
19 |
20 | #if defined(ASIO_HAS_EPOLL)
21 | # include "asio/detail/epoll_reactor.hpp"
22 | #elif defined(ASIO_HAS_KQUEUE)
23 | # include "asio/detail/kqueue_reactor.hpp"
24 | #elif defined(ASIO_HAS_DEV_POLL)
25 | # include "asio/detail/dev_poll_reactor.hpp"
26 | #elif defined(ASIO_WINDOWS_RUNTIME)
27 | # include "asio/detail/null_reactor.hpp"
28 | #else
29 | # include "asio/detail/select_reactor.hpp"
30 | #endif
31 |
32 | #endif // ASIO_DETAIL_REACTOR_HPP
33 |
--------------------------------------------------------------------------------
/include/rpc/msgpack/predef/library/std.h:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright Rene Rivera 2008-2015
3 | Distributed under the Boost Software License, Version 1.0.
4 | (See accompanying file LICENSE_1_0.txt or copy at
5 | http://www.boost.org/LICENSE_1_0.txt)
6 | */
7 | #if !defined(MSGPACK_PREDEF_LIBRARY_STD_H) || defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS)
8 | #ifndef MSGPACK_PREDEF_LIBRARY_STD_H
9 | #define MSGPACK_PREDEF_LIBRARY_STD_H
10 | #endif
11 |
12 | #include
13 |
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 | #include
21 | #include
22 | #include
23 | #include
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/dependencies/include/asio/detail/assert.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // detail/assert.hpp
3 | // ~~~~~~~~~~~~~~~~~
4 | //
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 | //
10 |
11 | #ifndef ASIO_DETAIL_ASSERT_HPP
12 | #define ASIO_DETAIL_ASSERT_HPP
13 |
14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 | # pragma once
16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 |
18 | #include "asio/detail/config.hpp"
19 |
20 | #if defined(ASIO_HAS_BOOST_ASSERT)
21 | # include
22 | #else // defined(ASIO_HAS_BOOST_ASSERT)
23 | # include
24 | #endif // defined(ASIO_HAS_BOOST_ASSERT)
25 |
26 | #if defined(ASIO_HAS_BOOST_ASSERT)
27 | # define ASIO_ASSERT(expr) BOOST_ASSERT(expr)
28 | #else // defined(ASIO_HAS_BOOST_ASSERT)
29 | # define ASIO_ASSERT(expr) assert(expr)
30 | #endif // defined(ASIO_HAS_BOOST_ASSERT)
31 |
32 | #endif // ASIO_DETAIL_ASSERT_HPP
33 |
--------------------------------------------------------------------------------