WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
OutputControllerFlexCompleteBase.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.Cab.Out
7 {
9  {
10 
11  private int _NumberOfOutputs = 1;
12 
13  public int NumberOfOutputs
14  {
15  get { return _NumberOfOutputs; }
16  set
17  {
18  _NumberOfOutputs = value;
19  base.SetupOutputs();
20  }
21  }
22 
23 
24  protected override int GetNumberOfConfiguredOutputs()
25  {
26  return NumberOfOutputs;
27  }
28  }
29 }
override int GetNumberOfConfiguredOutputs()
This method must return the number of configured outputs. The method is used internaly to determine t...
This abstract class implement the full base logic for a output controller with a separate thread for ...
void SetupOutputs()
Manages to output object of the output controller. Use the GetNumberOfConfiguredOutputs() method to d...