This code implements the factory design pattern, making creation of features, tasks and other objects available. More...
Classes | |
class | dynamicgraph::sot::AdditionalFunctions |
This helper class dynamically overloads the "new" shell command to allow creation of tasks and features as well as entities. More... | |
class | dynamicgraph::sot::PoolStorage |
This singleton class keep tracks of all features and tasks. More... | |
This code implements the factory design pattern, making creation of features, tasks and other objects available.
Objects, which are derived from Entities, Tasks, or Features, can be declared within the code and compiled to C++ python modules. These modules can be imported at run-time and register their class names to the Factory (see the sotFactory documentation to learn how).
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 sot::PoolStorage documentation). Basic commands defined by entities include signal connection graph file generation, help and name print, and signals.
The public static objects (singletons) made available by including the corresponding headers in this module are: