Package laas.openrobots.ontology.modules.events

Provides the cognitive event manager module.

Overview of the events usage

Events are triggered by so-called Watchers (classes that implement the IWatcher interface).

A watcher stores the type of event (cf IWatcher.EventType) along with the pattern (the form of the pattern depends on the type of event, as documented here: IWatcher.EventType).

For convenience, a generic watcher (GenericWatcher) is provided, as well as more specialized ones like NewClassInstanceWatcher.

The events can eventually be registered to an ontology backend by calling IOntologyBackend.registerEvent(IWatcher).

Examples can be found in the EventsTest test-suite.

Since:
0.3.2