DataFeed-Producer
This commit is contained in:
@@ -658,11 +658,12 @@ begin
|
||||
|
||||
// Initialize reused View object (Cursor Pattern)
|
||||
// This object implements IScalarRecord and is updated for each tick.
|
||||
var View := TScalarRecordView.Create(FDef);
|
||||
var ViewObj := TScalarRecordView.Create(FDef);
|
||||
var View := ViewObj as IScalarRecord;
|
||||
|
||||
for var i := 0 to cCount - 1 do
|
||||
begin
|
||||
View.SetData(pCursor);
|
||||
ViewObj.SetData(pCursor);
|
||||
|
||||
// Broadcast to all listeners
|
||||
FTicker.Broadcast(View);
|
||||
|
||||
Reference in New Issue
Block a user