|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
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) |
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.
| void(* WU_Reader::delete) (struct WU_Reader_ *reader) |
| void *(* WU_Reader::next) (struct WU_Reader_ *reader) |