DataFeed-Producer
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -658,11 +658,12 @@ begin
|
|||||||
|
|
||||||
// Initialize reused View object (Cursor Pattern)
|
// Initialize reused View object (Cursor Pattern)
|
||||||
// This object implements IScalarRecord and is updated for each tick.
|
// 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
|
for var i := 0 to cCount - 1 do
|
||||||
begin
|
begin
|
||||||
View.SetData(pCursor);
|
ViewObj.SetData(pCursor);
|
||||||
|
|
||||||
// Broadcast to all listeners
|
// Broadcast to all listeners
|
||||||
FTicker.Broadcast(View);
|
FTicker.Broadcast(View);
|
||||||
|
|||||||
Reference in New Issue
Block a user