The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
More...
|
ICabinetOwner | Owner [get, set] |
| Gets or sets the owner or the cabinet.
|
AlarmHandler | Alarms [get] |
| Gets the AlarmHandler object for the cabinet object.
|
string | Name [get, set] |
| Name of the Cabinet.
|
string | CabinetConfigurationFilename [get, set] |
| Gets or sets the filename from which the cabiet configuration was loaded.
|
DirectOutput.Cab.Toys.ToyList | Toys [get, set] |
| List of IToy objects describing the toys in the cabinet.
|
ColorList | Colors [get, set] |
| List of Color objects used to set colors for toys.
|
CurveList | Curves [get, set] |
| List of named curve objects used to set Curves for toys.
|
bool | AutoConfigEnabled [get, set] |
| 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.
|
CabinetOutputList | Outputs [get] |
| List of IOutput objects representing all outputs of all all output controllers in the cabinet.
|
Out.OutputControllerList | OutputControllers [get, set] |
| List of IOutputController objects representing the output controllers in the cabinet.
|
ScheduledSettings | ScheduledSettings [get, set] |
| List of scheduled settings. Outputs can be disabled using start-end clock regions. This getter/setter is only used for XML-parsing into ScheduledSettings class, and settings can be accessed using ScheduledSettings.Instance from that point on.
|
SequentialOutputSettings | SequentialOutputSettings [get, set] |
| List of sequencial output settings. Outputs can be forwarded to others during fast retriggers to compensate for latency. This getter/setter is only used for XML-parsing into SequentialOutputSettings class, and settings can be accessed using SequentialOutputSettings.Instance from that point on.
|
TableOverrideSettings | TableOverrideSettings [get, set] |
| List of table overrides. Outputs can be disabled using table filenames or rom names. This getter/setter is only used for XML-parsing into TableOverrideSettings class, and settings can be accessed using TableOverrideSettings.Instance from that point on.
|
The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
◆ Cabinet()
DirectOutput.Cab.Cabinet.Cabinet |
( |
| ) |
|
Initializes a new instance of the Cabinet class.
◆ AutoConfig()
void DirectOutput.Cab.Cabinet.AutoConfig |
( |
| ) |
|
◆ Finish()
void DirectOutput.Cab.Cabinet.Finish |
( |
| ) |
|
◆ GetCabinetFromConfigXml()
Cabinet DirectOutput.Cab.Cabinet.GetCabinetFromConfigXml |
( |
string | ConfigXml | ) |
|
|
static |
Instanciates a Cabinet object from a cabinet configuration in a XML string.
- Parameters
-
- Returns
- Cabinet object
◆ GetCabinetFromConfigXmlFile() [1/2]
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
◆ GetCabinetFromConfigXmlFile() [2/2]
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
◆ GetConfigXml()
string DirectOutput.Cab.Cabinet.GetConfigXml |
( |
| ) |
|
Returns a serialized XML representation of the cabinet configuration.
- Returns
- XMLString
◆ Init()
Initializes the cabinet.
- Parameters
-
◆ SaveConfigXmlFile()
void DirectOutput.Cab.Cabinet.SaveConfigXmlFile |
( |
string | FileName | ) |
|
Serializes the cabinet configuration to a XML file.
- Parameters
-
FileName | Name of the XML file. |
◆ TestCabinetConfigXmlFile()
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.
◆ Update()
void DirectOutput.Cab.Cabinet.Update |
( |
| ) |
|
Calls the update method for toys and output controllers in the cabinet.
◆ Alarms
◆ AutoConfigEnabled
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.
◆ CabinetConfigurationFilename
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.
◆ Colors
List of Color objects used to set colors for toys.
◆ Curves
List of named curve objects used to set Curves for toys.
◆ Name
string DirectOutput.Cab.Cabinet.Name |
|
getset |
◆ OutputControllers
Out.OutputControllerList DirectOutput.Cab.Cabinet.OutputControllers |
|
getset |
List of IOutputController objects representing the output controllers in the cabinet.
◆ Outputs
List of IOutput objects representing all outputs of all all output controllers in the cabinet.
◆ Owner
Gets or sets the owner or the cabinet.
The owner of the cabinet.
◆ ScheduledSettings
List of scheduled settings. Outputs can be disabled using start-end clock regions. This getter/setter is only used for XML-parsing into ScheduledSettings class, and settings can be accessed using ScheduledSettings.Instance from that point on.
◆ SequentialOutputSettings
List of sequencial output settings. Outputs can be forwarded to others during fast retriggers to compensate for latency. This getter/setter is only used for XML-parsing into SequentialOutputSettings class, and settings can be accessed using SequentialOutputSettings.Instance from that point on.
◆ TableOverrideSettings
List of table overrides. Outputs can be disabled using table filenames or rom names. This getter/setter is only used for XML-parsing into TableOverrideSettings class, and settings can be accessed using TableOverrideSettings.Instance from that point on.
◆ Toys
List of IToy objects describing the toys in the cabinet.
The documentation for this class was generated from the following file:
- D:/a/DirectOutput/DirectOutput/DirectOutput/Cab/Cabinet.cs