Introduction

It is possible to call LayGO API functions directly from a C++ application by including the C language LayGO header files using the extern "C" syntax:

extern "C"
{
    #include "laygo.h"
    #include "laygomsg.h"
}

However, the LayGO C++ Wrapper provides a more object-oriented alternative for incorporating LayGO API access in C++ applications. The wrapper is a collection of C++ classes which encapsulate the main components of the LayGO Toolkit: the protocol stack, the protocol stack server and the protocol service connection identifier. The wrapper also includes a set of auxiliary classes for events, data and status and statistics information.

This manual describes the LayGO C++ Wrapper classes and how to use them.