Pinball is the main object of the DirectOutput framework.
It holds all objects required to process Pinmame data, trigger the necessary effects and update toys and output controllers.
More...
Pinball is the main object of the DirectOutput framework.
It holds all objects required to process Pinmame data, trigger the necessary effects and update toys and output controllers.
DirectOutput.Pinball.Pinball |
( |
| ) |
|
Initializes a new instance of the Pinball class.
void DirectOutput.Pinball.Finish |
( |
| ) |
|
void DirectOutput.Pinball.Init |
( |
| ) |
|
Initializes/starts the Pinball object
void DirectOutput.Pinball.MainThreadSignal |
( |
| ) |
|
Signals the main thread to continue its work (if currently sleeping).
void DirectOutput.Pinball.ReceiveData |
( |
char |
TableElementTypeChar, |
|
|
int |
Number, |
|
|
int |
Value |
|
) |
| |
Receives the table element data from the calling app (e.g. B2S.Server providing data through the plugin interface).
The received data is put in a queue and the internal thread of the framework is notified about the availability of new data.
- Parameters
-
TableElementTypeChar | The table element type char as specified in the TableElementTypeEnum. |
Number | The number of the TableElement. |
Value | The value of the TableElement. |
Receives the table element data from the calling app.
The received data is put in a queue and the internal thread of the framework is notified about the availability of new data.
- Parameters
-
TableElementData | The table element data to be received. |
void DirectOutput.Pinball.Setup |
( |
string |
GlobalConfigFilename = "" , |
|
|
string |
TableFilename = "" , |
|
|
string |
RomName = "" |
|
) |
| |
Configures the Pinball object.
Loads the global config, table config and cabinet config
- Parameters
-
GlobalConfigFilename | The global config filename. |
TableFilename | The table filename. |
RomName | Name of the rom. |
override string DirectOutput.Pinball.ToString |
( |
| ) |
|
Returns a System.String that represents this instance.
- Returns
- A System.String that represents this instance.
void DirectOutput.Pinball.UpdateTableElementStatistics |
( |
TableElementData |
TableElementData, |
|
|
TimeSpan |
Duration |
|
) |
| |
Updates the table element statistics.
- Parameters
-
TableElementData | The table element data. |
Duration | The duration. |
void DirectOutput.Pinball.WriteStatisticsToLog |
( |
| ) |
|
Writes the statistics to the log.
Gets the AlarmHandler object for the Pinball object.
The AlarmHandler object for the Pinball object.
Cabinet DirectOutput.Pinball.Cabinet |
|
getset |
Gets or sets the Cabinet object for the Pinball object.
The cabinet object for the Pinball object.
Gets the global config for the Pinnball object.
The global config for the Pinball object.
bool DirectOutput.Pinball.MainThreadIsActive |
|
get |
Gets or sets the table object for the Pinball object.
The table object for the Pinball object.
The documentation for this class was generated from the following file:
- C:/Users/Tom/Documents/GitHub/DirectOutput/DirectOutput/Pinball.cs