DirectOuput Framework R2
DirectOutput framework R2 for virtual pinball cabinets
Go to:
Overview 
 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.

Definition at line 11 of file ColorConfigList.cs.

Member Function Documentation

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

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.

Definition at line 118 of file ColorConfigList.cs.

ColorList DirectOutput.LedControl.Loader.ColorConfigList.GetCabinetColorList ( )
inline

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

Returns
Cabinet ColorList.

Definition at line 39 of file ColorConfigList.cs.

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

Parses the led control data.

Parameters
LedControlDataThe led control data.
ThrowExceptionsif set to true [throw exceptions].

Definition at line 54 of file ColorConfigList.cs.

void DirectOutput.LedControl.Loader.ColorConfigList.ParseLedControlData ( string  LedControlData,
bool  ThrowExceptions = true 
)
inline

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.

Definition at line 76 of file ColorConfigList.cs.

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

Definition at line 20 of file ColorConfigList.cs.


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