Classify streams and generators consistently across database loaders
This commit is contained in:
1 parent
591fe2c4c7
commit
6668151a53
19 files changed
+149
-81
No files matched your search
@@ -238,16 +238,6 @@ public class BitVector implements IEvent {
|
||||
return EventKind.SINGLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the type.
|
||||
*
|
||||
* @return the type
|
||||
*/
|
||||
@Override
|
||||
public WaveformType getType() {
|
||||
return WaveformType.SIGNAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Duplicate.
|
||||
*
|
||||
|
||||
@@ -37,16 +37,6 @@ public class DoubleVal implements IEvent {
|
||||
return EventKind.SINGLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the type.
|
||||
*
|
||||
* @return the type
|
||||
*/
|
||||
@Override
|
||||
public WaveformType getType() {
|
||||
return WaveformType.SIGNAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Duplicate.
|
||||
*
|
||||
|
||||
@@ -30,11 +30,4 @@ public interface IEvent {
|
||||
*/
|
||||
public EventKind getKind();
|
||||
|
||||
/**
|
||||
* Gets the type.
|
||||
*
|
||||
* @return the type
|
||||
*/
|
||||
public WaveformType getType();
|
||||
|
||||
}
|
||||
+7
-2
@@ -19,10 +19,15 @@ public enum WaveformType {
|
||||
SIGNAL,
|
||||
/** The transaction stream. */
|
||||
STREAM,
|
||||
/** The transaction stream. */
|
||||
/** The transaction generator. */
|
||||
GENERATOR,
|
||||
/** The filter. */
|
||||
FILTER,
|
||||
/** The blank line. */
|
||||
EMPTY
|
||||
EMPTY;
|
||||
|
||||
/** Whether this waveform contains transactions, in a stream or a generator. */
|
||||
public boolean isTransaction() {
|
||||
return this == STREAM || this == GENERATOR;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user