Skip to content

Struct Tryll::Client::AgentVariableDecl

ClassList > Tryll > Client > AgentVariableDecl

More...

  • #include <AgentVariables.h>

Public Attributes

Type Name
bool allowOutputSubstitution = false
VariableValue initial
std::string name

Detailed Description

One declared variable + its initial value, supplied to Tryll::Client::TryllClient::CreateAgent. The complete declaration for an agent — every variable it will ever have — must be supplied there; post-create writes to an undeclared name fail locally (no wire call).

Public Attributes Documentation

variable allowOutputSubstitution

bool Tryll::Client::AgentVariableDecl::allowOutputSubstitution;

When true, this variable may appear as __NAME__ in Generate / GenerateAndSpeak output. Immutable declaration metadata (default false).


variable initial

VariableValue Tryll::Client::AgentVariableDecl::initial;

variable name

std::string Tryll::Client::AgentVariableDecl::name;


The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/cpp/include/tryll/AgentVariables.h