Directive

Container for triggers that form a directive.

Declared in src/libs/libtrigger/trigger/Directive.hpp
Inherits QEnableSharedFromThis
Group trigger

Detailed description

Directive represents a collection of triggers that define automated behavior. It stores content, timestamps, and provides serialization to/from QVariantMap for persistence.

It is thread safe. DirectorateBook gives out shared pointers to its directives, and the owner changes them in place while the AsyncStore worker of the book calls toVariantMap() on its thread. One mutex guards every field. Each Trigger guards its own fields.

See also DirectorateBook, Trigger.

In this section