DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.LedControl.Loader.LedControlConfig Class Reference

Ledcontrol configuration read from a ledcontrol.ini file. More...

Public Member Functions

 LedControlConfig ()
 Initializes a new instance of the LedControlConfig class. More...
 
 LedControlConfig (string LedControlIniFilename, int LedWizNumber, bool ThrowExceptions=false)
 Initializes a new instance of the LedControlConfig class. Parses the ledcontrol.ini file. More...
 
 LedControlConfig (FileInfo LedControlIniFile, int LedWizNumber, bool ThrowExceptions=false)
 Initializes a new instance of the LedControlConfig class. Parses the ledcontrol.ini file. More...
 

Properties

int LedWizNumber [get, set]
 Gets or sets the number of the LedWiz resp. LedWizEquivalent to which the settings in this config will be applied. More...
 
Version MinDOFVersion [get, set]
 
TableConfigList TableConfigurations [get, set]
 Gets or sets the list of table configurations in the ledcontrol.ini. More...
 
ColorConfigList ColorConfigurations [get, set]
 Gets or sets the list of color configurations in the ledcontrol.ini. More...
 
FileInfo LedControlIniFile [get, set]
 Gets the led control ini file. More...
 

Detailed Description

Ledcontrol configuration read from a ledcontrol.ini file.

Constructor & Destructor Documentation

DirectOutput.LedControl.Loader.LedControlConfig.LedControlConfig ( )

Initializes a new instance of the LedControlConfig class.

DirectOutput.LedControl.Loader.LedControlConfig.LedControlConfig ( string  LedControlIniFilename,
int  LedWizNumber,
bool  ThrowExceptions = false 
)

Initializes a new instance of the LedControlConfig class. Parses the ledcontrol.ini file.

Parameters
LedControlIniFilenameThe ledcontrol.ini filename.
LedWizNumberThe number of the LedWizEquivalent to be used.
ThrowExceptionsif set to true [throw exceptions].
Exceptions
System.ExceptionFile {0} does not contain data. or Could not find {0} section in file {1}. or File {1} does not contain data in the {0} section. or Section {0} of file {1} does not have the same number of columns in all lines.
DirectOutput.LedControl.Loader.LedControlConfig.LedControlConfig ( FileInfo  LedControlIniFile,
int  LedWizNumber,
bool  ThrowExceptions = false 
)

Initializes a new instance of the LedControlConfig class. Parses the ledcontrol.ini file.

Parameters
LedControlIniFileThe ledcontrol.ini FileInfo object.
LedWizNumberThe number of the LedWizEquivalent to be used.
ThrowExceptionsif set to true [throw exceptions].
Exceptions
System.ExceptionFile {0} does not contain data. or Could not find {0} section in file {1}. or File {1} does not contain data in the {0} section. or Section {0} of file {1} does not have the same number of columns in all lines.

Property Documentation

ColorConfigList DirectOutput.LedControl.Loader.LedControlConfig.ColorConfigurations
getset

Gets or sets the list of color configurations in the ledcontrol.ini.

The color configurations.

FileInfo DirectOutput.LedControl.Loader.LedControlConfig.LedControlIniFile
getset

Gets the led control ini file.

The led control ini file.

int DirectOutput.LedControl.Loader.LedControlConfig.LedWizNumber
getset

Gets or sets the number of the LedWiz resp. LedWizEquivalent to which the settings in this config will be applied.

The number of the LedWiz resp. LedWizEquivalent to which the settings in this config will be applied (1-16).

Version DirectOutput.LedControl.Loader.LedControlConfig.MinDOFVersion
getset
TableConfigList DirectOutput.LedControl.Loader.LedControlConfig.TableConfigurations
getset

Gets or sets the list of table configurations in the ledcontrol.ini.

The table configurations.


The documentation for this class was generated from the following file: