Machinations

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

ancestor of connections classes, has startelement and endelement plus points handles the stuff about being a connection More...

Inheritance diagram for Machinations.FromFlash.graph.GraphConnection:

## Public Member Functions

Point | GetMiddlePoint ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
void | EndConnectedInvoke (IObjectView< GraphElement > elementView)
void | StartConnectedInvoke (IObjectView< GraphElement > elementView)
override void | CopyShift ()
override Point | GetPosition ()
void | ForceChangeInhibition (bool inhibited)
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

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

## Protected Member Functions

| GraphConnection ()
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

GraphElement | m_start
GraphElement | m_end
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

## Properties

GraphElement | Start`[get, set]`
GraphElement | End`[get, set]`
PointCollection | Points`[get]`
int | StartId`[get, set]`
int | EndId`[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]`

## Events

Action< IObjectView< GraphElement > > | EndConnected
Action< IObjectView< GraphElement > > | StartConnected
Events inherited from Machinations.FromFlash.graph.GraphElement
EventHandler | Changed
Action | OnSelect
Action | OnUnselect
PropertyChangedEventHandler | PropertyChanged

## Detailed Description

ancestor of connections classes, has startelement and endelement plus points handles the stuff about being a connection

## Constructor & Destructor Documentation

## ◆ GraphConnection()

Machinations.FromFlash.graph.GraphConnection.GraphConnection | ( |  | ) |

protected

## Member Function Documentation

## ◆ CopyShift()

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

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ EndConnectedInvoke()

void Machinations.FromFlash.graph.GraphConnection.EndConnectedInvoke | ( | IObjectView< GraphElement > | elementView | ) |

## ◆ ForceChangeInhibition()

void Machinations.FromFlash.graph.GraphConnection.ForceChangeInhibition | ( | bool | inhibited | ) |

## ◆ GenerateXml()

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

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.FromFlash.machinations.model.StateConnection, and Machinations.FromFlash.machinations.model.MachinationsConnection.

## ◆ GetMiddlePoint()

Point Machinations.FromFlash.graph.GraphConnection.GetMiddlePoint | ( |  | ) |

## ◆ GetPosition()

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

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ ReadXml()

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

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.FromFlash.machinations.model.StateConnection, and Machinations.FromFlash.machinations.model.MachinationsConnection.

## ◆ StartConnectedInvoke()

void Machinations.FromFlash.graph.GraphConnection.StartConnectedInvoke | ( | IObjectView< GraphElement > | elementView | ) |

## Member Data Documentation

## ◆ ConnectionClass

virtual ConnectionClass Machinations.FromFlash.graph.GraphConnection.ConnectionClass => ConnectionClass.None

## ◆ m_end

GraphElement Machinations.FromFlash.graph.GraphConnection.m_end

protected

## ◆ m_start

GraphElement Machinations.FromFlash.graph.GraphConnection.m_start

protected

## Property Documentation

## ◆ End

GraphElement Machinations.FromFlash.graph.GraphConnection.End

get set

## ◆ EndId

int Machinations.FromFlash.graph.GraphConnection.EndId

get set

## ◆ Points

PointCollection Machinations.FromFlash.graph.GraphConnection.Points

get

## ◆ Start

GraphElement Machinations.FromFlash.graph.GraphConnection.Start

get set

## ◆ StartId

int Machinations.FromFlash.graph.GraphConnection.StartId

get set

## Event Documentation

## ◆ EndConnected

Action<IObjectView<GraphElement> > Machinations.FromFlash.graph.GraphConnection.EndConnected

## ◆ StartConnected

Action<IObjectView<GraphElement> > Machinations.FromFlash.graph.GraphConnection.StartConnected

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

- FromFlash/graph/GraphConnection.cs