Skip to content

FActTickFunction

struct FActTickFunction : public FTickFunction

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

Dependencies: IInferenceAgent

Inherits from: public FTickFunction

Public Interface

Constructors:

FActTickFunction

FActTickFunction(IInferenceAgent *Agent, bool bStopAfterCurrentTick=false)

Constructor with agent and stop flag parameters.

Parameters:

  • Agent (IInferenceAgent *) – [in] The agent associated with this tick function.
  • bStopAfterCurrentTick (bool) – [in] Whether to stop after the current tick.

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

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 164-174)

FActTickFunction

inline FActTickFunction()

Attributes: inline

Source: Schola/Source/Schola/Public/Inference/IInferenceAgent.h (line 195, 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 207, column 6)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 176-186)

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 210, column 17)

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 188-191)

DiagnosticContext

virtual FName DiagnosticContext(bool bDetailed) override

Parameters:

NameTypeDefault
bDetailedbool

Returns: FName

Attributes: virtual

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

Implementation: Schola/Source/Schola/Private/Inference/IInferenceAgent.cpp (lines 193-196)

Public Members:

TScriptInterface<IInferenceAgent> Agent

TScriptInterface<IInferenceAgent> Agent

The agent associated with this tick function.

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

bool bStopAfterCurrentTick

bool bStopAfterCurrentTick = = false

Whether to stop after the current tick.

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

Used By

This type is used by:

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