OpenSplice ISO C++ 2 FACE API  v7.x
OpenSplice Future Airborne Capability Environment (FACE) ISO C++ 2 API
ISO C++ 2 FACE API

A DDS Isocpp2 implementation API for the Future Airborne Capability Environment (FACE) API

Getting started

If you are new to the FACE API we would recommend that you start by looking at the documentation provided by the opengroup: http://www.opengroup.org/face/information

A summary of examples, along with build/run instructions can be found on the Examples page.

API documentation

The namespace FACE::TS contains all of the major functionality of the ISO C++ 2 FACE API.

  • FACE::TS provides facilities for:
    • Initializing, Creating and Destroying a connection
    • Sending and Receiving data
    • Registering and Unregistering a callback.
    • Getting Connection Parameters

DataType generation:

Idlpp can be used to generate the CPP datatypes for the FACE API. The option -F can be used to generate the FACE specific datatypes.

Example command for code generation from the idl Foo.idl for Isocpp2:

idlpp -S -l isocpp2 -F Foo.idl

Rebuilding the FACE API

The FACE C++ API is built on top of the DCPS ISOCPP2 library. A seperate custom_lib target is provided for rebuilding the FACE C++ API. When using FACE, both custom_lib targets should be rebuilt with the same compiler flags in order to produce compatible shared libraries. To rebuild the FACE C++ APi do:

cd $OSPL_HOME/custom_lib/face
mkdir build
cd build
cmake ..
cmake --build . --target install