public interface VariableContainer_ifc
Modifier and Type | Field and Description |
---|---|
static int |
version
Version, history and license
2012-03-31 Hartmut new:
setCallbackOnReceivedData(Runnable) . |
Modifier and Type | Method and Description |
---|---|
VariableAccess_ifc |
getVariable(java.lang.String dataPath)
Searches the variable in the container and returns the access to it.
|
void |
setCallbackOnReceivedData(java.lang.Runnable callback)
Ensures that the variables will get the actual values, maybe forces communication with any device.
|
static final int version
setCallbackOnReceivedData(Runnable)
. It is used for the
org.vishia.inspcPC.mng.InspcMng
and org.vishia.guiInspc.InspcGui
now.
VariableAccess_ifc getVariable(java.lang.String dataPath)
VariableAccessWithIdx
is returned, which contains the index and the reference to the variable
in the container. If the variable is an array variable and the dataPath does not contains an "[index]",
the array variable is returned which implements the VariableAccessArray_ifc
usual.
VariableAccessWithBitmask
instance.
dataPath
- Path.VariableAccessArray_ifc
.
Then a cast should be recommended to access the array elements. That is a special case.void setCallbackOnReceivedData(java.lang.Runnable callback)