MATHVisualSimulator
A BPMN2 simulator for MATH
|
Inherits Simulator.BPNode.
Public Types | |
enum | eventType { UNKNOWN = 0, START = 1, INTERMEDIATE = 2, END = 3 } |
enum | eventSubtype { NONE = 0, MESSAGE = 1, SIGNAL = 2, ESCALATION = 3, TIMER = 4, ERROR = 5, CONDITIONAL = 6, LINK = 7, CANCEL = 8, COMPENSATE = 9, MULTIPLE = 10, TERMINATING = 11 } |
Public Member Functions | |
BPEvent (Simulator sim, XmlNode x) | |
override bool | validate () |
Check this node to see whether it makes sense semantically. | |
override void | enter (Runner rr) |
Enter a token into this node. | |
override void | exit (Runner rr) |
Exit a token from this node. | |
override void | finishParsing () |
Finish up this node, after all the nodes have been created. | |
override void | parseSimulationParameters (XmlNode x) |
Parse simulation parameters for this node. | |
override XmlElement | getSimulationXml (XmlDocument doc) |
Create a simulation extension node from this BPNode. | |
override XmlElement | getSemanticXml (XmlDocument doc) |
Create a BPMN semantic node from this BPNode. | |
BPNode | getAttachedTo () |
eventSubtype | getSubtype () |
override string | getBPNodeType () |
Return the tag used to generate this node. Children will override to add their own parameters. | |
Public Attributes | |
bool | interrupting = false |
bool | boundary = false |
bool | catching = false |
bool | throwing = false |
IRandomVariable | startInterval = null |
BPNode | attachedTo = null |
string | attachedToId = null |
BPNode | linkedTo = null |
string | linkedToId = null |
Static Public Attributes | |
static string[] | eventTypeName |
static string[] | eventSubtypeName |
Properties | |
eventType | type [get, set] |
eventSubtype | subtype [get, set] |
new string | name [get, set] |
override void Simulator.BPEvent.enter | ( | Runner | rr | ) | [virtual] |
override void Simulator.BPEvent.exit | ( | Runner | rr | ) | [virtual] |
override void Simulator.BPEvent.finishParsing | ( | ) | [virtual] |
Finish up this node, after all the nodes have been created.
Reimplemented from Simulator.BPNode.
override string Simulator.BPEvent.getBPNodeType | ( | ) | [virtual] |
Return the tag used to generate this node. Children will override to add their own parameters.
Reimplemented from Simulator.BPNode.
override XmlElement Simulator.BPEvent.getSemanticXml | ( | XmlDocument | doc | ) | [virtual] |
Create a BPMN semantic node from this BPNode.
doc | An XML Document object that will own the new BPMN node |
Reimplemented from Simulator.BPNode.
override XmlElement Simulator.BPEvent.getSimulationXml | ( | XmlDocument | doc | ) | [virtual] |
Create a simulation extension node from this BPNode.
doc | An XML Document object that will own the new simulation node |
Reimplemented from Simulator.BPNode.
override void Simulator.BPEvent.parseSimulationParameters | ( | XmlNode | x | ) | [virtual] |
Parse simulation parameters for this node.
x | The parameter to parse |
Reimplemented from Simulator.BPNode.
override bool Simulator.BPEvent.validate | ( | ) | [virtual] |
Check this node to see whether it makes sense semantically.
Reimplemented from Simulator.BPNode.
string [] Simulator.BPEvent.eventSubtypeName [static] |
{ "none", "message", "signal", "escalation", "timer", "error", "conditional", "link", "cancel", "compensate", "multiple", "terminating", }
string [] Simulator.BPEvent.eventTypeName [static] |
{ "Unknown", "Start", "Intermediate", "End" }