dds-tutorial-cpp-ex
所属分类:文章/文档
开发工具:C++
文件大小:193KB
下载次数:0
上传日期:2015-10-30 05:55:45
上 传 者:
sh-1993
说明: DDS教程的C++示例
(C++ Examples for the DDS Tutorial)
文件列表:
LICENSE (7632, 2014-09-11)
THANKS (44, 2014-09-11)
ch1 (0, 2014-09-11)
ch1\CMakeLists.txt (1705, 2014-09-11)
ch1\TempControl.idl (236, 2014-09-11)
ch1\tspub.cpp (1344, 2014-09-11)
ch1\tssub.cpp (728, 2014-09-11)
ch1\util.cpp (1242, 2014-09-11)
ch1\util.hpp (763, 2014-09-11)
ch2 (0, 2014-09-11)
ch2\CMakeLists.txt (1705, 2014-09-11)
ch2\TempControl.idl (236, 2014-09-11)
ch2\tspub.cpp (1343, 2014-09-11)
ch2\tssub.cpp (1073, 2014-09-11)
ch2\util.cpp (1242, 2014-09-11)
ch2\util.hpp (763, 2014-09-11)
ch3 (0, 2014-09-11)
ch3\CMakeLists.txt (2094, 2014-09-11)
ch3\TempControl.idl (236, 2014-09-11)
ch3\lifecycle.cpp (1617, 2014-09-11)
ch3\ltssub.cpp (1425, 2014-09-11)
ch3\tspub.cpp (1343, 2014-09-11)
ch3\tssub.cpp (1073, 2014-09-11)
ch3\util.cpp (1242, 2014-09-11)
ch3\util.hpp (763, 2014-09-11)
ch3\wstssub.cpp (987, 2014-09-11)
cmake (0, 2014-09-11)
cmake\CMakeLists.txt (2643, 2014-09-11)
cmake\FindOpenSplice.cmake (2024, 2014-09-11)
cmake\MacroOpenSplice.cmake (1520, 2014-09-11)
cmake\osmacros.cmake (826, 2014-09-11)
... ...
#Overview
This repository contains the code C++ examples for the
DDS Tutorial.
To make to code more compact and clear I take deliberately
advantage of some of the features introduced by C++11.
Considered the widely spread availability of C++11 compilers
this should not pose a problem.
#Getting Started
To try out the examples you need to have:
- OpenSplice DDS (http://opensplice.org | http://prismtech.com)
- g++ or clang with support for C+0x
- cmake 2.8 or higher
Once you have installed OpenSplice you'll have to configure
the support for C++11 -- by default OpenSplice C++ API is
built for C++***.
To enable C++11 support follow the instructions described
here http://dev.opensplice.org/releases/downloads/docs/isocpp/html/isocpp_customlibs.html
## Compiling
To compile simply do:
$ cmake .
$ make
That's it.
-Happy Hacking
近期下载者:
相关文件:
收藏者: