MicoleLib Overview
[MicoleLib documentation]

Collaboration diagram for MicoleLib Overview:

Overview of MicoleLib

Concept

The MicoleLib is based on a software bus which can transfer informations beetween different "agents". Each agent (MicoleAgent class) can provides differents "services" (constraint Phantom device on a point, display an object on a Braille cell) but it can have a simple task to do (send the Phantom's coordinates on the bus, send VTPlayer status).

All the commands and informations are sent on the bus like if you broadcast on a network. When the system wants some informations it can find it on the bus. Some agents need their own thread because they work in parallel with the main program (coordinates sender agent for example). The goal is to be able to render the same information with different devices.

The visual and haptic rendering use the Reachin API. The VTPlayer rendering uses an API developped at the Universit of Metz and uses the libusb.

MicoleBus

Technically, the MicoleBus is simply a buffered messages system with a regular expressions parser that could broadcast messages on all MicoleAgent. You can easily create you own "catcher/bind" using regular expressions. MicoleBus supports "catch parenthesis" so you don't need to extract information (string) from messages.

If you don't know how works regular expression, you can visit this page.


Generated on Tue Oct 16 17:10:47 2007 for Micole by  doxygen 1.4.7