Class DynUDINT
- java.lang.Object
-
- com.automation_pros.odva.cip.data.BaseDataType<java.lang.Integer>
-
- com.automation_pros.odva.cip.data.CipUDINT
-
- com.automation_pros.odva.cip.data.DynUDINT
-
- All Implemented Interfaces:
BitAddressable
,BoolHost
- Direct Known Subclasses:
EnetInstance.InterfaceFlagsData
,TcpIpInstance.IpAddrData
,TcpIpInstance.IpMaskData
public abstract class DynUDINT extends CipUDINT
-
-
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 CipUDINT
copy()
Produce a deep clone of the object.java.lang.Integer
get(int[] indices)
Implementations of DynUDINT must override get() with the desired dynamic value calculation.void
set(int[] indices, java.lang.Integer val)
Application-side value storage.DynUDINT
wrap(int[] indices)
Application-side wrapper for inner dimensions.-
Methods inherited from class com.automation_pros.odva.cip.data.CipUDINT
bytesEach, bytesImpl, copyToImpl, copyToImpl, crcName, getBit, getBit, getNestingDef, intValue, longValue, putPayloadImpl, 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, 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
-
-
-
-
Method Detail
-
get
public java.lang.Integer get(int[] indices)
Implementations of DynUDINT must override get() with the desired dynamic value calculation.
-
set
public void set(int[] indices, java.lang.Integer val)
Description copied from class:BaseDataType
Application-side value storage. Subclasses must implement this function to store one value or complex element into the storage array.
-
copy
public CipUDINT copy()
Description copied from class:BaseDataType
Produce a deep clone of the object.
-
wrap
public DynUDINT 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.
-
-