public OvrvisionTextureProcessor() { _ovr = new COvrvisionUnity(); _ovr.useProcessingQuality = COvrvisionUnity.OV_CAMQT_DMS; _processorThread = new ProcessorThread(this); _processorThread.Start(); }
public IEventProcessor Start() { if (Started) { return this; } foreach (var module in Configuration.Modules) { module.Initialize(this); } Configuration.ProjectionService.AttemptInitialization(this); foreach (var eventProjection in _eventProjections) { var processorThread = new ProcessorThread(string.Format("EventQueue-{0}", eventProjection.Name), new EventProjectionProcessor(this, eventProjection)); processorThread.Start(); _processorThreads.Add(processorThread); } _started = true; return this; }
public TxOVRVisionImageProcessor(TxKitEyes e) { _eyes = e; _ovr = new COvrvisionUnity(); _ovr.useProcessingQuality = COvrvisionUnity.OV_CAMQT_DMS; _processorThread = new ProcessorThread(this); _processorThread.Start(); }
internal SendMessageTask(NTcpListener listenser) { _Listener = listenser; _TotalQueueCount = 0; Event = new AutoResetEvent(false); _Thread = new ProcessorThread(ThreadProc); _Thread.IsBackground = true; }
/// <summary> /// Stop the connection /// </summary> internal void Stop() { // Request the listener thread to stop StopRequested = true; // If connection failed to start there's no processor thread if (ProcessorThread != null) { // Wait for termination ProcessorThread.Join(); } }
public TxOVRVisionImageProcessor(TxKitEyes e) { _eyes = e; _ovr = new COvrvisionUnity(); _ovr.useProcessingQuality = COvrvisionUnity.OV_CAMQT_DMS; _processorThread = new ProcessorThread(this); _processorThread.Start(); for (int i = 0; i < 2; ++i) { _flipProcessor[i] = new OffscreenProcessor(); _flipProcessor[i].ShaderName = "Image/FlipCoord"; _flipProcessor[i].TargetFormat = RenderTextureFormat.ARGB32; } }
public ProcessorThreadObj(ManualResetEvent startEvent, ManualResetEvent doneEvent, ProcessorThread processorThread) { this.startEvent = startEvent; this.doneEvent = doneEvent; this.processorThread = processorThread; }
protected override void OnStart(string[] args) { _service = new ReportServiceHost(); _ProcessorThread = new ProcessorThread(); }
protected virtual void TerminateProcessing() { ProcessorThread.Join(1500); }