- getTimeAt(..):
-
The getTimeAt(..) method indicates the timecode for a given element.
Since ORANGE files do not have timecode information, just return 0.
- getType():
-
The getType() method tells the file's "type". For the purposes of this
method, the file's type is the type that most closely matches a BLUE file type.
Here we have 1D data, so just return 1000.
- connect(..):
-
The connect(..) method is only relevent for BLUE file pipes. This method can
just be left blank.
- getMode():
-
getMode() gives the mode of the data. For 1D, scalar data this is just
1.
- getLayer():
-
getLayer() returns a default layer instance for use with this file type. This
allows users to plot these file types without specifying the layer type every time.
Since we have 1D data, we will just return new Layer1D() for now.
- continued on next page