All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Using this package

How to use this package

General introduction

Objects, which are derived from Entities (base class dynamicgraph::Entity), can be declared within the code and compiled to shared libraries (.so/.dll files). These libraries can be loaded at run-time using the PluginLoader methods, and at the same time register their class names to the Factory (see the examples in the sot-core documentation for advanced control examples).

The Factory can then create instances of these objects and subsequently register them in the Pool, where they can be listed, accessed, and acted upon (see PoolStorage documentation). Basic commands defined by entities include signal connection graph file generation, help and name print, and signals. This is usually done through a scripting language such as python (see dynamic-graph-python)

The singletons made available by including the corresponding headers in this module are:

For an example of a program creating entities in C++, see the unit test test_pool.cpp (in your package source directory/tests).

Tutorial

A tutorial is available here

Helpers

When writing entities you might use some macros which are very useful to write your class. They are given also in the sot-core package as well.