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

Basic IOutput implementation. More...

Inheritance diagram for DirectOutput.Cab.Out.Output:
DirectOutput.General.Generic.NamedItemBase DirectOutput.Cab.Out.IOutput DirectOutput.General.Generic.INamedItem DirectOutput.General.Generic.INamedItem DirectOutput.Cab.Out.AdressableLedStrip.LedStripOutput DirectOutput.Cab.Out.DMX.DMXOutput DirectOutput.Cab.Out.LW.LedWizOutput

Public Member Functions

delegate void ValueChangedEventHandler (object sender, OutputEventArgs e)
 Event handler for ValueChanged events. More...
 

Protected Member Functions

void OnValueChanged ()
 Called when value of the output changes. 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)
 

Properties

byte Value [get, set]
 Value of the Output.
Valid value range is 0-255. More...
 
int Number [get, set]
 Gets or sets the number of the Output object. 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.IOutput
byte Value [get, set]
 Value of the output.
More...
 
int Number [get, set]
 Gets or sets the number of the Output object. More...
 

Events

ValueChangedEventHandler ValueChanged
 Event fires if the Value property of the Ouput is changed 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...
 
- Events inherited from DirectOutput.Cab.Out.IOutput
Output.ValueChangedEventHandler ValueChanged
 This event has to fire if the Value of the output is changed More...
 

Detailed Description

Basic IOutput implementation.

Definition at line 14 of file Output.cs.

Member Function Documentation

void DirectOutput.Cab.Out.Output.OnValueChanged ( )
protected

Called when value of the output changes.

Definition at line 55 of file Output.cs.

delegate void DirectOutput.Cab.Out.Output.ValueChangedEventHandler ( object  sender,
OutputEventArgs  e 
)

Event handler for ValueChanged events.

Parameters
senderThe sender of the event.
eThe OutputEventArgs instance containing the event data.

Property Documentation

int DirectOutput.Cab.Out.Output.Number
getset

Gets or sets the number of the Output object.

The number of the Output object.

Definition at line 48 of file Output.cs.

byte DirectOutput.Cab.Out.Output.Value
getset

Value of the Output.
Valid value range is 0-255.

Definition at line 26 of file Output.cs.

Event Documentation

ValueChangedEventHandler DirectOutput.Cab.Out.Output.ValueChanged

Event fires if the Value property of the Ouput is changed

Definition at line 66 of file Output.cs.


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