|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.simulogic.cese.signals.AbstractSignal
public abstract class AbstractSignal
This is an abstract class for creating signals designed to clamp variable parameters
Field Summary | |
---|---|
protected int |
maxParams
Maximal number of parameters for the signal |
protected java.util.Vector |
parameters
Vector of signal parameters |
Constructor Summary | |
---|---|
AbstractSignal()
|
Method Summary | |
---|---|
void |
addParameter(double par)
Adds new parameter (duration, amplitude, etc.) |
abstract double[] |
buildSignal(double dt)
Abstract method for building the signal, you should override it in your classes |
int |
getMaxParams()
Returns maximum number of parameters for the current signal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector parameters
protected int maxParams
Constructor Detail |
---|
public AbstractSignal()
Method Detail |
---|
public void addParameter(double par)
par
- value of parameterpublic int getMaxParams()
public abstract double[] buildSignal(double dt)
dt
- current sampling step, i.e. distance between 2 data points
|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |