DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
Abstract OutputController base class to be used for IOutputController implementations.
Implements IOutputController.
More...
Public Member Functions | |
abstract void | Init (Cabinet Cabinet) |
Init must be overwritten and must initialize the ouput controller. This method is called after the objects haven been instanciated. More... | |
abstract void | Finish () |
Finish must be overwritten and must finish the ouput controller. All necessary cleanup tasks have to be implemented here und all physical outputs have to be turned off. More... | |
abstract void | Update () |
Update must update the physical outputs to the values defined in the Outputs list. More... | |
Protected Member Functions | |
virtual void | OnOutputValueChanged (IOutput Output) |
This method is called whenever the value of a output in the Outputs property changes its value. It doesn't do anything in this base class, but it can be overwritten (use override) in classes inherting the base class. More... | |
Properties | |
virtual OutputList | Outputs [get, set] |
Contains the OutputList object for the outputs of the output controller. More... | |
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.Out.IOutputController | |
new string | Name [get, set] |
Name of the IOutputController. This property is fully implemented in the abstract OutputControllerBase class. More... | |
OutputList | Outputs [get, set] |
OutputList containing the IOutput objects for a IOutputController. More... | |
Additional Inherited Members | |
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 > | BeforeNameChange |
Event is fired before the value of the property Name is changed. More... | |
Events inherited from DirectOutput.General.Generic.INamedItem | |
EventHandler< NameChangeEventArgs > | BeforeNameChange |
Occurs before the name of the item changes. More... | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. More... | |
Abstract OutputController base class to be used for IOutputController implementations.
Implements IOutputController.
|
pure virtual |
Finish must be overwritten and must finish the ouput controller.
All necessary cleanup tasks have to be implemented here und all physical outputs have to be turned off.
Implements DirectOutput.Cab.Out.IOutputController.
Implemented in DirectOutput.Cab.Out.AdressableLedStrip.WS2811StripController, DirectOutput.Cab.Out.DMX.ArtNet, DirectOutput.Cab.Out.LW.LedWiz, DirectOutput.Cab.Out.Pac.PacLed64, DirectOutput.Cab.Out.Pac.PacDrive, DirectOutput.Cab.Out.FTDIChip.FT245RBitbangController, and DirectOutput.Cab.Out.NullOutputController.NullOutputController.
|
pure virtual |
Init must be overwritten and must initialize the ouput controller.
This method is called after the objects haven been instanciated.
Cabinet | The Cabinet object which is using the IOutputController instance. |
Implements DirectOutput.Cab.Out.IOutputController.
Implemented in DirectOutput.Cab.Out.AdressableLedStrip.WS2811StripController, DirectOutput.Cab.Out.DMX.ArtNet, DirectOutput.Cab.Out.LW.LedWiz, DirectOutput.Cab.Out.Pac.PacLed64, DirectOutput.Cab.Out.Pac.PacDrive, DirectOutput.Cab.Out.FTDIChip.FT245RBitbangController, and DirectOutput.Cab.Out.NullOutputController.NullOutputController.
|
protectedvirtual |
This method is called whenever the value of a output in the Outputs property changes its value.
It doesn't do anything in this base class, but it can be overwritten (use override) in classes inherting the base class.
Output | The output. |
Reimplemented in DirectOutput.Cab.Out.LW.LedWiz, DirectOutput.Cab.Out.Pac.PacLed64, DirectOutput.Cab.Out.AdressableLedStrip.WS2811StripController, DirectOutput.Cab.Out.Pac.PacDrive, DirectOutput.Cab.Out.FTDIChip.FT245RBitbangController, and DirectOutput.Cab.Out.DMX.ArtNet.
|
pure virtual |
Update must update the physical outputs to the values defined in the Outputs list.
Implements DirectOutput.Cab.Out.IOutputController.
Implemented in DirectOutput.Cab.Out.AdressableLedStrip.WS2811StripController, DirectOutput.Cab.Out.DMX.ArtNet, DirectOutput.Cab.Out.LW.LedWiz, DirectOutput.Cab.Out.Pac.PacLed64, DirectOutput.Cab.Out.FTDIChip.FT245RBitbangController, DirectOutput.Cab.Out.NullOutputController.NullOutputController, and DirectOutput.Cab.Out.Pac.PacDrive.
|
getset |
Contains the OutputList object for the outputs of the output controller.