public override Node.NodeState Clone(NodeScopeState newParentNodeScopeState) { return new NodeState(this, newParentNodeScopeState); }
protected internal NodeState(Timer parentNode, NodeScopeState parentNodeScopeState, string parentNodeInitialBasicName, NodeTechniqueDetermination initialActiveTechniqueDetermination) : base(parentNode, parentNodeScopeState, parentNodeInitialBasicName, initialActiveTechniqueDetermination) { // This constructor is called when the parent node is created. // To create each property, we call AddProperty (rather to GetProperty). UpdateObjectProperty = AddProperty(NameOfUpdateObject); UpdateIntervalProperty = AddProperty(NameOfInterval); ResetProperty = AddProperty(NameOfReset); frameProperty = AddProperty(NameOfFrame); }
// For cloning. protected NodeState(NodeState source, NodeScopeState parentNodeScopeState) : base(source, parentNodeScopeState) { // This constructor is called whenever the node state is copied. // To copy each property, we call GetProperty (rather than AddProperty). UpdateObjectProperty = GetProperty(NameOfUpdateObject); UpdateIntervalProperty = GetProperty(NameOfInterval); ResetProperty = GetProperty(NameOfReset); frameProperty = GetProperty(NameOfFrame); }
protected override Node.NodeState GetInitialNodeState(NodeScopeState parentNodeScopeState, string parentNodeInitialBasicName, NodeTechniqueDetermination nameOfInitiallyActiveTechnique) { return new Timer.NodeState(this, parentNodeScopeState, parentNodeInitialBasicName, nameOfInitiallyActiveTechnique); }