Skip to content

FThinkTickFunction

struct FThinkTickFunction : public FTickFunction

A struct that represents the think portion of the tick function for the agent.

Dependencies: IInferenceAgent

Inherits from: public FTickFunction

Public Interface

Constructors:

FThinkTickFunction

FThinkTickFunction(IInferenceAgent *Agent)

Constructor with agent parameter.

Parameters:

  • Agent (IInferenceAgent *) – The agent associated with this tick function.

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 141, column 1)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 135-144)

FThinkTickFunction

inline FThinkTickFunction()

Attributes: inline

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 143, column 1)

Public Functions:

ExecuteTick

void ExecuteTick(float DeltaTime, ELevelTick TickType, ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) override

Execute the tick function.

Parameters:

  • DeltaTime (float) – [in] The time since the last tick.
  • TickType (ELevelTick) – [in] The type of tick.
  • CurrentThread (ENamedThreads::Type) – [in] The current thread.
  • MyCompletionGraphEvent (const FGraphEventRef &) – [in] The completion graph event.

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 155, column 6)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 146-152)

DiagnosticMessage

virtual FString DiagnosticMessage() override

Abstract function to describe this tick.

Used to print messages about illegal cycles in the dependency graph

Returns: FString

Attributes: virtual

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 158, column 17)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 154-157)

DiagnosticContext

virtual FName DiagnosticContext(bool bDetailed) override

Parameters:

NameTypeDefault
bDetailedbool

Returns: FName

Attributes: virtual

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 159, column 14)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 159-162)

Public Members:

TScriptInterface<IInferenceAgent> Agent

TScriptInterface<IInferenceAgent> Agent

The agent associated with this tick function.

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 135, column 18)

Used By

This type is used by:

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 129, column 1)