* Elements [#f291c0d4]
A module of SkyAI is a C++ class; in order to be compatible with the SkyAI system, each module should be a subclass of ''TModuleInterface''.  Of course, a module can be inherited from any subclass of TModuleInterface.

Each module consists of the following elements:

* Port [#l09828fe]
Generally in C++, classes communicate with each other through their member functions.
In SkyAI, a port is a kind of member function for the inter-module communication, but is encapsulated as a ''port class'' in order to enable the user to connect and disconnect the ports in an agent script.
Each module can have any number of ports.  Ports can be connected and disconnected at any time in execution, which enables to reconfigure the modular structure.

There are four kinds of ports:



Front page   New List of pages Search Recent changes   Help   RSS of recent changes