Example #1
0
 public DataObject Next(FunctionBlock subscriber)
 {
     lock (this)
     {
         done = true;
         if (time != subscriber.dataSelector)
         {
             time = subscriber.dataSelector;
             timer.Change(0, time);
         }
         return(functionBlock.output);
     }
 }
Example #2
0
 public Cancel(IObserver <DataObject> observer, FunctionBlock observable)
 {
     this.observer   = observer;
     this.observable = observable;
 }
Example #3
0
 public IteratorTime(FunctionBlock functionBlock)
 {
     this.functionBlock = functionBlock;
     time  = functionBlock.dataSelector;
     timer = new System.Threading.Timer(timer_Tick, null, 0, time);
 }
Example #4
0
 public DataObject Next(FunctionBlock subscriber)
 {
     return(functionBlock.output);
 }
Example #5
0
 public IteratorSimple(FunctionBlock functionBlock)
 {
     this.functionBlock = functionBlock;
 }
Example #6
0
 public void Add(FunctionBlock functionBlock, AnalysisType analysisType)
 {
     functionBlock.analysisType   = analysisType;
     functionBlock.FunctionBlocks = this;
     base.Add(functionBlock.analysisType, functionBlock);
 }
Example #7
0
 public BindingSourceObject(FunctionBlock functionBlock)
 {
     this.functionBlock = functionBlock;
 }