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

List of color configurations from a ledcontrol.ini file. More...

Inheritance diagram for DirectOutput.LedControl.Loader.ColorConfigList:
Collaboration diagram for DirectOutput.LedControl.Loader.ColorConfigList:

Public Member Functions

ColorList GetCabinetColorList ()
 Gets a cabinet color list for the config colors contained in this list. More...
 
void ParseLedControlData (IEnumerable< string > LedControlData, bool ThrowExceptions=true)
 Parses the led control data. More...
 
void ParseLedControlData (string LedControlData, bool ThrowExceptions=true)
 Parses the led control data. More...
 
bool Contains (string ColorName)
 Determines whether the list contains the specified color name. More...
 

Properties

ColorConfig this[string Name] [get]
 Gets the ColorConfig for the specified name. More...
 

Detailed Description

List of color configurations from a ledcontrol.ini file.

Member Function Documentation

bool DirectOutput.LedControl.Loader.ColorConfigList.Contains ( string  ColorName)

Determines whether the list contains the specified color name.

Parameters
ColorNameName of the color.
Returns
true if the list the specified color name; otherwise, false.
ColorList DirectOutput.LedControl.Loader.ColorConfigList.GetCabinetColorList ( )

Gets a cabinet color list for the config colors contained in this list.

Returns
Cabinet ColorList.
void DirectOutput.LedControl.Loader.ColorConfigList.ParseLedControlData ( IEnumerable< string >  LedControlData,
bool  ThrowExceptions = true 
)

Parses the led control data.

Parameters
LedControlDataThe led control data.
ThrowExceptionsif set to true [throw exceptions].
void DirectOutput.LedControl.Loader.ColorConfigList.ParseLedControlData ( string  LedControlData,
bool  ThrowExceptions = true 
)

Parses the led control data.

Parameters
LedControlDataThe led control data.
ThrowExceptionsif set to true [throw exceptions].
Exceptions
System.ExceptionCould not parse color config data {0}. or Color {0} has already been defined.

Property Documentation

ColorConfig DirectOutput.LedControl.Loader.ColorConfigList.this[string Name]
get

Gets the ColorConfig for the specified name.

Parameters
NameThe name of the color config.
Returns

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