WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
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. 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...
 
 TableElement (string TableElementName, int Value)
 Initializes a new instance of the TableElement class. 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< TableElementValueChangedEventArgsValueChanged
 Event is fired if the value of the property State is changed. More...
 

Detailed Description

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

Definition at line 12 of file TableElement.cs.

Constructor & Destructor Documentation

DirectOutput.Table.TableElement.TableElement ( )

Initializes a new instance of the TableElement class.

Definition at line 209 of file TableElement.cs.

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.

Definition at line 222 of file TableElement.cs.

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.

Definition at line 236 of file TableElement.cs.

Member Function Documentation

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.

Definition at line 199 of file TableElement.cs.

Property Documentation

AssignedEffectList DirectOutput.Table.TableElement.AssignedEffects
getset

List of effects which are assigned to the table element.

Definition at line 186 of file TableElement.cs.

string DirectOutput.Table.TableElement.Name
getset

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

Definition at line 65 of file TableElement.cs.

int DirectOutput.Table.TableElement.Number
getset

Number of the TableElement.

Definition at line 43 of file TableElement.cs.

TableElementTypeEnum DirectOutput.Table.TableElement.TableElementType
getset

Type of the TableElement.

Definition at line 24 of file TableElement.cs.

int DirectOutput.Table.TableElement.Value
getset

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

Definition at line 94 of file TableElement.cs.

Event Documentation

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.


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