public class DefaultDataProvider extends java.lang.Object implements ITableDataProvider
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
columnnames
The column names.
|
protected AbstractEnvironmentSpace |
envspace
The environment space.
|
protected IParsedExpression[] |
exps
The expressions.
|
protected IObjectSource[] |
rowproviders
The space object selector.
|
protected java.lang.String |
tablename
The table name.
|
Constructor and Description |
---|
DefaultDataProvider(AbstractEnvironmentSpace envspace,
IObjectSource[] rowproviders,
java.lang.String tablename,
java.lang.String[] columnnames,
IParsedExpression[] exps)
Create a new space object table data provider.
|
Modifier and Type | Method and Description |
---|---|
DataTable |
getTableData(long time,
double tick)
Get the data from a data provider.
|
protected AbstractEnvironmentSpace envspace
protected IObjectSource[] rowproviders
protected java.lang.String tablename
protected java.lang.String[] columnnames
protected IParsedExpression[] exps
public DefaultDataProvider(AbstractEnvironmentSpace envspace, IObjectSource[] rowproviders, java.lang.String tablename, java.lang.String[] columnnames, IParsedExpression[] exps)
public DataTable getTableData(long time, double tick)
getTableData
in interface ITableDataProvider
time
- The current time.tick
- The current tick.