v3.9.1 Documentation
Fungus.VariableBase< T > Class Template Reference

Generic concrete base class for variables. More...

Inheritance diagram for Fungus.VariableBase< T >:
Fungus.Variable

Public Member Functions

override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
 
override string ToString ()
 
virtual void Apply (SetOperator setOperator, T value)
 

Protected Member Functions

virtual void Start ()
 

Protected Attributes

value
 
startValue
 
- Protected Attributes inherited from Fungus.Variable
VariableScope scope
 
string key = ""
 

Properties

virtual T Value [get, set]
 
- Properties inherited from Fungus.Variable
virtual VariableScope Scope [get, set]
 Visibility scope for the variable. More...
 
virtual string Key [get, set]
 String identifier for the variable. More...
 

Detailed Description

Generic concrete base class for variables.

Definition at line 131 of file Variable.cs.

Member Function Documentation

◆ Apply()

virtual void Fungus.VariableBase< T >.Apply ( SetOperator  setOperator,
value 
)
virtual

Definition at line 199 of file Variable.cs.

◆ OnReset()

override void Fungus.VariableBase< T >.OnReset ( )
virtual

Callback to reset the variable if the Flowchart is reset.

Implements Fungus.Variable.

Definition at line 183 of file Variable.cs.

◆ Start()

virtual void Fungus.VariableBase< T >.Start ( )
protectedvirtual

Definition at line 193 of file Variable.cs.

◆ ToString()

override string Fungus.VariableBase< T >.ToString ( )

Definition at line 188 of file Variable.cs.

Member Data Documentation

◆ startValue

T Fungus.VariableBase< T >.startValue
protected

Definition at line 181 of file Variable.cs.

◆ value

T Fungus.VariableBase< T >.value
protected

Definition at line 154 of file Variable.cs.

Property Documentation

◆ Value

virtual T Fungus.VariableBase< T >.Value
getset

Definition at line 156 of file Variable.cs.


The documentation for this class was generated from the following file: