IDataQueueT Interface |
Namespace: FinAnalysis.Base
public interface IDataQueue<T> : IEnumerable<T>, IEnumerable
The IDataQueueT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Count |
Get the number of elements stored in container.
|
![]() | First |
Get first(oldest) data element store in container.
|
![]() | ItemDateTime |
Return historically latest element with smaller or equal DateTime.
Note: do not try to use this method if you didn't specify DateTime to data elements.
|
![]() | ItemInt32 |
Get data which was store "index" steps ago.
|
![]() | Last |
Get last data element stored in container.
|
![]() | Previous |
Get previous data element stored in container.
|
![]() | Ready |
Ready flag is set if and only if queue contain something.
|
Name | Description | |
---|---|---|
![]() | GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableT.) |
![]() | Put(T) |
Store new data element in queue without DateTime.
|
![]() | Put(T, DateTime) |
Store new data element in queue with DateTime.
|
![]() | SetQueueListener |
Set listener to queue capacity. Queue will call OnPop method every time, when queue drop some element.
And OnPush method, when queue store element.
|