Sage Modeling and Simulation Library

PfcElementFactory Methods

The PfcElementFactory type exposes the following members.


  Name Description
Public method CreateLinkElement
Creates a link element with the provided characteristics.
Public method CreateStepNode
Creates a step node with the provided characteristics. Calls NewStepNode(...) to instantiate the new node.
Public method CreateTransitionNode
Creates a transition node with the provided characteristics.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Initialize(IPfcStepNode)
Public method Initialize(IPfcTransitionNode)
Public method Initialize(IPfcLinkElement)
Public method IsCanonicallyNamed
Returns true if the name of this element conforms to the naming rules that this factory imposes.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NewLinkElement
Public method NewStepNode
Public method NewTransitionNode
Public method OnPfcLoadCompleted
Called when the loading of a new PFC has been completed.
Public method Retract
Causes Step, Transition and Link naming cursors to retract to the sequentially-earliest name that is not currently assigned in the PFC. That is, if the next transition name to be assigned was T_044, and the otherwise-highest assigned name was T_025, the transition naming cursor would retract to T_026. The Step and Link cursors would likewise retract as a result of this call.
Public method SetRepeatable
If this is called, then a repeatable Pfc will be created - Guid generation starts with {00000000-0000-0000-0000-000000000001} and increments each time. This is only useful for testing - otherwise, it is dangerous.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)