Machinations

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Machinations.FromFlash.machinations.model.MachinationsConnection Class Reference

base class of resource and state connnections, have common thoings connected with machinations framework...so no connection things,those are in graphconnection More...

Inheritance diagram for Machinations.FromFlash.machinations.model.MachinationsConnection:

## Public Member Functions

void | ConnectToElement (GraphElement element, bool connectingStart)
void | DisconnectElement (bool connectingStart)
override void | Dispose ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
virtual void | Prepare (bool doEvents)
virtual void | Stop ()
virtual void | Update (double time)
Public Member Functions inherited from Machinations.FromFlash.graph.GraphConnection
Point | GetMiddlePoint ()
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 | 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

Color | Color
Label | Label
bool | DoEvents
double | Firing
double | Blocked
Action | VisualChanged
Public Attributes inherited from Machinations.FromFlash.graph.GraphConnection
virtual ConnectionClass | ConnectionClass => ConnectionClass.None
Public Attributes inherited from Machinations.FromFlash.graph.GraphElement
Action | DescriptionChanged

## Protected Member Functions

| MachinationsConnection ()
override void | InhibitedChangeForReal ()
Protected Member Functions inherited from Machinations.FromFlash.graph.GraphConnection
| GraphConnection ()
Protected Member Functions inherited from Machinations.FromFlash.graph.GraphElement
| GraphElement ()
void | DescriptionChange (int order, string text="")
virtual void | OnPropertyChanged ([CallerMemberName] string propertyName=null)

## Protected Attributes

bool | m_communicateInhibition = true
Protected Attributes inherited from Machinations.FromFlash.graph.GraphConnection
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

int | Thickness`[get, set]`
Properties inherited from Machinations.FromFlash.graph.GraphConnection
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]`

## Additional Inherited Members

Events inherited from Machinations.FromFlash.graph.GraphConnection
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

base class of resource and state connnections, have common thoings connected with machinations framework...so no connection things,those are in graphconnection

## Constructor & Destructor Documentation

## ◆ MachinationsConnection()

Machinations.FromFlash.machinations.model.MachinationsConnection.MachinationsConnection | ( |  | ) |

protected

## Member Function Documentation

## ◆ ConnectToElement()

void Machinations.FromFlash.machinations.model.MachinationsConnection.ConnectToElement | ( | GraphElement | element,
|  | bool | connectingStart
| ) |  |

## ◆ DisconnectElement()

void Machinations.FromFlash.machinations.model.MachinationsConnection.DisconnectElement | ( | bool | connectingStart | ) |

## ◆ Dispose()

override void Machinations.FromFlash.machinations.model.MachinationsConnection.Dispose | ( |  | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ GenerateXml()

override XmlElement Machinations.FromFlash.machinations.model.MachinationsConnection.GenerateXml | ( | XmlDocument | document,
|  | XmlElement | element = `null`
| ) |  |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphConnection.

Reimplemented in Machinations.FromFlash.machinations.model.StateConnection.

## ◆ InhibitedChangeForReal()

override void Machinations.FromFlash.machinations.model.MachinationsConnection.InhibitedChangeForReal | ( |  | ) |

protected virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.FromFlash.machinations.model.MergedResourceConnection, and Machinations.FromFlash.machinations.model.MergedStateConnection.

## ◆ Prepare()

virtual void Machinations.FromFlash.machinations.model.MachinationsConnection.Prepare | ( | bool | doEvents | ) |

virtual

Implements Machinations.FromFlash.machinations.model.IPreparable.

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

## ◆ ReadXml()

override void Machinations.FromFlash.machinations.model.MachinationsConnection.ReadXml | ( | XmlElement | element | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphConnection.

Reimplemented in Machinations.FromFlash.machinations.model.StateConnection.

## ◆ Stop()

virtual void Machinations.FromFlash.machinations.model.MachinationsConnection.Stop | ( |  | ) |

virtual

Reimplemented in Machinations.FromFlash.machinations.model.ResourceConnection.

## ◆ Update()

virtual void Machinations.FromFlash.machinations.model.MachinationsConnection.Update | ( | double | time | ) |

virtual

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

## Member Data Documentation

## ◆ Blocked

double Machinations.FromFlash.machinations.model.MachinationsConnection.Blocked

## ◆ Color

Color Machinations.FromFlash.machinations.model.MachinationsConnection.Color

## ◆ DoEvents

bool Machinations.FromFlash.machinations.model.MachinationsConnection.DoEvents

## ◆ Firing

double Machinations.FromFlash.machinations.model.MachinationsConnection.Firing

## ◆ Label

Label Machinations.FromFlash.machinations.model.MachinationsConnection.Label

## ◆ m_communicateInhibition

bool Machinations.FromFlash.machinations.model.MachinationsConnection.m_communicateInhibition = true

protected

## ◆ VisualChanged

Action Machinations.FromFlash.machinations.model.MachinationsConnection.VisualChanged

## Property Documentation

## ◆ Thickness

int Machinations.FromFlash.machinations.model.MachinationsConnection.Thickness

get set

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

- FromFlash/machinations/model/MachinationsConnection.cs