Machinations

Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
Machinations.UserComponents.InOutBase Class Referenceabstract
Inheritance diagram for Machinations.UserComponents.InOutBase:

## Public Member Functions

override void | AddInput (MachinationsConnection connection)
override void | AddOutput (MachinationsConnection connection)
override void | RemoveInput (MachinationsConnection connection)
override void | RemoveOutput (MachinationsConnection connection)
override void | Dispose ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
virtual void | UpdateFields (InOutBase source)
bool | IsSimilar (OuterInOut other)
Public Member Functions inherited from Machinations.FromFlash.graph.GraphNode
| GraphNode ()
override void | CopyShift ()
override Point | GetPosition ()
Public Member Functions inherited from Machinations.FromFlash.graph.GraphElement
virtual void | UpdateDescription ()
virtual void | FinishLoading (List< GraphElement > elements)
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 ()

## Protected Member Functions

| InOutBase ()
| InOutBase (IUserComponentSchema userComponent, Point position, int inOutNumber)
abstract bool | DirectionChecked (bool directionIn)
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

readonly List< MachinationsConnection > | m_connections
bool | m_input
ConnectionClass | m_conClass
string | m_name
IUserComponentSchema | m_userComponent
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

abstract string | InOutType`[get]`
abstract bool | Inner`[get]`
bool | Input`[get]`
ConnectionClass | ConClass`[get]`
int | InOutNumber`[get]`
IUserComponentSchema | UserComponent`[get, set]`
string | Name`[get, set]`
Properties inherited from Machinations.FromFlash.graph.GraphNode
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

Public Attributes inherited from Machinations.FromFlash.graph.GraphNode
Point | m_position
virtual NodeClass | NodeClass => NodeClass.None
Public Attributes inherited from Machinations.FromFlash.graph.GraphElement
Action | DescriptionChanged
Events inherited from Machinations.FromFlash.graph.GraphElement
EventHandler | Changed
Action | OnSelect
Action | OnUnselect
PropertyChangedEventHandler | PropertyChanged

## Constructor & Destructor Documentation

## ◆ InOutBase() [1/2]

Machinations.UserComponents.InOutBase.InOutBase | ( |  | ) |

protected

## ◆ InOutBase() [2/2]

Machinations.UserComponents.InOutBase.InOutBase | ( | IUserComponentSchema | userComponent,
|  | Point | position,
|  | int | inOutNumber
| ) |  |

protected

## Member Function Documentation

## ◆ AddInput()

override void Machinations.UserComponents.InOutBase.AddInput | ( | MachinationsConnection | connection | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ AddOutput()

override void Machinations.UserComponents.InOutBase.AddOutput | ( | MachinationsConnection | connection | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ DirectionChecked()

abstract bool Machinations.UserComponents.InOutBase.DirectionChecked | ( | bool | directionIn | ) |

protected pure virtual

Implemented in Machinations.UserComponents.OuterInOut, and Machinations.UserComponents.InnerInOut.

## ◆ Dispose()

override void Machinations.UserComponents.InOutBase.Dispose | ( |  | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ GenerateXml()

override XmlElement Machinations.UserComponents.InOutBase.GenerateXml | ( | XmlDocument | document,
|  | XmlElement | element = `null`
| ) |  |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphNode.

Reimplemented in Machinations.UserComponents.OuterInOut.

## ◆ IsSimilar()

bool Machinations.UserComponents.InOutBase.IsSimilar | ( | OuterInOut | other | ) |

## ◆ ReadXml()

override void Machinations.UserComponents.InOutBase.ReadXml | ( | XmlElement | element | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphNode.

Reimplemented in Machinations.UserComponents.OuterInOut.

## ◆ RemoveInput()

override void Machinations.UserComponents.InOutBase.RemoveInput | ( | MachinationsConnection | connection | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ RemoveOutput()

override void Machinations.UserComponents.InOutBase.RemoveOutput | ( | MachinationsConnection | connection | ) |

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ UpdateFields()

virtual void Machinations.UserComponents.InOutBase.UpdateFields | ( | InOutBase | source | ) |

virtual

## Member Data Documentation

## ◆ m_conClass

ConnectionClass Machinations.UserComponents.InOutBase.m_conClass

protected

## ◆ m_connections

readonly List<MachinationsConnection> Machinations.UserComponents.InOutBase.m_connections

protected

## ◆ m_input

bool Machinations.UserComponents.InOutBase.m_input

protected

## ◆ m_name

string Machinations.UserComponents.InOutBase.m_name

protected

## ◆ m_userComponent

IUserComponentSchema Machinations.UserComponents.InOutBase.m_userComponent

protected

## Property Documentation

## ◆ ConClass

ConnectionClass Machinations.UserComponents.InOutBase.ConClass

get

## ◆ Inner

abstract bool Machinations.UserComponents.InOutBase.Inner

get protected

## ◆ InOutNumber

int Machinations.UserComponents.InOutBase.InOutNumber

get

## ◆ InOutType

abstract string Machinations.UserComponents.InOutBase.InOutType

get

## ◆ Input

bool Machinations.UserComponents.InOutBase.Input

get

## ◆ Name

string Machinations.UserComponents.InOutBase.Name

get set

## ◆ UserComponent

IUserComponentSchema Machinations.UserComponents.InOutBase.UserComponent

get set

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

- UserComponents/InOutBase.cs