WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
WU_Reader Struct Reference

Base for a reader, which defines the minimal interface for reading the next data point from a data source and a method to free the reader's resources. More...

#include <readers.h>

Data Fields

void *(* next )(struct WU_Reader_ *reader)
void(* delete )(struct WU_Reader_ *reader)

Detailed Description

Base for a reader, which defines the minimal interface for reading the next data point from a data source and a method to free the reader's resources.

The delete method should be called by the runner taking ownership of the reader. It is expected that specific reader implementations will extend this base structure and implement the defined methods.

Definition at line 16 of file readers.h.

Field Documentation

◆ delete

void(* WU_Reader::delete) (struct WU_Reader_ *reader)

Definition at line 18 of file readers.h.

◆ next

void *(* WU_Reader::next) (struct WU_Reader_ *reader)

Definition at line 17 of file readers.h.


The documentation for this struct was generated from the following file: