DirectOuput Framework R2
DirectOutput framework R2 for virtual pinball cabinets
|
Go to: Overview |
Represents a element (e.g. Switch, Solenoid) of a pinball table More...
Public Member Functions | |
bool | ValueHasBeen (int Value, int DuringLastMilliseconds) |
Indicates wether the table element had a specific valu during the specified nmber of milliseconds. More... | |
bool | ValueHasChanged (int DuringLastMilliseconds) |
Indicates whether the value of the table element has changed during the specified number of milliseconds. More... | |
TableElementData | GetTableElementData () |
Gets a TableElementData object containing the current data for the TableElement. More... | |
TableElement () | |
Initializes a new instance of the TableElement class. More... | |
TableElement (TableElementTypeEnum TableElementType, int Number, int Value) | |
Initializes a new instance of the TableElement class with the specified parameters. More... | |
Properties | |
TableElementTypeEnum | TableElementType [get, set] |
Type of the TableElement. More... | |
int | Number [get, set] |
Number of the TableElement. More... | |
string | Name [get, set] |
Name of the TableElement. Triggers NameChanged if value is changed. More... | |
int | Value [get, set] |
Value of the TableElement. Triggers ValueChanged if the value is changed. More... | |
AssignedEffectList | AssignedEffects [get, set] |
List of effects which are assigned to the table element. More... | |
Events | |
EventHandler< EventArgs > | NameChanged |
Event is fired if the value of the property Name is changed. More... | |
EventHandler < TableElementValueChangedEventArgs > | ValueChanged |
Event is fired if the value of the property State is changed. More... | |
Represents a element (e.g. Switch, Solenoid) of a pinball table
Definition at line 12 of file TableElement.cs.
|
inline |
Initializes a new instance of the TableElement class.
Definition at line 209 of file TableElement.cs.
|
inline |
Initializes a new instance of the TableElement class with the specified parameters.
TableElementType | Type of the TableElement. |
Number | The number of the TableElement. |
Value | The value of the TableElement. |
Definition at line 222 of file TableElement.cs.
|
inline |
Gets a TableElementData object containing the current data for the TableElement.
Definition at line 199 of file TableElement.cs.
|
inline |
Indicates wether the table element had a specific valu during the specified nmber of milliseconds.
Value | The value to check for. |
DuringLastMilliseconds | The number of milliseconds to check. |
Definition at line 133 of file TableElement.cs.
|
inline |
Indicates whether the value of the table element has changed during the specified number of milliseconds.
DuringLastMilliseconds | The number of milliseconds to check. |
Definition at line 155 of file TableElement.cs.
|
getset |
List of effects which are assigned to the table element.
Definition at line 186 of file TableElement.cs.
|
getset |
Name of the TableElement.
Triggers NameChanged if value is changed.
Definition at line 65 of file TableElement.cs.
|
getset |
Number of the TableElement.
Definition at line 43 of file TableElement.cs.
|
getset |
Type of the TableElement.
Definition at line 24 of file TableElement.cs.
|
getset |
Value of the TableElement.
Triggers ValueChanged if the value is changed.
Definition at line 94 of file TableElement.cs.
EventHandler<EventArgs> DirectOutput.Table.TableElement.NameChanged |
Event is fired if the value of the property Name is changed.
Definition at line 83 of file TableElement.cs.
EventHandler<TableElementValueChangedEventArgs> DirectOutput.Table.TableElement.ValueChanged |
Event is fired if the value of the property State is changed.
Definition at line 168 of file TableElement.cs.