Skip to content

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast-DDS-modern-cpp-api

This is a ISO/IEC C++ PSM (aka modern c++ api) wrapper for the FastDDS-API.

Example

#include <fastdds_modern_cpp_api/dds/dds.hpp>

int main(int argc, char** argv) {

    namespace dds = fastdds_modern_cpp_api::dds;

    try {

        dds::domain::DomainParticipant participant(0);

    } catch (const std::exception& e) {
        std::cout << "Exception: " << e.what() << std::endl;
        return 1;
    }
    return 0;
}

For more examples see subfolder examples.

How to build

Windows

Install FastDDS via installer.

mkdir build
cd build
cmake -DBUILD_EXAMPLES=ON -DOPENSSL_INCLUDE_DIR="C:\Program Files\OpenSSL-Win64\include" -DCMAKE_INSTALL_PREFIX=./install ..
cmake --build . --config Release --target install

Contributing

Everyone is welcome to participate, just make a pull-request.

About

FastDDS modern c++ api wrapper

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages