Machinations

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

machinations node, can count some basic formulas and bz results affect other nodes More...

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

## Public Member Functions

| Register ()
override void | Fire ()
override void | AutoFire ()
void | CalculateValue ()
override void | Prepare (bool doEvents)
void | PrepareCalculated ()
override void | Stop ()
override XmlElement | GenerateXml (XmlDocument document, XmlElement element=null)
override void | ReadXml (XmlElement element)
Public Member Functions inherited from Machinations.FromFlash.machinations.model.MachinationsNode
override void | UpdateDescription ()
virtual void | CheckInhibition ()
virtual void | Update (double time)
void | Click ()
void | SetFiring ()
virtual void | Satisfy ()
virtual void | ReceiveResource (Color color, ResourceConnection flow)
void | Pull ()
bool | CheckInputs ()
void | UndoPull ()
override void | RemoveInput (MachinationsConnection connection)
override string | GetMMName ()
string | GetMMWhen ()
string | GetMMAct ()
string | GetMMHow ()
void | AddSimlink (SimlinkModel simlinkModel)
void | RemoveSimlink (SimlinkModel simlinkModel)
override void | FinishLoading (List< GraphElement > elements)
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 | Dispose ()
virtual void | AddInput (MachinationsConnection connection)
virtual void | AddOutput (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 ()
string | GetMMExp ()
void | OnChanged (string reason, string message=null)
void | InhibitedChangeApply ()
void | TurnPoolsApply ()
void | Selected ()
void | UnSelected ()

## Public Attributes

int | MinValue
int | MaxValue
int | ValueStep
const int | Limit = 9999
int | Interaction
bool | HasTriggers
bool | IsTriggered
override NodeClass | NodeClass => NodeClass.Register
Public Attributes inherited from Machinations.FromFlash.machinations.model.MachinationsNode
double | Thickness
Color | Color
double | Size
int | Actions
int | ResourceInputCount
int | ResourceOutputCount
int | StateOutputCount
int | StateInputCount
bool | AiControled
double | Firing
bool | FireFlag
List< SimlinkModel > | m_simlinks
override NodeClass | NodeClass => NodeClass.None
| enum for every node type, every different type need to have one More...
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

## Properties

int | Value`[get, set]`
int | StartValue`[get, set]`
Properties inherited from Machinations.FromFlash.machinations.model.MachinationsNode
string | Caption`[get, set]`
ActivationMode | ActivationMode`[get, set]`
PullMode | PullMode`[get, set]`
List< SimlinkModel > | Simlinks`[get]`
bool | DoEvents`[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

Protected Member Functions inherited from Machinations.FromFlash.machinations.model.MachinationsNode
| MachinationsNode ()
override void | InhibitedChangeForReal ()
void | LogSelf ()
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 inherited from Machinations.FromFlash.machinations.model.MachinationsNode
bool | m_doEvents
string | m_caption
ActivationMode | m_activationMode
PullMode | m_pullMode
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

machinations node, can count some basic formulas and bz results affect other nodes

## Constructor & Destructor Documentation

## ◆ Register()

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

## Member Function Documentation

## ◆ AutoFire()

override void Machinations.FromFlash.machinations.model.Register.AutoFire | ( |  | ) |

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## ◆ CalculateValue()

void Machinations.FromFlash.machinations.model.Register.CalculateValue | ( |  | ) |

## ◆ Fire()

override void Machinations.FromFlash.machinations.model.Register.Fire | ( |  | ) |

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## ◆ GenerateXml()

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

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## ◆ Prepare()

override void Machinations.FromFlash.machinations.model.Register.Prepare | ( | bool | doEvents | ) |

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## ◆ PrepareCalculated()

void Machinations.FromFlash.machinations.model.Register.PrepareCalculated | ( |  | ) |

## ◆ ReadXml()

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

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## ◆ Stop()

override void Machinations.FromFlash.machinations.model.Register.Stop | ( |  | ) |

virtual

Reimplemented from Machinations.FromFlash.machinations.model.MachinationsNode.

## Member Data Documentation

## ◆ HasTriggers

bool Machinations.FromFlash.machinations.model.Register.HasTriggers

## ◆ Interaction

int Machinations.FromFlash.machinations.model.Register.Interaction

## ◆ IsTriggered

bool Machinations.FromFlash.machinations.model.Register.IsTriggered

## ◆ Limit

const int Machinations.FromFlash.machinations.model.Register.Limit = 9999

## ◆ MaxValue

int Machinations.FromFlash.machinations.model.Register.MaxValue

## ◆ MinValue

int Machinations.FromFlash.machinations.model.Register.MinValue

## ◆ NodeClass

override NodeClass Machinations.FromFlash.machinations.model.Register.NodeClass => NodeClass.Register

## ◆ ValueStep

int Machinations.FromFlash.machinations.model.Register.ValueStep

## Property Documentation

## ◆ StartValue

int Machinations.FromFlash.machinations.model.Register.StartValue

get set

## ◆ Value

int Machinations.FromFlash.machinations.model.Register.Value

get set

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

- FromFlash/machinations/model/Register.cs