57 package com.boschrexroth.mlpi;
59 import java.util.HashMap;
61 import java.util.Vector;
76 public final String CONTAINER_TAG_SEPARATOR =
";";
77 public final String CONTAINER_ARG_SEPARATOR =
",";
79 public final String CONTAINER_TAG_LOGICLIB_MEMORY_AREA =
"LOGICLIB_MEMORY_AREA";
80 public final String CONTAINER_TAG_LOGICLIB_SYMBOL =
"LOGICLIB_SYMBOL";
81 public final String CONTAINER_TAG_IOLIB_FIELBUS_IO =
"IOLIB_FIELBUS_IO";
82 public final String CONTAINER_TAG_IOLIB_FIELDBUS_IO =
"IOLIB_FIELBUS_IO";
83 public final String CONTAINER_TAG_ALIGNMENT_DUMMY =
"ALIGNMENT_DUMMY";
85 public final String CONTAINER_ARG_IOLIB_IO_AREA_INPUT =
"INPUT";
86 public final String CONTAINER_ARG_IOLIB_IO_AREA_OUTPUT =
"OUTPUT";
88 public final String CONTAINER_ARG_LOGICLIB_MEMORY_AREA_INPUT =
"INPUT";
89 public final String CONTAINER_ARG_LOGICLIB_MEMORY_AREA_OUTPUT =
"OUTPUT";
90 public final String CONTAINER_ARG_LOGICLIB_MEMORY_AREA_MARKER =
"MARKER";
96 public enum ContainerAccess
98 CONTAINER_ACCESS_READ (0),
99 CONTAINER_ACCESS_WRITE (1);
102 int getCode() {
return _code; }
103 ContainerAccess(
int code) { this._code = code; }
104 static ContainerAccess valueOf(
int code) {
105 for (ContainerAccess value : values()) {
106 if (code == value.getCode())
return value;
131 int numElementsTagList;
133 ContainerAccess accessFlag;
153 public int getOffset() {
return offset;}
154 public int getDataSize() {
return dataSize;}
181 Map<String, ContainerStructure> _readContainers =
new HashMap<String, ContainerStructure>();
182 Map<String, ContainerStructure> _writeContainers =
new HashMap<String, ContainerStructure>();
196 if (container == null) {
197 container =
new ContainerStructure(
this, name, ContainerAccess.CONTAINER_ACCESS_READ);
198 _readContainers.put(name, container);
206 if (container == null) {
207 container =
new ContainerStructure(
this, name, ContainerAccess.CONTAINER_ACCESS_WRITE);
208 _writeContainers.put(name, container);
236 public native
int create(String tagList, ContainerAccess accessFlag,
ContainerHandle containerHandle);
native ContainerInformation getInformation(ContainerHandle containerHandle)
Empty class definition which defines global structures/classes.
This class defines the axis through the definition of control and axis number.
native byte[] update(ContainerHandle containerHandle, byte[] buffer)
native String[] getTagList(ContainerHandle containerHandle)
native int create(String tagList, ContainerAccess accessFlag, ContainerHandle containerHandle)
This enumeration defines the basic types of variables used by the MLPI.
native void setName(ContainerHandle containerHandle, String name)
native ContainerItemInformation[] getItemInformation(ContainerHandle containerHandle)
This class defines the handle to a container.
This class defines information about the date and time.
This enumeration defines the method of how a flex profile interprets the start point.
Class definition of the MotionLib.
native void destroy(ContainerHandle containerHandle)
native String getName(ContainerHandle containerHandle)