Exemple #1
0
 public override Node.NodeState Clone(NodeScopeState newParentNodeScopeState)
 {
     return new NodeState(this, newParentNodeScopeState);
 }
Exemple #2
0
            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);
            }
Exemple #3
0
            // 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);
            }
Exemple #4
0
 protected override Node.NodeState GetInitialNodeState(NodeScopeState parentNodeScopeState, string parentNodeInitialBasicName, NodeTechniqueDetermination nameOfInitiallyActiveTechnique)
 {
     return new Timer.NodeState(this, parentNodeScopeState, parentNodeInitialBasicName, nameOfInitiallyActiveTechnique);
 }