|
CESE 1.4.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.simulogic.dataview.DataChannel
com.simulogic.dataview.TimeChannel
public class TimeChannel
Class that generates descrete time marks
| Constructor Summary | |
|---|---|
TimeChannel()
Default constructor |
|
TimeChannel(double rate,
int recs)
Creates new TimeChannel |
|
TimeChannel(java.lang.String name,
int recs)
Creates new TimeChannel |
|
| Method Summary | |
|---|---|
double |
getData(int inc)
Returns value for given index in data array |
double |
getRate()
Returns rate of this channel |
void |
grow(int inc)
Grows data array by a specific number of data points |
double |
maxLimit()
Returns the largest value in data array |
double |
minLimit()
Returns the smallest value in data array |
void |
setData(int inc,
double val)
Sets value at the given index in data array |
void |
setRate(double rate)
Sets rate for this channel |
int |
size()
Returns size of the data array |
| Methods inherited from class com.simulogic.dataview.DataChannel |
|---|
getAttribute, getName, getPlot, getUnits, setAttribute, setName, setPlot, setUnits, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeChannel()
public TimeChannel(double rate,
int recs)
TimeChannel
rate - rate in usrecs - number of records in the channel
public TimeChannel(java.lang.String name,
int recs)
name - name of the channelrecs - number of records in the channel| Method Detail |
|---|
public double minLimit()
minLimit in class DataChannelpublic double maxLimit()
maxLimit in class DataChannelpublic double getRate()
public void setRate(double rate)
rate - new channel ratepublic final int size()
size in class DataChannelpublic final double getData(int inc)
getData in class DataChannelinc - index in the array
public final void setData(int inc,
double val)
setData in class DataChannelinc - index in the arrayval - new data valuepublic void grow(int inc)
grow in class DataChannelinc - increment for data array size
|
CESE 1.4.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||