Package com.automation_pros.odva.logix
Class LgxProbeContext.LgxTypeCache
- java.lang.Object
-
- com.automation_pros.odva.logix.LgxProbeContext.LgxTypeCache
-
- Enclosing class:
- LgxProbeContext
public class LgxProbeContext.LgxTypeCache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected PermStructDefcachedDefinitionjava.lang.Stringkeyprotected java.util.Map<java.lang.String,LgxProbeReport.LgxProbedMember>memberMapLgxProbeReport.LgxProbedTypetype
-
Constructor Summary
Constructors Constructor Description LgxTypeCache(LgxProbeReport.LgxProbedType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermStructDefgetDefinition()Obtain a usable Logix-format template definition from this reported type's members.LgxProbeReport.LgxProbedMembergetNamedMember(java.lang.String key)java.lang.StringtoString()
-
-
-
Field Detail
-
type
public final LgxProbeReport.LgxProbedType type
-
key
public final java.lang.String key
-
cachedDefinition
protected PermStructDef cachedDefinition
-
memberMap
protected java.util.Map<java.lang.String,LgxProbeReport.LgxProbedMember> memberMap
-
-
Constructor Detail
-
LgxTypeCache
public LgxTypeCache(LgxProbeReport.LgxProbedType type)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getNamedMember
public LgxProbeReport.LgxProbedMember getNamedMember(java.lang.String key)
-
getDefinition
public PermStructDef getDefinition()
Obtain a usable Logix-format template definition from this reported type's members. This operation will re-order members by byte offset, add members to host bits where no member covers the location, and add members to satisfy 32-bit padding rules.Aliases will be discarded (for now).
- Returns:
-
-