WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
This is a dummy output controller not doing anthing with the data it receives.
It is mainly thought as a sample how to implement a simple output controller.
More...
Public Member Functions | |
override void | Init (Cabinet Cabinet) |
Init initializes the ouput controller. This method is called after the objects haven been instanciated. More... | |
override void | Finish () |
Finishes the ouput controller. All necessary cleanup tasks have to be implemented here und all physical outputs have to be turned off. More... | |
override void | Update () |
Update must update the physical outputs to the values defined in the Outputs list. More... | |
NullOutputController () | |
Initializes a new instance of the NullOutputController class. More... | |
Protected Member Functions | |
override void | OnOutputValueChanged (IOutput Output) |
This method is called whenever the value of a output in the Outputs property changes its value. This method must implement the logic to trigger the update the physical outputs. More... | |
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) |
Additional Inherited Members | |
Properties inherited from DirectOutput.Cab.Out.OutputControllerBase | |
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... | |
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... | |
This is a dummy output controller not doing anthing with the data it receives.
It is mainly thought as a sample how to implement a simple output controller.
Definition at line 18 of file NullOutputController.cs.
DirectOutput.Cab.Out.NullOutputController.NullOutputController.NullOutputController | ( | ) |
Initializes a new instance of the NullOutputController class.
Definition at line 51 of file NullOutputController.cs.
override void DirectOutput.Cab.Out.NullOutputController.NullOutputController.Finish | ( | ) |
Finishes 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.
Definition at line 35 of file NullOutputController.cs.
override void DirectOutput.Cab.Out.NullOutputController.NullOutputController.Init | ( | Cabinet | Cabinet | ) |
Init initializes the ouput controller.
This method is called after the objects haven been instanciated.
Cabinet | The cabinet object which is using the output controller instance. |
Implements DirectOutput.Cab.Out.IOutputController.
Definition at line 27 of file NullOutputController.cs.
|
protectedvirtual |
This method is called whenever the value of a output in the Outputs property changes its value.
This method must implement the logic to trigger the update the physical outputs.
Output | The output. |
Implements DirectOutput.Cab.Out.OutputControllerBase.
Definition at line 62 of file NullOutputController.cs.
override void DirectOutput.Cab.Out.NullOutputController.NullOutputController.Update | ( | ) |
Update must update the physical outputs to the values defined in the Outputs list.
Implements DirectOutput.Cab.Out.IOutputController.
Definition at line 43 of file NullOutputController.cs.