Class CeresBlackboard
public class CeresBlackboard : Blackboard, IVariableSource, IDisposable
- Inheritance
-
CeresBlackboard
- Implements
- Derived
Constructors
CeresBlackboard(CeresGraphView)
protected CeresBlackboard(CeresGraphView graphView)
Parameters
graphViewCeresGraphView
CeresBlackboard(IVariableSource, GraphView)
public CeresBlackboard(IVariableSource source, GraphView graphView)
Parameters
sourceIVariableSourcegraphViewGraphView
Properties
AlwaysExposed
public bool AlwaysExposed { get; set; }
Property Value
SharedVariables
public List<SharedVariable> SharedVariables { get; }
Property Value
Methods
AddVariable(SharedVariable, bool)
public void AddVariable(SharedVariable variable, bool fireEvents)
Parameters
variableSharedVariablefireEventsbool
AddVariableRow(SharedVariable, BlackboardRow)
protected virtual void AddVariableRow(SharedVariable variable, BlackboardRow blackboardRow)
Parameters
variableSharedVariableblackboardRowBlackboardRow
BuildBlackboardMenu(ContextualMenuPopulateEvent, CeresBlackboardVariableRow)
protected virtual void BuildBlackboardMenu(ContextualMenuPopulateEvent evt, CeresBlackboardVariableRow variableRow)
Parameters
evtContextualMenuPopulateEventvariableRowCeresBlackboardVariableRow
CanVariableExposed(SharedVariable)
Whether variable can be exposed in blackboard
protected virtual bool CanVariableExposed(SharedVariable variable)
Parameters
variableSharedVariable
Returns
CreateBlackboardMenu(GenericMenu)
protected virtual void CreateBlackboardMenu(GenericMenu menu)
Parameters
menuGenericMenu
CreateVariableBlackboardRow(SharedVariable, BlackboardField, VisualElement)
Create BlackboardRow for variable
protected virtual BlackboardRow CreateVariableBlackboardRow(SharedVariable variable, BlackboardField blackboardField, VisualElement valueField)
Parameters
variableSharedVariableblackboardFieldBlackboardFieldvalueFieldVisualElement
Returns
Dispose()
public void Dispose()
EditVariable(string)
public void EditVariable(string variableName)
Parameters
variableNamestring
FindRow(SharedVariable)
protected CeresBlackboardVariableRow FindRow(SharedVariable variable)
Parameters
variableSharedVariable
Returns
GetOrAddSection(string)
protected BlackboardSection GetOrAddSection(string sectionName)
Parameters
sectionNamestring
Returns
GetValidVariableName(SharedVariable)
public string GetValidVariableName(SharedVariable variable)
Parameters
variableSharedVariable
Returns
RemoveVariable(SharedVariable, bool)
public void RemoveVariable(SharedVariable variable, bool fireEvents)
Parameters
variableSharedVariablefireEventsbool