Changes between Version 1 and Version 2 of PluginHowto


Ignore:
Timestamp:
12/11/12 16:22:36 (7 years ago)
Author:
ggierse
Comment:

added links to BlackBoard and Interfaces page

Legend:

Unmodified
Added
Removed
Modified
  • PluginHowto

    v1 v2  
    55 
    66== Building Blocks  == 
    7 Each plugin consists of one or more ''threads'' which can either be hooked into a ''main loop'' shared with all other threads in Fawkes, or concurrent to Fawkes and the other threads. Plugins communicate with each other using the ''blackboard''. It stored data structures called interfaces and commands can be send using messages. Threads within a plugin also often communicate via the blackboard. But sometimes it is required or useful that they share some memory. Plugins are ''configured'' from a central subsystem in Fawkes that reads values from a [wiki:Configuration YAML-based configuration] store. Likewise plugin use a centralized ''logging'' system and a shared ''clock''. All these (and more) features are easily accessible using ''aspects''. Think of them as tags that you give your thread class that indicate the requirements to Fawkes which it will then assert for you. 
     7Each plugin consists of one or more ''threads'' which can either be hooked into a ''main loop'' shared with all other threads in Fawkes, or concurrent to Fawkes and the other threads. Plugins communicate with each other using the [wiki:BlackBoard]. It stored data structures called [wiki:Interfaces] and commands can be send using messages. Threads within a plugin also often communicate via the blackboard. But sometimes it is required or useful that they share some memory. Plugins are ''configured'' from a central subsystem in Fawkes that reads values from a [wiki:Configuration YAML-based configuration] store. Likewise plugin use a centralized ''logging'' system and a shared ''clock''. All these (and more) features are easily accessible using ''aspects''. Think of them as tags that you give your thread class that indicate the requirements to Fawkes which it will then assert for you. 
    88 
    99== Writing the Plugin Skeleton ==