Package com.automation_pros.odva.logix
Class LgxTagMgr
- java.lang.Object
-
- com.automation_pros.odva.cip.types.CipTree
-
- com.automation_pros.odva.cip.types.CipTreeCtx
-
- com.automation_pros.odva.cip.types.CipObject
-
- com.automation_pros.odva.cip.core.CipClass
-
- com.automation_pros.odva.logix.LgxTagMgr
-
- All Implemented Interfaces:
DataContext
,AttributeHolder
,InstanceHolder
public class LgxTagMgr extends CipClass
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.types.CipObject
CipObject.FutureMultipleReply
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.types.CipTree
CipTree.ChildMap
-
Nested classes/interfaces inherited from interface com.automation_pros.odva.cip.types.InstanceHolder
InstanceHolder.InstanceHolderDelegate, InstanceHolder.MaxInstData, InstanceHolder.NumInstData
-
-
Field Summary
-
Fields inherited from class com.automation_pros.odva.cip.core.CipClass
attr_all, classCode, delegate, mxclsattr, mxinstattr, revision
-
Fields inherited from class com.automation_pros.odva.cip.types.CipTree
children, objEPath, parent, segment
-
Fields inherited from interface com.automation_pros.odva.cip.data.DataContext
emptyContext
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LgxDevice
getDevice()
CipObjects are expected to be organized as a tree, typically with a CipDevice at the root.java.util.List<LgxTag>
getTags()
CipObject
setChild(CipTree child, PathSegment seg)
Assign a given CipTree as a child of this CipTree identified by a specific PathSegment.CipObject
setParent(CipTree parent)
Set or remove the parent of this CipTree, possibly removing this object from a previous parent before assigning to the new parent.-
Methods inherited from class com.automation_pros.odva.cip.core.CipClass
getAttribute, getAutoInstanceNumber, getEPathImpl, getInstance, getInstances, getMaxInstance, getNumInstances, getRevision, getSegment, service, shutdown
-
Methods inherited from class com.automation_pros.odva.cip.types.CipObject
executor, getChild, getDisplayName, getName, getParent, isShutdown, logger, onReplacement, removeChildSymbol, scheduler, setChildSymbol, setName, toString
-
Methods inherited from class com.automation_pros.odva.cip.types.CipTreeCtx
getCtxDataImpl, getNamedDef, getParentDataCtx, getTypeByCRC, getTypeByName, getTypesImpl
-
Methods inherited from class com.automation_pros.odva.cip.types.CipTree
cleanup, entrySet, follow, getChildren, getEPath, keySet, removeChild, setSegment
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.automation_pros.odva.cip.types.AttributeHolder
executor, getChild, getDisplayName, getEPath, getParent, isShutdown, logger, scheduler
-
Methods inherited from interface com.automation_pros.odva.cip.data.DataContext
fromEnum, getCtxData, getCtxDataOrNull, getTypes, makeHosted, makeUnhosted, toEnum
-
-
-
-
Constructor Detail
-
LgxTagMgr
public LgxTagMgr(CipObject parent)
-
-
Method Detail
-
setParent
public CipObject setParent(CipTree parent)
Description copied from class:CipTree
Set or remove the parent of this CipTree, possibly removing this object from a previous parent before assigning to the new parent. Override this method if additional housekeeping is required when assigning or removing parents.
-
getDevice
public LgxDevice getDevice()
Description copied from class:CipObject
CipObjects are expected to be organized as a tree, typically with a CipDevice at the root. (CipDevices can have a parent too, if an implementer chooses to represent a virtual chassis that way.)By default, any CipObject will simply ask its parent for the device if asked for the device. A CipDevice returns itself.
-
setChild
public CipObject setChild(CipTree child, PathSegment seg)
Description copied from class:CipTree
Assign a given CipTree as a child of this CipTree identified by a specific PathSegment. If that path segment is already registered to a different child CipTree, replace it and return that old child.
-
getTags
public java.util.List<LgxTag> getTags()
-
-