fm.liveswitch.IDispatchQueue< T > Interface Template Reference

A dispatch queue interface. More...

Public Member Functions

abstract void destroy ()
 Destroys the queue. More...
 
abstract void enqueue (T item)
 Enqueues an item for processing. More...
 
abstract long getQueueCount ()
 Gets the number of items in the queue. More...
 

Detailed Description

A dispatch queue interface.

Member Function Documentation

◆ destroy()

abstract void fm.liveswitch.IDispatchQueue< T >.destroy ( )
abstract

◆ enqueue()

abstract void fm.liveswitch.IDispatchQueue< T >.enqueue ( item)
abstract

Enqueues an item for processing.

Parameters
itemThe item.

Implemented in fm.liveswitch.ThreadDispatchQueue< T >, and fm.liveswitch.DispatchQueue< T >.

◆ getQueueCount()

abstract long fm.liveswitch.IDispatchQueue< T >.getQueueCount ( )
abstract

Gets the number of items in the queue.

Implemented in fm.liveswitch.ThreadDispatchQueue< T >, and fm.liveswitch.DispatchQueue< T >.