Lean
$LEAN_TAG$
|
A never ending queue that will dequeue and reenqueue the same item More...
Public Member Functions | |
CircularQueue (params T[] items) | |
Initializes a new instance of the CircularQueue<T> class More... | |
CircularQueue (IEnumerable< T > items) | |
Initializes a new instance of the CircularQueue<T> class More... | |
T | Dequeue () |
Dequeues the next item More... | |
Protected Member Functions | |
virtual void | OnCircleCompleted () |
Event invocator for the CircleCompleted evet More... | |
Events | |
EventHandler | CircleCompleted |
Fired when we do a full circle More... | |
A never ending queue that will dequeue and reenqueue the same item
Definition at line 24 of file CircularQueue.cs.
QuantConnect.Util.CircularQueue< T >.CircularQueue | ( | params T[] | items | ) |
Initializes a new instance of the CircularQueue<T> class
items | The items in the queue |
Definition at line 38 of file CircularQueue.cs.
QuantConnect.Util.CircularQueue< T >.CircularQueue | ( | IEnumerable< T > | items | ) |
Initializes a new instance of the CircularQueue<T> class
items | The items in the queue |
Definition at line 47 of file CircularQueue.cs.
T QuantConnect.Util.CircularQueue< T >.Dequeue | ( | ) |
Dequeues the next item
Definition at line 67 of file CircularQueue.cs.
|
protectedvirtual |
Event invocator for the CircleCompleted evet
Definition at line 81 of file CircularQueue.cs.
EventHandler QuantConnect.Util.CircularQueue< T >.CircleCompleted |
Fired when we do a full circle
Definition at line 32 of file CircularQueue.cs.