DispatcherQueue Methods
Microsoft Robotics Class Reference
The DispatcherQueue type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose() () () () |
Dispose releases resources associated with this instance
|
|
Dispose(Boolean) |
Implementation of dispose
|
|
Enqueue |
Enqueue ITask instance
|
|
EnqueueTimer |
Enqueues a timer registration that will post a DateTime item on the timerPort
|
|
EnqueueTimerUsingClrSystemTimers |
Enqueues a timer registration that will post a DateTime item on the timerPort
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Resume |
Resumes execution of tasks, including any tasks queued while in paused state
|
|
SignalDispatcher |
Signals the Dispatcher instance associated with this queue, so an available thread executes the recently queued task
|
|
Suspend |
Suspend scheduling of tasks. Tasks can still be queued
|
|
ToString | (Inherited from Object.) | |
TryDequeue |
Atomically removes an ITask instance if the port is non empty
|
Extension Methods
Name | Description | |
---|---|---|
Activate< (Of < <' (T> ) > > ) |
Submits CCR tasks to the dispatcher port for execution. If the task was a receiver orchestration like join or choice, executing it means registering constraints on ports to guard the execution of user code
(Defined by DispatcherQueueExtensions.) |
|
EmptyHandler< (Of < <' (T> ) > > ) |
An empty handler implementation that can be used in a receiver to handle a message without side effects
(Defined by DispatcherQueueExtensions.) |
|
Spawn(Handler) | Overloaded.
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
Spawn< (Of < <' (T0> ) > > )(T0, Handler< (Of < <' (T0> ) > > )) | Overloaded.
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
Spawn< (Of < <' (T0, T1> ) > > )(T0, T1, Handler< (Of < <' (T0, T1> ) > > )) | Overloaded.
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
Spawn< (Of < <' (T0, T1, T2> ) > > )(T0, T1, T2, Handler< (Of < <' (T0, T1, T2> ) > > )) | Overloaded.
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
SpawnIterator(IteratorHandler) | Overloaded.
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
SpawnIterator< (Of < <' (T0> ) > > )(T0, IteratorHandler< (Of < <' (T0> ) > > )) | Overloaded.
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
SpawnIterator< (Of < <' (T0, T1> ) > > )(T0, T1, IteratorHandler< (Of < <' (T0, T1> ) > > )) | Overloaded.
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
SpawnIterator< (Of < <' (T0, T1, T2> ) > > )(T0, T1, T2, IteratorHandler< (Of < <' (T0, T1, T2> ) > > )) | Overloaded.
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Defined by DispatcherQueueExtensions.) |
|
TimeoutPort(Int32) | Overloaded.
Creates a port to receive a time signal, registers a timeout with the sequencer, supplying the private port.
(Defined by DispatcherQueueExtensions.) |
|
TimeoutPort(TimeSpan) | Overloaded.
Creates a port to receive a time signal, registers a timeout with the sequencer, supplying the private port.
(Defined by DispatcherQueueExtensions.) |