Search Results for

    Show / Hide Table of Contents

    Interface ITask

    Task that can be executed by ITaskSystems. Needs to be updated with FullUpdate() in order to perform work.

    Namespace: i5.VirtualAgents
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ITask

    Properties

    State

    The current state of the task

    Declaration
    TaskState State { get; set; }
    Property Value
    Type Description
    TaskState

    Methods

    EvaluateTaskState()

    Evaluates the task's current state

    Declaration
    TaskState EvaluateTaskState()
    Returns
    Type Description
    TaskState

    StartExecution(Agent)

    Gets the reference to the agent which will execute this task Starts the task's execution

    Declaration
    void StartExecution(Agent executingAgent)
    Parameters
    Type Name Description
    Agent executingAgent

    StopExecution()

    Called when the task succeedes or fails

    Declaration
    void StopExecution()

    Tick(Agent)

    Updates the State and automatically invokes StartExecution() on first update and StopExeuction() when task succeeds/fails.

    Declaration
    TaskState Tick(Agent excutingAgent)
    Parameters
    Type Name Description
    Agent excutingAgent
    Returns
    Type Description
    TaskState
    In This Article
    Back to top Documentation of the Virtual Agents Framework