The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
More...
|
void | AutoConfig () |
| This method finds all classes implementing the IAutoConfigOutputController interface and uses the member of this interface to detect and configure IOutputController objects automatically. More...
|
|
string | GetConfigXml () |
| Returns a serialized XML representation of the cabinet configuration. More...
|
|
void | SaveConfigXmlFile (string FileName) |
| Serializes the cabinet configuration to a XML file. More...
|
|
void | Init (Pinball Pinball) |
| Initializes the cabinet. More...
|
|
void | Update () |
| Calls the update method for toys and output controllers in the cabinet More...
|
|
void | Finish () |
| Finishes the cabinet More...
|
|
| Cabinet () |
| Initializes a new instance of the Cabinet class. More...
|
|
The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
DirectOutput.Cab.Cabinet.Cabinet |
( |
| ) |
|
Initializes a new instance of the Cabinet class.
void DirectOutput.Cab.Cabinet.AutoConfig |
( |
| ) |
|
This method finds all classes implementing the IAutoConfigOutputController interface and uses the member of this interface to detect and configure IOutputController objects automatically.
void DirectOutput.Cab.Cabinet.Finish |
( |
| ) |
|
static Cabinet DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml |
( |
string |
ConfigXml | ) |
|
|
static |
Instanciates a Cabinet object from a cabinet configuration in a XML string.
- Parameters
-
- Returns
- Cabinet object
static Cabinet DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile |
( |
string |
FileName | ) |
|
|
static |
Instanciates a Cabinet object from a cabinet configuration in a XML file.
- Parameters
-
FileName | Name of the XML file. |
- Returns
- Cabinet object
static Cabinet DirectOutput.Cab.Cabinet.GetCabinetFromConfigXmlFile |
( |
FileInfo |
CabinetConfigFile | ) |
|
|
static |
Instanciates a Cabinet object from a cabinet configuration in a XML file.
- Parameters
-
CabinetConfigFile | FileInfo object for the config file. |
- Returns
- Cabinet object
string DirectOutput.Cab.Cabinet.GetConfigXml |
( |
| ) |
|
Returns a serialized XML representation of the cabinet configuration.
- Returns
- XMLString
void DirectOutput.Cab.Cabinet.Init |
( |
Pinball |
Pinball | ) |
|
Initializes the cabinet.
- Parameters
-
void DirectOutput.Cab.Cabinet.SaveConfigXmlFile |
( |
string |
FileName | ) |
|
Serializes the cabinet configuration to a XML file.
- Parameters
-
FileName | Name of the XML file. |
static bool DirectOutput.Cab.Cabinet.TestCabinetConfigXmlFile |
( |
string |
FileName | ) |
|
|
static |
Tests a cabinet config in a XML file.
- Parameters
-
FileName | Name of the file. |
- Returns
- true is the file contains a valid config, otherwise false.
void DirectOutput.Cab.Cabinet.Update |
( |
| ) |
|
Calls the update method for toys and output controllers in the cabinet
bool DirectOutput.Cab.Cabinet.AutoConfigEnabled |
|
getset |
Gets or sets a value indicating whether auto config is enabled.
If auto config is enabled, the framework tries to detect and configure IOutputController objects and related IToy objects automatically.
true
enables auto config, false
disables auto config.
string DirectOutput.Cab.Cabinet.CabinetConfigurationFilename |
|
getset |
Gets or sets the filename from which the cabiet configuration was loaded.
The filename of the cabinet configuration file.
List of Color objects used to set colors for toys.
List of named curve objects used to set Curves for toys.
string DirectOutput.Cab.Cabinet.Name |
|
getset |
List of IOutputController objects representing the output controllers in the cabinet.
List of IOutput objects representing all outputs of all all output controllers in the cabinet.
Pinball DirectOutput.Cab.Cabinet.Pinball |
|
getset |
Gets the Pinball object to which the Cabinet pobject belongs.
The pinball object.
List of IToy objects describing the toys in the cabinet.
The documentation for this class was generated from the following file:
- C:/Users/Tom/Documents/GitHub/DirectOutput/DirectOutput/Cab/Cabinet.cs