WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
Holds all table specific information and handles all TableElements More...
Public Member Functions | |
void | UpdateTableElement (TableElementData Data) |
Updates the TableElements list with data received from Pinmame. More... | |
void | TriggerStaticEffects () |
Triggers the static effects for the table. More... | |
void | Init (Pinball Pinball) |
Initializes the table and the contained objects(Effects, TableElements). More... | |
void | Finish () |
Finishes the table and the contained objects (Effects, TableElements) More... | |
string | GetConfigXml () |
Returns a serialized XML representation of the Table configuration. More... | |
void | SaveConfigXmlFile (string FileName) |
Serializes the Table configuration to a XML file. More... | |
Table () | |
Initializes a new instance of the Table class. More... | |
Static Public Member Functions | |
static Table | GetTableFromConfigXmlFile (string FileName) |
Instanciates a Table object from a Table configuration in a XML file. More... | |
static Table | GetTableFromConfigXmlFile (FileInfo TableConfigFile) |
Instanciates a Table object from a Table configuration in a XML file. More... | |
static Table | GetTableFromConfigXml (string ConfigXml) |
Instanciates a Table object from a Table configuration in a XML string. More... | |
Properties | |
TableElementList | TableElements [get, set] |
Lists the TableElement objects for the Table. This list is automaticaly extend with new TableElement objects if updates for non existing elements are received. More... | |
Pinball | Pinball [get] |
Gets the pinball object to which the Table object belongs. More... | |
FastImageList | Bitmaps [get] |
Gets or sets the list of bitmaps More... | |
ShapeDefinitions | ShapeDefinitions [get, set] |
Gets or sets the shape definitions. More... | |
string | TableName [get, set] |
Name of the Table. Triggers TableNameChanged if value is changed. More... | |
string | RomName [get, set] |
Name of the table rom. Triggers RomNameChanged if value is changed. More... | |
string | TableFilename [get, set] |
Gets or sets the filename of the table. More... | |
string | TableConfigurationFilename [get, set] |
Gets or sets the table configuration filename. More... | |
bool | AddLedControlConfig [get, set] |
Gets or sets a value indicating whether configurations from ledcontrol files should be added to the table config from a xml table config file. More... | |
TableConfigSourceEnum | ConfigurationSource [get, set] |
Gets or sets the configuration source. More... | |
EffectList | Effects [get, set] |
List of table specific effects. More... | |
AssignedEffectList | AssignedStaticEffects [get, set] |
Gets or sets the static effects list for the table. AssignedEffects contained in AssignedStaticEffects are triggered when the Table is started. The Trigger method is called with null as the TableElement parameter. More... | |
Events | |
EventHandler< EventArgs > | TableNameChanged |
Event is fired if the value of the property TableName is changed. More... | |
EventHandler< EventArgs > | RomNameChanged |
Event is fired if the value of the property RomName is changed. More... | |
Holds all table specific information and handles all TableElements
DirectOutput.Table.Table.Table | ( | ) |
void DirectOutput.Table.Table.Finish | ( | ) |
string DirectOutput.Table.Table.GetConfigXml | ( | ) |
|
static |
|
static |
|
static |
void DirectOutput.Table.Table.Init | ( | Pinball | Pinball | ) |
void DirectOutput.Table.Table.SaveConfigXmlFile | ( | string | FileName | ) |
void DirectOutput.Table.Table.TriggerStaticEffects | ( | ) |
void DirectOutput.Table.Table.UpdateTableElement | ( | TableElementData | Data | ) |
|
getset |
|
getset |
Gets or sets the static effects list for the table.
AssignedEffects contained in AssignedStaticEffects are triggered when the Table is started. The Trigger method is called with null as the TableElement parameter.
The static effects list.
|
get |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
Lists the TableElement objects for the Table.
This list is automaticaly extend with new TableElement objects if updates for non existing elements are received.
|
getset |
|
getset |
EventHandler<EventArgs> DirectOutput.Table.Table.RomNameChanged |
EventHandler<EventArgs> DirectOutput.Table.Table.TableNameChanged |