Machinations

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

## Public Member Functions

abstract void | AddLoadedOuterInOut (OuterInOut inOut)
abstract IUserComponentSchema | GetUcScheme ()
abstract bool | IsSimilar (IUserComponentInstance model)
abstract void | UpdateOuters ()
abstract void | AppendToGraph (Graph graph)
override void | AddInput (MachinationsConnection connection)
override Point | GetPosition ()
override void | CopyShift ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
void | Zip ()
void | UnZip ()
void | ZipUnzipGraphElements ()
Public Member Functions inherited from Machinations.FromFlash.graph.GraphElement
virtual void | Dispose ()
virtual void | UpdateDescription ()
virtual void | FinishLoading (List< GraphElement > elements)
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 Member Functions inherited from Machinations.UserComponents.IUserComponentInstance
void | Dispose ()

## Public Attributes

List< GraphElement > | UnzippedElements => m_unzippedElements ?? InternalGraph.Elements
Public Attributes inherited from Machinations.FromFlash.graph.GraphElement
Action | DescriptionChanged

## Protected Member Functions

| UcInstanceBase ()
void | CreateMergedInOuts (IEnumerable< InnerInOut > innerInOuts)
void | ZipOrUnzip ()
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

string | m_name
Point | m_position
int | m_radius
readonly List< OuterInOut > | m_outerInOuts
readonly List< IInOut > | m_inOuts
bool | m_zip
| pokud je true, je komponenta zabalena, takze jsou videt outer connections, tj spoje mezi ostatnimi castmi grafu a USInputy pokud je false, je komponenta rozbalena,takze je soucasti grafu More...
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 UserComponentGraph | InternalGraph`[get]`
string | Name`[get, set]`
Point | Position`[get, set]`
int | Radius`[get, set]`
Color | Color`[get, set]`
Action | ComponentChanged`[get, set]`
IEnumerable< OuterInOut > | OuterInOuts`[get]`
IEnumerable< MachinationsNode > | ClickableNodes`[get]`
bool | IsZipped`[get]`
abstract int | CurrentCard`[get, set]`
abstract IEnumerable< GraphElement > | PresentedElements`[get]`
abstract int | InstanceNumber`[get]`
abstract UserComponentType | Type`[get]`
abstract IEnumerable< InnerInOut > | MyInnerInOuts`[get]`
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]`
Properties inherited from Machinations.UserComponents.IUserComponentInstance
UserComponentGraph | InternalGraph`[get]`
List< GraphElement > | UnzippedElements`[get]`
Action | InhibitedChanged`[get, set]`
string | Name`[get, set]`
Point | Position`[get, set]`
int | Radius`[get, set]`
int | CurrentCard`[get, set]`
bool | Inhibited`[get, set]`
Color | Color`[get, set]`
Action | ComponentChanged`[get, set]`
IEnumerable< GraphElement > | PresentedElements`[get]`
IEnumerable< OuterInOut > | OuterInOuts`[get]`
int | InstanceNumber`[get]`
UserComponentType | Type`[get]`

## Additional Inherited Members

Events inherited from Machinations.FromFlash.graph.GraphElement
EventHandler | Changed
Action | OnSelect
Action | OnUnselect
PropertyChangedEventHandler | PropertyChanged
Events inherited from Machinations.UserComponents.IUserComponentInstance
Action | OnSelect
Action | OnUnselect

## Constructor & Destructor Documentation

## ◆ UcInstanceBase()

Machinations.UserComponents.UcInstanceBase.UcInstanceBase | ( |  | ) |

protected

## Member Function Documentation

## ◆ AddInput()

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

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ AddLoadedOuterInOut()

abstract void Machinations.UserComponents.UcInstanceBase.AddLoadedOuterInOut | ( | OuterInOut | inOut | ) |

pure virtual

Implements Machinations.UserComponents.IUserComponentInstance.

Implemented in Machinations.UserComponents.UserComponent, and Machinations.UserComponents.CardInstance.

## ◆ AppendToGraph()

abstract void Machinations.UserComponents.UcInstanceBase.AppendToGraph | ( | Graph | graph | ) |

pure virtual

Implements Machinations.UserComponents.IUserComponentInstance.

Implemented in Machinations.UserComponents.UserComponent, and Machinations.UserComponents.CardInstance.

## ◆ CopyShift()

override void Machinations.UserComponents.UcInstanceBase.CopyShift | ( |  | ) |

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ CreateMergedInOuts()

void Machinations.UserComponents.UcInstanceBase.CreateMergedInOuts | ( | IEnumerable< InnerInOut > | innerInOuts | ) |

protected

## ◆ GenerateXml()

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

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

Reimplemented in Machinations.UserComponents.UserComponent.

## ◆ GetPosition()

override Point Machinations.UserComponents.UcInstanceBase.GetPosition | ( |  | ) |

virtual

Implements Machinations.FromFlash.graph.GraphElement.

## ◆ GetUcScheme()

abstract IUserComponentSchema Machinations.UserComponents.UcInstanceBase.GetUcScheme | ( |  | ) |

pure virtual

Implements Machinations.UserComponents.IUserComponentInstance.

Implemented in Machinations.UserComponents.UserComponent, and Machinations.UserComponents.CardInstance.

## ◆ IsSimilar()

abstract bool Machinations.UserComponents.UcInstanceBase.IsSimilar | ( | IUserComponentInstance | model | ) |

pure virtual

Implements Machinations.UserComponents.IUserComponentInstance.

Implemented in Machinations.UserComponents.UserComponent, and Machinations.UserComponents.CardInstance.

## ◆ ReadXml()

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

virtual

Reimplemented from Machinations.FromFlash.graph.GraphElement.

## ◆ UnZip()

void Machinations.UserComponents.UcInstanceBase.UnZip | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentInstance.

## ◆ UpdateOuters()

abstract void Machinations.UserComponents.UcInstanceBase.UpdateOuters | ( |  | ) |

pure virtual

Implements Machinations.UserComponents.IUserComponentInstance.

Implemented in Machinations.UserComponents.UserComponent, and Machinations.UserComponents.CardInstance.

## ◆ Zip()

void Machinations.UserComponents.UcInstanceBase.Zip | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentInstance.

## ◆ ZipOrUnzip()

void Machinations.UserComponents.UcInstanceBase.ZipOrUnzip | ( |  | ) |

protected

## ◆ ZipUnzipGraphElements()

void Machinations.UserComponents.UcInstanceBase.ZipUnzipGraphElements | ( |  | ) |

## Member Data Documentation

## ◆ m_inOuts

readonly List<IInOut> Machinations.UserComponents.UcInstanceBase.m_inOuts

protected

## ◆ m_name

string Machinations.UserComponents.UcInstanceBase.m_name

protected

## ◆ m_outerInOuts

readonly List<OuterInOut> Machinations.UserComponents.UcInstanceBase.m_outerInOuts

protected

## ◆ m_position

Point Machinations.UserComponents.UcInstanceBase.m_position

protected

## ◆ m_radius

int Machinations.UserComponents.UcInstanceBase.m_radius

protected

## ◆ m_zip

bool Machinations.UserComponents.UcInstanceBase.m_zip

protected

pokud je true, je komponenta zabalena, takze jsou videt outer connections, tj spoje mezi ostatnimi castmi grafu a USInputy pokud je false, je komponenta rozbalena,takze je soucasti grafu

## ◆ UnzippedElements

List<GraphElement> Machinations.UserComponents.UcInstanceBase.UnzippedElements => m_unzippedElements ?? InternalGraph.Elements

## Property Documentation

## ◆ ClickableNodes

IEnumerable<MachinationsNode> Machinations.UserComponents.UcInstanceBase.ClickableNodes

get

## ◆ Color

Color Machinations.UserComponents.UcInstanceBase.Color

get set

## ◆ ComponentChanged

Action Machinations.UserComponents.UcInstanceBase.ComponentChanged

get set

## ◆ CurrentCard

abstract int Machinations.UserComponents.UcInstanceBase.CurrentCard

get set

## ◆ InstanceNumber

abstract int Machinations.UserComponents.UcInstanceBase.InstanceNumber

get

## ◆ InternalGraph

abstract UserComponentGraph Machinations.UserComponents.UcInstanceBase.InternalGraph

get

## ◆ IsZipped

bool Machinations.UserComponents.UcInstanceBase.IsZipped

get

## ◆ MyInnerInOuts

abstract IEnumerable<InnerInOut> Machinations.UserComponents.UcInstanceBase.MyInnerInOuts

get protected

## ◆ Name

string Machinations.UserComponents.UcInstanceBase.Name

get set

## ◆ OuterInOuts

IEnumerable<OuterInOut> Machinations.UserComponents.UcInstanceBase.OuterInOuts

get

## ◆ Position

Point Machinations.UserComponents.UcInstanceBase.Position

get set

## ◆ PresentedElements

abstract IEnumerable<GraphElement> Machinations.UserComponents.UcInstanceBase.PresentedElements

get

## ◆ Radius

int Machinations.UserComponents.UcInstanceBase.Radius

get set

## ◆ Type

abstract UserComponentType Machinations.UserComponents.UcInstanceBase.Type

get

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

- UserComponents/UcInstanceBase.cs