CronoSeries  0.1.*
A fork of Cronos with a focus on being a Time Series class library.
Public Member Functions | Properties | List of all members
CronoSeries.TimeSeries.Data.DataSource Class Referenceabstract

This class provides a mechanism for connection to external sources of data. The simplest example is a connection to a .csv file, but more interesting examples could include connections by network to a broker's historical data feed, a connection to a local database of time series, etc. More...

Inheritance diagram for CronoSeries.TimeSeries.Data.DataSource:
CronoSeries.TimeSeries.Data.IConnectable

Public Member Functions

int NumInputs ()
 
int NumOutputs ()
 
string GetInputName (int socket)
 
string GetOutputName (int socket)
 
virtual List< Type > GetAllowedInputTypesFor (int socket)
 
virtual List< Type > GetOutputTypesFor (int socket)
 
bool InputIsFree (int socket)
 
bool SetInput (int socket, object item, StringBuilder failMessage)
 
object GetOutput (int socket)
 
string GetDescription ()
 
string GetShortDescription ()
 
abstract bool RefreshFromSource (out string infoMessage)
 returns true if data retrieval is successful More...
 

Properties

object Data [get, protected set]
 
string ToolTipText [get, set]
 
- Properties inherited from CronoSeries.TimeSeries.Data.IConnectable
string ToolTipText [get, set]
 

Detailed Description

This class provides a mechanism for connection to external sources of data. The simplest example is a connection to a .csv file, but more interesting examples could include connections by network to a broker's historical data feed, a connection to a local database of time series, etc.

Member Function Documentation

◆ RefreshFromSource()

abstract bool CronoSeries.TimeSeries.Data.DataSource.RefreshFromSource ( out string  infoMessage)
pure virtual

returns true if data retrieval is successful

Parameters
infoMessagereturns any log information about retrieval
Returns

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