DirectOuput Framework R2
DirectOutput framework R2 for virtual pinball cabinets
Go to:
Overview 
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.PinballSupport.InputQueue Class Reference

Simple queue of TableElementData objects.
Used by the framework to separate data receiving and data processing. More...

Inheritance diagram for DirectOutput.PinballSupport.InputQueue:
Collaboration diagram for DirectOutput.PinballSupport.InputQueue:

Public Member Functions

void Enqueue (Char TableElementTypeChar, int Number, int Value)
 Enqueues input data. More...
 
new void Enqueue (TableElementData TableElementData)
 Enqueues the specified TableElementData object. More...
 
new TableElementData Dequeue ()
 Dequeues the TableElementData object at the front of the queue. More...
 
new TableElementData Peek ()
 Returns the TableElementData object at the front of the queue without dequeueing it. More...
 
new void Clear ()
 Clears all elements from the queue. More...
 

Properties

new int Count [get]
 Gets the of TableElementData objects in the queue.. More...
 

Detailed Description

Simple queue of TableElementData objects.
Used by the framework to separate data receiving and data processing.

Definition at line 12 of file InputQueue.cs.

Member Function Documentation

new void DirectOutput.PinballSupport.InputQueue.Clear ( )
inline

Clears all elements from the queue.

Definition at line 88 of file InputQueue.cs.

new TableElementData DirectOutput.PinballSupport.InputQueue.Dequeue ( )
inline

Dequeues the TableElementData object at the front of the queue.

Returns

Definition at line 45 of file InputQueue.cs.

void DirectOutput.PinballSupport.InputQueue.Enqueue ( Char  TableElementTypeChar,
int  Number,
int  Value 
)
inline

Enqueues input data.

Parameters
TableElementTypeCharChar specifing the TableElementType of the TableElement (see TableElementTypeEnum for valid values)
NumberThe number of the TableElement.
ValueThe value of the TableElement.

Definition at line 23 of file InputQueue.cs.

new void DirectOutput.PinballSupport.InputQueue.Enqueue ( TableElementData  TableElementData)
inline

Enqueues the specified TableElementData object.

Parameters
TableElementDataThe table element data.

Definition at line 33 of file InputQueue.cs.

new TableElementData DirectOutput.PinballSupport.InputQueue.Peek ( )
inline

Returns the TableElementData object at the front of the queue without dequeueing it.

Returns

Definition at line 57 of file InputQueue.cs.

Property Documentation

new int DirectOutput.PinballSupport.InputQueue.Count
get

Gets the of TableElementData objects in the queue..

The count of TableElementData object.

Definition at line 73 of file InputQueue.cs.


The documentation for this class was generated from the following file: