DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 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.

Member Function Documentation

new void DirectOutput.PinballSupport.InputQueue.Clear ( )

Clears all elements from the queue.

new TableElementData DirectOutput.PinballSupport.InputQueue.Dequeue ( )

Dequeues the TableElementData object at the front of the queue.

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

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.
new void DirectOutput.PinballSupport.InputQueue.Enqueue ( TableElementData  TableElementData)

Enqueues the specified TableElementData object.

Parameters
TableElementDataThe table element data.
new TableElementData DirectOutput.PinballSupport.InputQueue.Peek ( )

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

Returns

Property Documentation

new int DirectOutput.PinballSupport.InputQueue.Count
get

Gets the of TableElementData objects in the queue..

The count of TableElementData object.


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