Click or drag to resize

Node Class

Major building block of the Xirkit library. Each Circuit contains Node instances.

A single object instance of any type can be hosted inside a node. This way any arbitrary object can participate in a Circuit. Node instances within a Circuit are interconnected using in-pins and out-pins. The internal connection from pins to actual members (properties and fields) of the contained object are done using IMemberAccessorTs.

Inheritance Hierarchy
SystemObject
  Fusee.XirkitNode

Namespace:  Fusee.Xirkit
Assembly:  Fusee.Xirkit (in Fusee.Xirkit.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class Node

The Node type exposes the following members.

Constructors
  NameDescription
Public methodNode
Constructs a new node
Top
Properties
  NameDescription
Public propertyAllPinsActual
Gets a value indicating whether all in-pins have been updated actual since the last call to Reset.
Public propertyInPins
Gets the in pins.
Public propertyO
Gets or sets the object to host by this node.
Public propertyOutPins
Gets the out pins.
Top
Methods
  NameDescription
Public methodAttach
Attaches this Node's object's member (speceified by thisMember) to the the specified member of the object hosted by the other node. A member can be any field or property.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPropagate
Propagates the values at the object's members' to all in-pins connected to each out-pin connected to a member of this Node's hosted object.
Public methodRemoveAllPins
Removes all pins.
Public methodReset
Resets this instance by considering all in-pins to contain "dirty" values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also