WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.Cab.Toys.ToyBase Class Referenceabstract

Base class for IToy implementations More...

Inheritance diagram for DirectOutput.Cab.Toys.ToyBase:
DirectOutput.General.Generic.NamedItemBase DirectOutput.Cab.Toys.IToy DirectOutput.General.Generic.INamedItem DirectOutput.General.Generic.INamedItem DirectOutput.Cab.Toys.LWEquivalent.LedWizEquivalent DirectOutput.Cab.Toys.ToyBaseUpdatable DirectOutput.Cab.Toys.Hardware.LedStrip DirectOutput.Cab.Toys.Layer.AnalogAlphaToy DirectOutput.Cab.Toys.Layer.RGBAToy DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType > DirectOutput.Cab.Toys.Hardware.Lamp DirectOutput.Cab.Toys.Hardware.Motor DirectOutput.Cab.Toys.Hardware.RGBLed DirectOutput.Cab.Toys.Hardware.GearMotor DirectOutput.Cab.Toys.Hardware.Shaker

Public Member Functions

abstract void Init (Cabinet Cabinet)
 Must initialize the IToy. Method must be overwritten. More...
 
abstract void Reset ()
 Must reset the state of the IToy to its default state (off). Method must be overwritten. More...
 
virtual void Finish ()
 Must finish the IToy, do all necessary clean up work and reset to IToy to its default state (off). Method is virtual and can be overwritten. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DirectOutput.General.Generic.NamedItemBase
virtual void AfterNameChange (string OldName, string NewName)
 
virtual void BeforeNameChange (string OldName, string NewName)
 
virtual void OnPropertyChanged (string propertyName)
 
virtual void OnPropertyChanging (string propertyName)
 
- Properties inherited from DirectOutput.General.Generic.NamedItemBase
string Name [get, set]
 Name of the named item.
Triggers BeforeNameChange before a new Name is set.
Triggers AfterNameChanged after a new name has been set. 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...
 
- Properties inherited from DirectOutput.Cab.Toys.IToy
new string Name [get, set]
 Gets or sets the Name of the IToy. More...
 
- Events inherited from DirectOutput.General.Generic.NamedItemBase
EventHandler< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed. More...
 
EventHandler< NameChangeEventArgsBeforeNameChanged
 Event is fired before the value of the property Name is changed. More...
 
PropertyChangedEventHandler PropertyChanged
 
PropertyChangingEventHandler PropertyChanging
 
- 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

Base class for IToy implementations

Definition at line 14 of file ToyBase.cs.

Member Function Documentation

virtual void DirectOutput.Cab.Toys.ToyBase.Finish ( )
virtual

Must finish the IToy, do all necessary clean up work and reset to IToy to its default state (off). Method is virtual and can be overwritten.

Implements DirectOutput.Cab.Toys.IToy.

Reimplemented in DirectOutput.Cab.Toys.Hardware.Motor, DirectOutput.Cab.Toys.Layer.RGBAToy, DirectOutput.Cab.Toys.Layer.AnalogAlphaToy, DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >, and DirectOutput.Cab.Toys.LWEquivalent.LedWizEquivalent.

Definition at line 34 of file ToyBase.cs.

abstract void DirectOutput.Cab.Toys.ToyBase.Reset ( )
pure virtual

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