Machinations

Public Member Functions | Public Attributes | Properties | List of all members
Machinations.FromFlash.graph.GraphNode Class Reference

ancestor of all types of nodes More...

Inheritance diagram for Machinations.FromFlash.graph.GraphNode:

## Public Member Functions

| GraphNode ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
override void | CopyShift ()
override Point | GetPosition ()
Public Member Functions inherited from Machinations.FromFlash.graph.GraphElement
virtual void | Dispose ()
virtual void | UpdateDescription ()
virtual void | FinishLoading (List< GraphElement > elements)
virtual void | AddInput (MachinationsConnection connection)
virtual void | AddOutput (MachinationsConnection connection)
virtual void | RemoveInput (MachinationsConnection connection)
virtual void | RemoveOutput (MachinationsConnection connection)
object | Clone ()
virtual void | MoveBy (double x, double y, double z=0)
virtual void | MoveTo (double x, double y, double z=0)
virtual string | ToMMString ()
virtual string | GetMMName ()
string | GetMMExp ()
void | OnChanged (string reason, string message=null)
void | InhibitedChangeApply ()
void | TurnPoolsApply ()
void | Selected ()
void | UnSelected ()

## Public Attributes

Point | m_position
virtual NodeClass | NodeClass => NodeClass.None
Public Attributes inherited from Machinations.FromFlash.graph.GraphElement
Action | DescriptionChanged

## Properties

Point | Position`[get, set]`
Properties inherited from Machinations.FromFlash.graph.GraphElement
virtual IEnumerable< GraphConnection > | Inputs`[get]`
List< Pool > | TurnPools`[get, set]`
int | Id`[get, set]`
string | Description`[get]`
virtual IEnumerable< GraphConnection > | Outputs`[get]`
Graph | Graph`[get, set]`
Action | InhibitedChanged`[get, set]`
virtual bool | Inhibited`[get, set]`

## Additional Inherited Members

Protected Member Functions inherited from Machinations.FromFlash.graph.GraphElement
| GraphElement ()
void | DescriptionChange (int order, string text="")
virtual void | InhibitedChangeForReal ()
virtual void | OnPropertyChanged ([CallerMemberName] string propertyName=null)
Protected Attributes inherited from Machinations.FromFlash.graph.GraphElement
int | m_id
Graph | m_graph
| A graph, inside which this element is. During simulation, it should always be Machinations graph More...
List< GraphConnection > | m_inputs
List< GraphConnection > | m_outputs
List< Pool > | m_turnPools
bool | m_inhibited
bool | m_inhibitedNewState
Events inherited from Machinations.FromFlash.graph.GraphElement
EventHandler | Changed
Action | OnSelect
Action | OnUnselect
PropertyChangedEventHandler | PropertyChanged

## Detailed Description

ancestor of all types of nodes

## Constructor & Destructor Documentation

## ◆ GraphNode()

Machinations.FromFlash.graph.GraphNode.GraphNode | ( |  | ) |

## Member Function Documentation

## ◆ CopyShift()

override void Machinations.FromFlash.graph.GraphNode.CopyShift | ( |  | ) |

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ GenerateXml()

override XmlElement Machinations.FromFlash.graph.GraphNode.GenerateXml | ( | XmlDocument | document,
|  | XmlElement | element = `null`
| ) |  |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.FromFlash.machinations.model.Register, Machinations.FromFlash.machinations.model.Pool, Machinations.FromFlash.machinations.model.MachinationsNode, Machinations.UserComponents.InOutBase, Machinations.FromFlash.graph.CompatibilityNode, Machinations.FromFlash.machinations.model.Delay, Machinations.FromFlash.machinations.model.Gate, Machinations.UserComponents.OuterInOut, Machinations.FromFlash.machinations.model.ArtificialPlayer, and Machinations.FromFlash.machinations.model.Source.

## ◆ GetPosition()

override Point Machinations.FromFlash.graph.GraphNode.GetPosition | ( |  | ) |

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ ReadXml()

override void Machinations.FromFlash.graph.GraphNode.ReadXml | ( | XmlElement | element | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.FromFlash.machinations.model.Register, Machinations.FromFlash.machinations.model.Pool, Machinations.FromFlash.machinations.model.MachinationsNode, Machinations.UserComponents.InOutBase, Machinations.FromFlash.machinations.model.Delay, Machinations.FromFlash.machinations.model.Gate, Machinations.UserComponents.OuterInOut, Machinations.FromFlash.machinations.model.ArtificialPlayer, and Machinations.FromFlash.machinations.model.Source.

## Member Data Documentation

## ◆ m_position

Point Machinations.FromFlash.graph.GraphNode.m_position

## ◆ NodeClass

virtual NodeClass Machinations.FromFlash.graph.GraphNode.NodeClass => NodeClass.None

## Property Documentation

## ◆ Position

Point Machinations.FromFlash.graph.GraphNode.Position

get set

The documentation for this class was generated from the following file:

- FromFlash/graph/GraphNode.cs