Skip to content

Architecture InterModule Communication

David Chan edited this page Jul 12, 2016 · 1 revision

Inter-Module Communication

Modules are very separate in the main system, which is why we provide two tools for modules to communicate - the Bazaar and Intents.

The Bazaar

The Bazaar is the implementation of shared memory which the modules depend on for communicating non-string information. The Bazaar is a wrapper on the memory class, and provides key-value pairs of the type "string":shared_ptrboost::any, which allows for the simple serialization of any data type. The Bazaar is described more in detail HERE

Intents

Intents are basically strings, which can be sent from module to module. They are described more in detail HERE