Package com.automation_pros.odva.logix
Class LgxProbeReport
- java.lang.Object
-
- com.automation_pros.odva.logix.LgxProbeReport
-
- All Implemented Interfaces:
java.io.Serializable
public class LgxProbeReport extends java.lang.Object implements java.io.Serializable
Contains the results of performing the tag and datatype scan documented in Rockwell's Logix Data Access manual.The probe sequence itself is in LgxDataProbe. When that sequence delivers to listeners, it does not perform the assignment of type instances to tags and type members. The listener can choose to use the reMap() method if desired.
The
reMap()
method is automatically invoked after deserialization.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LgxProbeReport.LgxNamedData
This abstract class contains the functionality shared between tags and members of a structure type.static class
LgxProbeReport.LgxProbedMember
static class
LgxProbeReport.LgxProbedProgram
static class
LgxProbeReport.LgxProbedTag
static class
LgxProbeReport.LgxProbedType
-
Field Summary
Fields Modifier and Type Field Description boolean
anyUnalignedArray
This flag is set duringreMap()
if any array tag is present with a data address not aligned to a 64-bit word.int[]
chgMgmt
int
lastInstance
java.lang.String
log
int
maxInstance
int
msgCount
java.util.List<LgxProbeReport.LgxProbedProgram>
programs
java.util.List<LgxProbeReport.LgxProbedTag>
tags
int
tagsToDo
java.util.List<LgxProbeReport.LgxProbedType>
types
int
typesToDo
-
Constructor Summary
Constructors Constructor Description LgxProbeReport()
LgxProbeReport(int[] chgMgmt, int msgCount, int lastInstance, int maxInstance, int typesToDo, int tagsToDo, java.lang.String log, java.util.List<LgxProbeReport.LgxProbedTag> tags, java.util.List<LgxProbeReport.LgxProbedProgram> programs, java.util.List<LgxProbeReport.LgxProbedType> types)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getNullTermString(java.nio.ByteBuffer source)
Logix template definitions include the template name and member names in an unorganized buffer, each null terminated.LgxProbeReport
reMap()
java.lang.String
toString()
-
-
-
Field Detail
-
chgMgmt
public final int[] chgMgmt
-
msgCount
public final int msgCount
-
lastInstance
public final int lastInstance
-
maxInstance
public final int maxInstance
-
typesToDo
public final int typesToDo
-
tagsToDo
public final int tagsToDo
-
log
public transient java.lang.String log
-
tags
public final java.util.List<LgxProbeReport.LgxProbedTag> tags
-
programs
public final java.util.List<LgxProbeReport.LgxProbedProgram> programs
-
types
public final java.util.List<LgxProbeReport.LgxProbedType> types
-
anyUnalignedArray
public transient boolean anyUnalignedArray
This flag is set duringreMap()
if any array tag is present with a data address not aligned to a 64-bit word. This matters for alias determinations and for any use of the physical memory services available on older firmware.
-
-
Constructor Detail
-
LgxProbeReport
public LgxProbeReport()
-
LgxProbeReport
public LgxProbeReport(int[] chgMgmt, int msgCount, int lastInstance, int maxInstance, int typesToDo, int tagsToDo, java.lang.String log, java.util.List<LgxProbeReport.LgxProbedTag> tags, java.util.List<LgxProbeReport.LgxProbedProgram> programs, java.util.List<LgxProbeReport.LgxProbedType> types)
-
-
Method Detail
-
getNullTermString
public static java.lang.String getNullTermString(java.nio.ByteBuffer source)
Logix template definitions include the template name and member names in an unorganized buffer, each null terminated. This helper function simply reads a single null-terminated string from a buffer, leaving the buffer position after the null.- Parameters:
source
-- Returns:
-
reMap
public LgxProbeReport reMap()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-