DirectorateBook

Persistent storage for Directive definitions.

Inherits QObject and SimpleDataStore
Group trigger

Declared in src/libs/libtrigger/trigger/DirectorateBook.hpp.

Detailed description

DirectorateBook manages a collection of Directive objects with persistence through SimpleDataStore. It provides CRUD operations, filtering, and signals for directive changes.

It is thread safe. The AsyncStore worker calls fromMap(), toMap() and fromDefault() on its thread while the owner uses the book on its thread. One mutex guards the directives for both, and no signal is emitted while it is held. Each Directive, and each Trigger in it, guards its own fields.

See also Directive, SimpleDataStore, DirectorateBookWidget.

In this section