DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
DirectOutput.Cab.Out.Output Class Reference

Basic IOutput implementation. More...

Inheritance diagram for DirectOutput.Cab.Out.Output:
Collaboration diagram for DirectOutput.Cab.Out.Output:

Public Member Functions

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

Protected Member Functions

void OnValueChanged ()
 Called when value of the output changes.
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.
int Number [get, set]
 Gets or sets the number of the Output object.
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.

Events

ValueChangedEventHandler ValueChanged
 Event fires if the Value property of the Ouput is changed.
Events inherited from DirectOutput.General.Generic.NamedItemBase
EventHandler< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed.
EventHandler< NameChangeEventArgsBeforeNameChanged
 Event is fired before the value of the property Name is changed.
PropertyChangedEventHandler PropertyChanged
PropertyChangingEventHandler PropertyChanging
Events inherited from DirectOutput.General.Generic.INamedItem
EventHandler< NameChangeEventArgsBeforeNameChanged
 Occurs before the name of the item changes.
EventHandler< NameChangeEventArgsAfterNameChanged
 Occurs when after the name of the item has changed.
Events inherited from DirectOutput.Cab.Out.IOutput
Output.ValueChangedEventHandler ValueChanged
 This event has to fire if the Value of the output is changed.

Detailed Description

Basic IOutput implementation.

Member Function Documentation

◆ OnValueChanged()

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

Called when value of the output changes.

◆ ValueChangedEventHandler()

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

◆ Number

int DirectOutput.Cab.Out.Output.Number
getset

Gets or sets the number of the Output object.

The number of the Output object.

Implements DirectOutput.Cab.Out.IOutput.

◆ Value

byte DirectOutput.Cab.Out.Output.Value
getset

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

Implements DirectOutput.Cab.Out.IOutput.

Event Documentation

◆ ValueChanged

ValueChangedEventHandler DirectOutput.Cab.Out.Output.ValueChanged

Event fires if the Value property of the Ouput is changed.


The documentation for this class was generated from the following file:
  • D:/a/DirectOutput/DirectOutput/DirectOutput/Cab/Out/Output.cs