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 the name of this data source. If the return value of this function changes, the changed event will be raised.

Methods

Gets an event that will be raised when non-time-varying data changes, such as the return value of getName, getClock, or getIsTimeVarying.

Returns:
Event The event.

Gets the top level clock associated with this data source, or undefined if no clock exists. If the return value of this function changes, the changed event will be raised.

Returns:
DynamicClock The clock associated with this data source, or undefined if none exists.

Gets the DynamicObjectCollection generated by this data source.

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

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

Returns:
Event The event.

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.