DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
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 >:
Collaboration diagram for DirectOutput.Cab.Toys.IMatrixToy< 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< NameChangeEventArgsBeforeNameChange
 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.

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.Hardware.LedStrip, and 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.

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.


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