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 PermStructDef
cachedDefinition
java.lang.String
key
protected java.util.Map<java.lang.String,LgxProbeReport.LgxProbedMember>
memberMap
LgxProbeReport.LgxProbedType
type
-
Constructor Summary
Constructors Constructor Description LgxTypeCache(LgxProbeReport.LgxProbedType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermStructDef
getDefinition()
Obtain a usable Logix-format template definition from this reported type's members.LgxProbeReport.LgxProbedMember
getNamedMember(java.lang.String key)
java.lang.String
toString()
-
-
-
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:
toString
in 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:
-
-