DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.Cab.Out.Pac.PacDrive Class Reference

The PacDrive is a simple output controller with 16 digital/on off outputs. More...

Inheritance diagram for DirectOutput.Cab.Out.Pac.PacDrive:
Collaboration diagram for DirectOutput.Cab.Out.Pac.PacDrive:

Public Member Functions

override void Update ()
 Signals the workerthread that all pending updates for the PacDrive should be sent to the PacDrive. More...
 
override void Init (Cabinet Cabinet)
 Initializes the PacDrive object.
This method does also start the workerthread which does the actual update work when Update() is called.
This method should only be called once. Subsequent calls have no effect. More...
 
override void Finish ()
 Finishes the PacDrive object.
Finish does also terminate the workerthread. More...
 
 PacDrive ()
 Initializes a new instance of the PacDriveInstance 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.
It updates the internal array holding the states of the PacDrive outputs. More...
 

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.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< NameChangeEventArgsBeforeNameChange
 Event is fired before the value of the property Name is changed. More...
 
- Events inherited from DirectOutput.General.Generic.INamedItem
EventHandler< NameChangeEventArgsBeforeNameChange
 Occurs before the name of the item changes. More...
 
EventHandler< NameChangeEventArgsAfterNameChanged
 Occurs when after the name of the item has changed. More...
 

Detailed Description

The PacDrive is a simple output controller with 16 digital/on off outputs.

DOF supports a the use of 1 PacDrive unit. This unit can be detected and configured automatically. If auto configuration is used, the generated LedWizEquivalent toy for the PacDrive will have number 19. This means that ini files numbered with 19 are automatically used to configure a PicDrive unit.

The outputs are by default turned on when the PacDrive unit is powered up. This controller class will turn off the PacDrive outputs upon initialisation and when it is finished.

This unit is made and sold by Ultimarc.

pacdrivelogo.jpg

Constructor & Destructor Documentation

DirectOutput.Cab.Out.Pac.PacDrive.PacDrive ( )

Initializes a new instance of the PacDriveInstance class.

Member Function Documentation

override void DirectOutput.Cab.Out.Pac.PacDrive.Finish ( )

Finishes the PacDrive object.
Finish does also terminate the workerthread.

Implements DirectOutput.Cab.Out.IOutputController.

override void DirectOutput.Cab.Out.Pac.PacDrive.Init ( Cabinet  Cabinet)

Initializes the PacDrive object.
This method does also start the workerthread which does the actual update work when Update() is called.
This method should only be called once. Subsequent calls have no effect.

Parameters
CabinetThe Cabinet object which is using the PacDrive instance.

Implements DirectOutput.Cab.Out.IOutputController.

override void DirectOutput.Cab.Out.Pac.PacDrive.OnOutputValueChanged ( IOutput  Output)
protectedvirtual

This method is called whenever the value of a output in the Outputs property changes its value.
It updates the internal array holding the states of the PacDrive outputs.

Parameters
OutputThe output.
Exceptions
System.ExceptionThe OutputValueChanged event handler for the PacDrive uni has been called by a sender which is not a OutputNumbered. or PacDrive output numbers must be in the range of 1-16. The supplied output number {0} is out of range..Build(ON.Number)

Reimplemented from DirectOutput.Cab.Out.OutputControllerBase.

override void DirectOutput.Cab.Out.Pac.PacDrive.Update ( )

Signals the workerthread that all pending updates for the PacDrive should be sent to the PacDrive.

Implements DirectOutput.Cab.Out.IOutputController.


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