WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType > Interface Template Reference

Interface for toys having a matrix of elements (e.g. ledstrips) More...

Inheritance diagram for DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType >:
DirectOutput.Cab.Toys.IToy DirectOutput.General.Generic.INamedItem DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >

Public Member Functions

MatrixElementType[,] GetLayer (int LayerNr)
 Gets the specified layer of MatrixElementTypes of the toy. More...
 
- Public Member Functions inherited from DirectOutput.Cab.Toys.IToy
void Init (Cabinet Cabinet)
 Must initialize the IToy. More...
 
void Reset ()
 Must reset the state of the IToy to its default state (off). More...
 
void Finish ()
 Must finish the IToy, do all necessary clean up work and reset the IToy to its default state (off). More...
 

Properties

int Height [get]
 Gets the height resp. the y dimension of the toys matrix. More...
 
int Width [get]
 Gets the width resp. the x dimension of the toys matrix. More...
 
- Properties inherited from DirectOutput.Cab.Toys.IToy
new string Name [get, set]
 Gets or sets the Name of the IToy. More...
 
- Properties inherited from DirectOutput.General.Generic.INamedItem
string Name [get, set]
 Gets or sets the name of the item.
Must fire the BeforeNameChange and AfterNameChange events when the value of the property is changed. More...
 

Additional Inherited Members

- Events inherited from DirectOutput.General.Generic.INamedItem
EventHandler< NameChangeEventArgsBeforeNameChanged
 Occurs before the name of the item changes. More...
 
EventHandler< NameChangeEventArgsAfterNameChanged
 Occurs when after the name of the item has changed. More...
 

Detailed Description

Interface for toys having a matrix of elements (e.g. ledstrips)

Template Parameters
MatrixElementTypeThe type of the matrix element type.

Definition at line 12 of file IMatrixToy.cs.

Member Function Documentation

MatrixElementType [,] DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType >.GetLayer ( int  LayerNr)

Gets the specified layer of MatrixElementTypes of the toy.

Parameters
LayerNrThe layer nr.
Returns

Implemented in DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >.

Property Documentation

int DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType >.Height
get

Gets the height resp. the y dimension of the toys matrix.

The height resp. the y dimension of the toys matrix.

Definition at line 27 of file IMatrixToy.cs.

int DirectOutput.Cab.Toys.IMatrixToy< MatrixElementType >.Width
get

Gets the width resp. the x dimension of the toys matrix.

The width resp. the x dimension of the toys matrix.

Definition at line 35 of file IMatrixToy.cs.


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