DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
DirectOutput.Table.TableElement Class Reference

Represents a element (e.g. Switch, Solenoid) of a pinball table. More...

Public Member Functions

TableElementData GetTableElementData ()
 Gets a TableElementData object containing the current data for the TableElement.
 TableElement ()
 Initializes a new instance of the TableElement class.
 TableElement (TableElementTypeEnum TableElementType, int Number, int Value)
 Initializes a new instance of the TableElement class with the specified parameters.
 TableElement (string TableElementName, int Value)
 Initializes a new instance of the TableElement class.

Properties

TableElementTypeEnum TableElementType [get, set]
 Type of the TableElement.
int Number [get, set]
 Number of the TableElement.
string Name [get, set]
 Name of the TableElement.
Triggers NameChanged if value is changed.
int Value [get, set]
 Value of the TableElement.
Triggers ValueChanged if the value is changed.
AssignedEffectList AssignedEffects [get, set]
 List of effects which are assigned to the table element.

Events

EventHandler< EventArgs > NameChanged
 Event is fired if the value of the property Name is changed.
EventHandler< TableElementValueChangedEventArgsValueChanged
 Event is fired if the value of the property State is changed.

Detailed Description

Represents a element (e.g. Switch, Solenoid) of a pinball table.

Constructor & Destructor Documentation

◆ TableElement() [1/3]

DirectOutput.Table.TableElement.TableElement ( )

Initializes a new instance of the TableElement class.

◆ TableElement() [2/3]

DirectOutput.Table.TableElement.TableElement ( TableElementTypeEnum TableElementType,
int Number,
int Value )

Initializes a new instance of the TableElement class with the specified parameters.

Parameters
TableElementTypeType of the TableElement.
NumberThe number of the TableElement.
ValueThe value of the TableElement.

◆ TableElement() [3/3]

DirectOutput.Table.TableElement.TableElement ( string TableElementName,
int Value )

Initializes a new instance of the TableElement class.

Parameters
TableElementNameName of the table element.
ValueThe value of the table element.

Member Function Documentation

◆ GetTableElementData()

TableElementData DirectOutput.Table.TableElement.GetTableElementData ( )

Gets a TableElementData object containing the current data for the TableElement.

Returns
TableElementData object containing the current data of the TableElement.

Property Documentation

◆ AssignedEffects

AssignedEffectList DirectOutput.Table.TableElement.AssignedEffects
getset

List of effects which are assigned to the table element.

◆ Name

string DirectOutput.Table.TableElement.Name
getset

Name of the TableElement.
Triggers NameChanged if value is changed.

◆ Number

int DirectOutput.Table.TableElement.Number
getset

Number of the TableElement.

◆ TableElementType

TableElementTypeEnum DirectOutput.Table.TableElement.TableElementType
getset

Type of the TableElement.

◆ Value

int DirectOutput.Table.TableElement.Value
getset

Value of the TableElement.
Triggers ValueChanged if the value is changed.

Event Documentation

◆ NameChanged

EventHandler<EventArgs> DirectOutput.Table.TableElement.NameChanged

Event is fired if the value of the property Name is changed.

◆ ValueChanged

EventHandler<TableElementValueChangedEventArgs> DirectOutput.Table.TableElement.ValueChanged

Event is fired if the value of the property State is changed.


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