public void OnAddOutputParam(IParam param) { ParamOC paramOC = new ParamOC(param); m_OutputParams.Add(paramOC); AddComponet(paramOC); }
public void OnAddInputParam(IParam param) { ParamIC paramIC = new ParamIC(param); m_InputParams.Add(paramIC); AddComponet(paramIC); }
public virtual void NotifyAddInputParam(IParam param) { OnInputParamEvent?.Invoke(EInputParamEvent.AddParam, param); foreach (FunctionCallNode callNode in CallNodes) { callNode.OnAddInputParam(param); } foreach (FunctionEntryNode entryNode in EntryNodes) { entryNode.OnAddOutputParam(param); } }
public virtual void NotifyAddOutputParam(IParam param) { OnOutputParamEvent?.Invoke(EOutputParamEvent.AddParam, param); foreach (FunctionCallNode callNode in CallNodes) { callNode.OnAddOutputParam(param); } foreach (FunctionReturnNode returnNode in ReturnNodes) { returnNode.OnAddInputParam(param); } }
public void OutputParamEventProc(Function.EOutputParamEvent eOutputParamEvent, IParam param) { switch (eOutputParamEvent) { case Function.EOutputParamEvent.AddParam: if (m_Function.ReturnNodeCount == 0) { AddFristReturnNode(); } break; } }
public ParamOC(IParam param) { m_Param = param; }
public ParamDefaultDrawer(IParam param) { m_Param = param; }
public void AddParam(IParam variable) => m_DiObjectManager.AddObject(variable);