WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
Base class for IToy implementations More...
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< NameChangeEventArgs > | AfterNameChanged |
Event is fired after the value of the property Name has changed. More... | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
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< NameChangeEventArgs > | BeforeNameChanged |
Occurs before the name of the item changes. More... | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. More... | |
Base class for IToy implementations
Definition at line 14 of file ToyBase.cs.
|
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.
|
pure virtual |
Must initialize the IToy. Method must be overwritten.
Implements DirectOutput.Cab.Toys.IToy.
Implemented in DirectOutput.Cab.Toys.Hardware.Motor, DirectOutput.Cab.Toys.Hardware.LedStrip, DirectOutput.Cab.Toys.Layer.RGBAToy, DirectOutput.Cab.Toys.Layer.AnalogAlphaToy, DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >, and DirectOutput.Cab.Toys.LWEquivalent.LedWizEquivalent.
|
pure virtual |
Must reset the state of the IToy to its default state (off). Method must be overwritten.
Implements DirectOutput.Cab.Toys.IToy.
Implemented in DirectOutput.Cab.Toys.Layer.RGBAToy, DirectOutput.Cab.Toys.Hardware.LedStrip, DirectOutput.Cab.Toys.Layer.AnalogAlphaToy, DirectOutput.Cab.Toys.Virtual.ToyGroupBase< MatrixElementType >, and DirectOutput.Cab.Toys.LWEquivalent.LedWizEquivalent.