• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ParameterType
  • ParameterType Struct

    Describes one type of trigger phrase parameter: its name, how it prints, how it is edited and its default value. More...

    Header: #include <ParameterType>
    Since: 1.0

    Detailed Description

    typeName is the key that ParameterTypeRegistry stores the type under, and the type a phrase token such as [path:local-path] names. toString turns a value into the text that ParameterPhrase::filledPhrase() puts in the phrase. defaultValue is the value ParameterPhrase::prepareDefaultValues() sets. inputMethod shows an editor at a screen position and gives the new value to a callback. Nothing in the tree calls it yet.

    The registry holds each type through a QSharedPointer, and ParameterTypeRegistry::getType() returns that pointer.

    See also ParameterTypeRegistry.