DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
|
Go to: Overview |
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...
Public Member Functions | |
void | Init (string GlobalConfigFilename="", string TableFilename="", string RomName="") |
Configures and initializes/starts and configures the Pinball object More... | |
void | Finish () |
Finishes the Pinball object. More... | |
void | UpdateTableElementStatistics (TableElementData TableElementData, TimeSpan Duration) |
Updates the table element statistics. More... | |
void | WriteStatisticsToLog () |
Writes the statistics to the log. More... | |
void | 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. More... | |
void | ReceiveData (TableElementData TableElementData) |
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. More... | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
Pinball () | |
Initializes a new instance of the Pinball class. More... | |
Properties | |
ThreadInfoList | ThreadInfoList [get, set] |
TimeSpanStatisticsList | TimeSpanStatistics [get, set] |
ScriptList | Scripts [get, set] |
Gets the list of loaded scripts. More... | |
Table.Table | Table [get, set] |
Gets the table object for the Pinball object. More... | |
Cabinet | Cabinet [get, set] |
Gets the Cabinet object for the Pinball object. More... | |
AlarmHandler | Alarms [get, set] |
Gets the AlarmHandler object for the Pinball object. More... | |
GlobalConfig | GlobalConfig [get, set] |
Gets the global config for the Pinnball object. More... | |
bool | MainThreadIsActive [get] |
Indicates if the MainThread of DirectOutput is active 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.
Definition at line 22 of file Pinball.cs.
|
inline |
Initializes a new instance of the Pinball class.
Definition at line 811 of file Pinball.cs.
|
inline |
Finishes the Pinball object.
Definition at line 453 of file Pinball.cs.
|
inline |
Configures and initializes/starts and configures the Pinball object
GlobalConfigFilename | The global config filename. |
TableFilename | The table filename. |
RomName | Name of the rom. |
Definition at line 116 of file Pinball.cs.
|
inline |
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.
TableElementTypeChar | The table element type char as specified in the TableElementTypeEnum. |
Number | The number of the TableElement. |
Value | The value of the TableElement. |
Definition at line 751 of file Pinball.cs.
|
inline |
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.
TableElementData | The table element data to be received. |
Definition at line 763 of file Pinball.cs.
|
inline |
Returns a System.String that represents this instance.
Definition at line 779 of file Pinball.cs.
|
inline |
Updates the table element statistics.
TableElementData | The table element data. |
Duration | The duration. |
Definition at line 705 of file Pinball.cs.
|
inline |
Writes the statistics to the log.
Definition at line 721 of file Pinball.cs.
|
getset |
Gets the AlarmHandler object for the Pinball object.
The AlarmHandler object for the Pinball object.
Definition at line 85 of file Pinball.cs.
|
getset |
Gets the Cabinet object for the Pinball object.
The cabinet object for the Pinball object.
Definition at line 69 of file Pinball.cs.
|
getset |
Gets the global config for the Pinnball object.
The global config for the Pinball object.
Definition at line 99 of file Pinball.cs.
|
get |
Indicates if the MainThread of DirectOutput is active
Definition at line 545 of file Pinball.cs.
|
getset |
Gets the list of loaded scripts.
The list of loaded scripts.
Definition at line 40 of file Pinball.cs.
|
getset |
Gets the table object for the Pinball object.
The table object for the Pinball object.
Definition at line 56 of file Pinball.cs.
|
getset |
Definition at line 28 of file Pinball.cs.
|
getset |
Definition at line 29 of file Pinball.cs.