DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
|
Base class for effects targeting another effect. More...
Public Member Functions | |
override void | Init (Table.Table Table) |
Initializes the EffectEffect. Resolves the name of the TargetEffect. More... | |
override void | Finish () |
Finishes the EffectEffect. Releases the references to the target effect and to the table object. More... | |
Public Member Functions inherited from DirectOutput.FX.EffectBase | |
abstract void | Trigger (TableElementData TableElementData) |
Triggers the effect with the given TableElementData. More... | |
Protected Member Functions | |
void | TriggerTargetEffect (TableElementData TriggerData) |
Triggers the target effect. The method will deactivate the target effect if it throws a exception. More... | |
Properties | |
string | TargetEffectName [get, set] |
Name of the target effect. Triggers EffectNameChanged if value is changed. More... | |
IEffect | TargetEffect [get, set] |
TargetEffect for the effect (ReadOnly). The property is resolved from the TargetEffectName. If TargetEffectName is empty or unknown this property will return null. More... | |
Table.Table | Table [get, set] |
Gets the table object which is hosting the effect. 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.FX.IEffect | |
new EventHandler < NameChangeEventArgs > | AfterNameChanged |
This event must be fired after the Name property of a IEffect object has changed. More... | |
new EventHandler < NameChangeEventArgs > | BeforeNameChange |
This event must be fired before the Name property of a IEffect object is changed. More... | |
Base class for effects targeting another effect.
|
virtual |
Finishes the EffectEffect.
Releases the references to the target effect and to the table object.
Reimplemented from DirectOutput.FX.EffectBase.
Reimplemented in DirectOutput.FX.TimmedFX.BlinkEffect, DirectOutput.FX.TimmedFX.MinDurationEffect, DirectOutput.FX.TimmedFX.DurationEffect, DirectOutput.FX.TimmedFX.ExtendDurationEffect, and DirectOutput.FX.TimmedFX.DelayEffect.
|
virtual |
Initializes the EffectEffect.
Resolves the name of the TargetEffect.
Implements DirectOutput.FX.EffectBase.
Reimplemented in DirectOutput.FX.TimmedFX.ExtendDurationEffect, and DirectOutput.FX.TimmedFX.DelayEffect.
|
protected |
Triggers the target effect.
The method will deactivate the target effect if it throws a exception.
TriggerData | The trigger data for the target effect. |
|
getsetprotected |
Gets the table object which is hosting the effect.
The table object which is hosting the effect.
|
getsetprotected |
TargetEffect for the effect (ReadOnly).
The property is resolved from the TargetEffectName. If TargetEffectName is empty or unknown this property will return null.
|
getset |
Name of the target effect.
Triggers EffectNameChanged if value is changed.