Skip to content
Christian Schladetsch edited this page Nov 8, 2019 · 11 revisions

KAI

Kai is a distributed object model based on C++.

The rest of this document assumes that you extracted/cloned to ${KAI_HOME}.

Purpose

The purpose of KAI is to allow for a fluid and efficient interface between machines using C++.

Usage

Using KAI requires you to register your classes on a (Network) Domain. Then you can use them as you wish via a Pointer interface. They will exist as long as the (Networked) Domain exists and the object hasn't been forcibly deleted.

One of the nice things about KAI is that you do not need access to existing code to make the classes they produce usable by KAI. That is, you can trivially make a class provided by a 3rd party library usable by KAI, and hence by you across the network. And even method calls, if the arguments are common.

If the arguments to methods are not common, you will of course have to teach KAI how to deal with them. Fortunately this is very simple.

Building

Usual Cmake use:

 $ cd ${KAI_HOME} && mkdir build && cd build && cmake .. && make

KAI doesn't install anything anywhere and requires no specials permissions. Remove it with entirely with

 rm -rf ${KAI_HOME}

Add Include and Lib to your compiler by adding ${KAI_HOME}/Incude and ${KAI_HOME}/Lib respectivey.

Examples

TBD.

Tests

See Tests.

Clone this wiki locally