public interface IReadableSample extends IReadableValue
ACCURACY_DEFAULT, AT_ANY, AT_ASSOC, AT_ASSOC_DELTA, AT_ASSOC_DELTA_REV, AT_ASSOC_POS, AT_ASSOC_POS_REV, AT_LABEL, AT_MULT, AT_RELATION, CONTENT_CHART, CONTENT_DEFAULT, CONTENT_EVENT, CONTENT_EVENTPARM, CONTENT_GANTT, CONTENT_IMAGE, CONTENT_LABEL, CONTENT_LOG, CONTENT_STATE, CONTENT_TRANSACTION, COUNT_FORMATS, DEFAULT_PLUS_LENGTH, DF_BINARY, DF_ENUM_EVENT, DF_EVENT, DF_FLOAT, DF_INTEGER, DF_LOGIC_16, DF_LOGIC_2, DF_LOGIC_4, DF_NONE, DF_STRUCT, DF_TEXT, ENUM_ASSOC_DOMAINBASE, ENUM_ASSOC_STYLE, ENUM_ASSOC_TARGET, ENUM_GLOBAL, ENUM_LABEL_STYLE, ENUM_MAX, ENUM_MEMBER_0, ENUM_MIN, FLOAT_ACCURACY_32, FLOAT_ACCURACY_64, FLOAT_ACCURACY_BIG, FLOAT_ACCURACY_DEFAULT, FORMAT_ASCII, FORMAT_BINARY, FORMAT_BOOLEAN, FORMAT_COLLECTION_DEFAULT, FORMAT_COLLECTION_KEY_VALUES, FORMAT_COLLECTION_MASK, FORMAT_COLLECTION_MEMBER_0, FORMAT_COLLECTION_MEMBER_1, FORMAT_COLLECTION_MEMBER_2, FORMAT_COLLECTION_MEMBER_3, FORMAT_COLLECTION_VALUES_ONLY, FORMAT_DECIMAL, FORMAT_DECIMAL_F_MAX, FORMAT_DECIMAL_F_MIN, FORMAT_DECIMAL_F0, FORMAT_DECIMAL_F1, FORMAT_DECIMAL_F2, FORMAT_DECIMAL_F3, FORMAT_DECIMAL_F4, FORMAT_DECIMAL_F5, FORMAT_DECIMAL_F6, FORMAT_DECIMAL_F7, FORMAT_DEFAULT, FORMAT_DELTA_DOMAIN, FORMAT_DELTA_VALUE, FORMAT_EVENT, FORMAT_GROUP_INDEX, FORMAT_GROUP_ORDER, FORMAT_HEXADECIMAL, FORMAT_INDEX, FORMAT_MEMBER_0, FORMAT_MEMBER_1, FORMAT_NONE, FORMAT_OCTAL, FORMAT_R4, FORMAT_R5, FORMAT_R6, FORMAT_R7, FORMAT_R8, FORMAT_RELATION_MAX, FORMAT_RELATION_MIN, FORMAT_SIMPLE_MAX, FORMAT_SIMPLE_MIN, FORMAT_SL_TEXT, FORMAT_TEXT, FORMAT_VALUE_DEFAULT, FORMAT_VALUE_MASK, formatCollectionLabels, formatCollectionOptions, formatValueLabels, formatValueOptions, GO_FIRST, GO_INTER, GO_LAST, GO_NONE, GROUP_ORDER_LABELS, INTEGER_ACCURACY_32, INTEGER_ACCURACY_64, INTEGER_ACCURACY_BIG, INTEGER_ACCURACY_DEFAULT, LOGIC_L16_BYTE_FILL, LOGIC_L2_BYTE_FILL, LOGIC_L4_BYTE_FILL, LOGIC_PACK_0, LOGIC_PACK_1, LOGIC_PACK_RIGHT_ALLIGNED, MASK_FORMAT_0_A, MASK_FORMAT_0_AT, MASK_FORMAT_0_DF, MASK_FORMAT_0_GO, MASK_FORMAT_0_N, MASK_FORMAT_0_T, MASK_FORMAT_0_XDF, MASK_FORMAT_1_S0, MASK_FORMAT_1_S0_PLUS, MASK_FORMAT_1_TF, MASK_PLUS, MASK_PLUS_DATA, MAX_DATA, MAX_LAYERS, MAX_SAMPLE_SIZE, MAX_SCALE, SHIFT_FORMAT_0_D, SHIFT_FORMAT_0_DF, SHIFT_FORMAT_0_GO, SHIFT_FORMAT_0_XDF, SHIFT_FORMAT_1_TF, STATE_0_BITS, STATE_1_BITS, STATE_D_BITS, STATE_H_BITS, STATE_J_BITS, STATE_K_BITS, STATE_L_BITS, STATE_LC_DIGITS, STATE_LEVEL_16, STATE_LEVEL_2, STATE_LEVEL_4, STATE_LEVEL_NONE, STATE_M_BITS, STATE_N_BITS, STATE_O_BITS, STATE_P_BITS, STATE_U_BITS, STATE_UC_DIGITS, STATE_UNKNOWN_BITS, STATE_W_BITS, STATE_X_BITS, STATE_Z_BITS, STRUCT_MASK_TYPE, STRUCT_MOD_HIDDEN, STRUCT_MOD_VALID_UNTIL_CHANGE, STRUCT_TYPE_BINARY, STRUCT_TYPE_BOOLEAN, STRUCT_TYPE_ENUM, STRUCT_TYPE_FLOAT, STRUCT_TYPE_INTEGER, STRUCT_TYPE_LOCAL_ENUM, STRUCT_TYPE_MAX, STRUCT_TYPE_MERGE_ENUM, STRUCT_TYPE_STRUCT, STRUCT_TYPE_TEXT, STRUCT_TYPE_UNKNOWN, UF_ABSOLUTE_8, UF_DELTA_0, UF_DELTA_1, UF_DELTA_2, UF_DELTA_4, UF_DELTA_8, UF_DELTA_PREVIOUS, XDF_FLOAT_32, XDF_FLOAT_64, XDF_FLOAT_BIG, XDF_FLOAT_DEFAULT, XDF_INTEGER_32, XDF_INTEGER_64, XDF_INTEGER_BIG, XDF_INTEGER_DEFAULT, XDF_LOGIC_PACK_0, XDF_LOGIC_PACK_1, XDF_LOGIC_PACK_RIGHT_ALLIGNED, XDF_NONE
Modifier and Type | Method and Description |
---|---|
java.util.List<IAttachment> |
attachments(int type)
Returns all attachments of sample.
|
BigDecimal |
bigDecimalValue()
Return current sample as BigDecimal value.
|
BigInteger |
bigIntValue()
Return current sample as BigInteger value.
|
byte[] |
bytesValue()
Return current sample as Logic value.
|
CompoundValue |
compound()
Returns value and and all surrounding informations, like position, group, order, layer and index.
|
CompoundValue |
compound(boolean attachments)
Returns value and and all surrounding informations, like position, group, order, layer and index.
|
int |
defaultFormat()
Returns the default format ( ISample.FORMAT_...).
|
double |
doubleValue()
Return current sample as double value.
|
Enumeration |
enumValue()
Return current sample as Enumeration value.
|
String |
fascii()
Format the current sample using ascii format.
|
String |
fbin()
Format the current sample using bin format.
|
String |
fdec()
Format the current sample using dec format.
|
String |
fhex()
Format the current sample using hex format.
|
float |
floatValue()
Return current sample as float value.
|
String |
foct()
Format the current sample using oct format.
|
String |
format(int format)
Formats the current sample using format 'format'.
|
int |
getGroup()
Returns the group id of the event
|
int |
getIndex()
Returns the index of the event.
|
int |
getOrder()
Returns the order of the event
|
DomainValue |
getPosition()
Returns the position of the event.
|
long |
getUnits()
Returns the position of the event.
|
int |
intValue()
Return current sample as int value.
|
boolean |
isConflict()
Deprecated.
|
boolean |
isHigh()
Tries to detect the logic state high at current position
|
boolean |
isHigh(ILogicDetector detector)
Tries to detect the logic state high at current position
|
boolean |
isLow()
Tries to detect the logic state low at current position
|
boolean |
isLow(ILogicDetector detector)
Tries to detect the logic state low at current position
|
boolean |
isNone()
Returns true if current sample is 'none'.
|
boolean |
isTagged()
Returns true if current sample is 'tagged'.
|
int |
logicState()
Return current sample as int value.
|
Logic |
logicValue()
Return current sample as Logic value.
|
long |
longValue()
Return current sample as long value.
|
Number |
numberValue()
Return current sample as Number value.
|
CompoundPack |
packed()
Returns sample value in packed form and and all surrounding informations, like position, group, order, layer and index.
|
String |
stringValue()
Return current sample as String value.
|
Struct |
structValue()
Return current sample as Struct value.
|
Object |
val()
Returns the current raw (no interpretation or conversion) sample value.
|
isGroup, isSample
int getIndex()
getIndex
in interface IReadableValue
long getUnits()
getUnits
in interface IReadableValue
DomainValue getPosition()
getPosition
in interface IReadableValue
int getOrder()
int getGroup()
getGroup
in interface IReadableValue
Object val()
CompoundValue compound()
CompoundValue compound(boolean attachments)
attachments
- Include attachments if trueCompoundPack packed()
java.util.List<IAttachment> attachments(int type)
attachments
in interface IReadableValue
type
- boolean isNone()
@Deprecated boolean isConflict()
boolean isTagged()
isTagged
in interface IReadableValue
Logic logicValue()
int logicState()
boolean isHigh(ILogicDetector detector)
detector
- Future usageboolean isHigh()
boolean isLow(ILogicDetector detector)
detector
- Future usageboolean isLow()
Number numberValue()
float floatValue()
double doubleValue()
BigDecimal bigDecimalValue()
long longValue()
int intValue()
BigInteger bigIntValue()
Struct structValue()
String stringValue()
Enumeration enumValue()
byte[] bytesValue()
String format(int format)
format
in interface IReadableValue
format
- Format specifier as defined in ISample.FORMAT_.. (e.g. ISample.FORMAT_HEXADECIMAL)int defaultFormat()
String fhex()
String fdec()
String foct()
String fbin()
String fascii()