DataSource

DataSource

new

Defines the interface for data sources, which turn arbitrary data into a DynamicObjectCollection for generic consumption. This object is an interface for documentation purposes and is not intended to be instantiated directly.

Source:

Members

Gets an event that will be raised when non-time-Varying data changes or if the return value of getIsTimeVarying changes.

Gets the top level clock associated with this data source, or undefined if no clock exists.

Gets the DynamicObjectCollection generated by this data source.

Gets an event that will be raised if an error is encountered during processing.

Gets a value indicating if the data varies with simulation time. If the return value of this function changes, the changed event will be raised.

Methods

<static>

Gets an event that will be raised when non-time-varying data changes or if the return value of getIsTimeVarying changes.

Returns:
Event The event.

<static>

Gets the DynamicObjectCollection generated by this data source.

Returns:
DynamicObjectCollection The collection of objects generated by this data source.

<static>

Gets a value indicating if the data varies with simulation time. If the return value of this function changes, the changed event will be raised.

Returns:
Boolean True if the data is varies with simulation time, false otherwise.