• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • Plan
  • Plan Class

    A behavior script written in OPAL (OctoMY Plan Action Language). More...

    Header: #include <Plan>
    Since: 1.0
    Inherits: QEnableSharedFromThis

    Detailed Description

    Plan represents a single OPAL script that defines agent behaviors. Plans have a name, unique ID, content (the OPAL code), and timestamps for creation and last modification.

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

    See also PlanBook, plan::editor::PlanEditor, and PlanHighlighter.