Class CipSINT
- java.lang.Object
-
- com.automation_pros.odva.cip.data.BaseDataType<java.lang.Byte>
-
- com.automation_pros.odva.cip.data.CipUSINT
-
- com.automation_pros.odva.cip.data.CipSINT
-
- All Implemented Interfaces:
BitAddressable
,BoolHost
public class CipSINT extends CipUSINT
-
-
Field Summary
-
Fields inherited from class com.automation_pros.odva.cip.data.BaseDataType
dimensions, memberOffsets, sLogger, variantContext, varyingDimension
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipSINT
copy()
Produce a deep clone of the object.java.lang.String
crcName()
Obtain the name of this type as used for computing structure CRCs.DataDefinitionSeg
getNestingDef()
Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.int
intValue(int... indices)
For data types 32-bits wide or less, return the best available 32-bit representation.CipSINT
wrap(int[] indices)
Application-side wrapper for inner dimensions.-
Methods inherited from class com.automation_pros.odva.cip.data.CipUSINT
bytesEach, bytesImpl, copyToImpl, copyToImpl, get, getBit, getBit, putPayloadImpl, set, setBit, setBit, setDimensions, setInt, setPayloadImpl, structCRCString
-
Methods inherited from class com.automation_pros.odva.cip.data.BaseDataType
alignment, browseInner, browseInnerImpl, bytes, checkDimensions, chkAbbrevType, concatIndices, conditionalSuffix, copyTo, CRC16, CRC16, CRC16, dim2linear, dim2linear, dim2qty, dim2suffix, dimensionToString, doubleValue, extendIntArray, fillIntArray, get, getCompleteDef, getDimensions, getMemberOffsets, getSymbolType, getTypeCode, getVariantContext, getVaryingDimension, hasOffset, incIdx, intArray, linear2dim, linear2dim, longValue, makeInstance, maxEach, minEach, nestedBytes, nestedBytesEach, nestedBytesImpl, nestedPutPayload, nestedPutPayloadImpl, nestedSetPayload, nestedSetPayloadImpl, putAbbrevType, putPayload, range2suffix, rawCRC16, set, setFromTokenImpl, setFromTokenizer, setFromTokenizerImpl, setFromTokenString, setLong, setMemberOffsets, setPayload, setupTokenizer, setVariantContext, setVariantDimension, setVariantDimension, singleToString, sliceTo, toString
-
-
-
-
Constructor Detail
-
CipSINT
public CipSINT()
-
CipSINT
public CipSINT(byte val)
-
CipSINT
public CipSINT(int[] dimensions)
-
CipSINT
protected CipSINT(CipSINT data, int[] indices)
-
-
Method Detail
-
intValue
public int intValue(int... indices)
Description copied from class:BaseDataType
For data types 32-bits wide or less, return the best available 32-bit representation. If the subscripts are incomplete, return the element with the remaining subscripts set to zero.
-
getNestingDef
public DataDefinitionSeg getNestingDef()
Description copied from class:BaseDataType
Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.- Overrides:
getNestingDef
in classCipUSINT
-
crcName
public java.lang.String crcName()
Description copied from class:BaseDataType
Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
-
copy
public CipSINT copy()
Description copied from class:BaseDataType
Produce a deep clone of the object.
-
wrap
public CipSINT wrap(int[] indices)
Description copied from class:BaseDataType
Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
-
-