DataFeed-Producer

This commit is contained in:
Michael Schimmel
2025-12-09 11:03:06 +01:00
parent 9a4f477cfd
commit e56bf7ee7d
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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);