WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.Cab.Out.NullOutputController.NullOutputController Class Reference

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...

Inheritance diagram for DirectOutput.Cab.Out.NullOutputController.NullOutputController:
DirectOutput.Cab.Out.OutputControllerBase DirectOutput.Cab.Out.IOutputController DirectOutput.General.Generic.NamedItemBase DirectOutput.Cab.Out.IOutputController DirectOutput.General.Generic.INamedItem DirectOutput.General.Generic.INamedItem DirectOutput.General.Generic.INamedItem

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< 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

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.

Remarks
Be sure to check the abstract OutputControllerBase class and the IOutputController interface for a better understanding.

Definition at line 18 of file NullOutputController.cs.

Constructor & Destructor Documentation

DirectOutput.Cab.Out.NullOutputController.NullOutputController.NullOutputController ( )

Initializes a new instance of the NullOutputController class.

Definition at line 51 of file NullOutputController.cs.

Member Function Documentation

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.

Parameters
CabinetThe cabinet object which is using the output controller instance.

Implements DirectOutput.Cab.Out.IOutputController.

Definition at line 27 of file NullOutputController.cs.

override void DirectOutput.Cab.Out.NullOutputController.NullOutputController.OnOutputValueChanged ( IOutput  Output)
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.

Parameters
OutputThe 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.


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