C# Class Softing.OPCToolbox.Server.AddressSpaceElement

An Address Space Element represent the base component of the OPC DA and AE namespaces. Specific AE and DA object types are derived from this abstract class
Inheritance: IAddressSpaceElement
Datei anzeigen Open project: SoftingIndustrial/OPC-Classic-SDK

Protected Properties

Property Type Description
m_hasChildren bool
m_isBrowsable bool
m_name string
m_objectHandle uint
m_parentHandle uint

Private Properties

Property Type Description
TriggerAddedToAddressSpace bool
TriggerRemovedFromAddressSpace bool

Public Methods

Method Description
AddChild ( AddressSpaceElement aChild ) : bool

Implements the AddChild Interface. Must be overriden in the children classes

GetChildren ( ) : ArrayList

GetChildren interface. Derived classes must implement this method.

GetParent ( ) : AddressSpaceElement

GetParent intrface. Derived classes must implement this method.

RemoveChild ( AddressSpaceElement aChild ) : bool

Implements the RemoveChild Interface. Must be overriden in the children classes

Protected Methods

Method Description
AddressSpaceElement ( ) : System

Default constructor

AddressSpaceElement ( string aName, uint anUserData, uint anObjectHandle, uint aParentHandle ) : System

Proteced constructor used for string based address element creation. This constructor is only allowed to be called from within the server's Creator instance.

Private Methods

Method Description
TriggerAddedToAddressSpace ( ) : bool

triggers the event

TriggerRemovedFromAddressSpace ( ) : bool

triggers the event

Method Details

AddChild() public method

Implements the AddChild Interface. Must be overriden in the children classes
public AddChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement an address space element to be added as child
return bool

AddressSpaceElement() protected method

Default constructor
protected AddressSpaceElement ( ) : System
return System

AddressSpaceElement() protected method

Proteced constructor used for string based address element creation. This constructor is only allowed to be called from within the server's Creator instance.
protected AddressSpaceElement ( string aName, uint anUserData, uint anObjectHandle, uint aParentHandle ) : System
aName string the name of the element
anUserData uint application's ID of the element. If 0, this is automatically generated
anObjectHandle uint Toolkit internal identifier of the element
aParentHandle uint Toolkit internal identifier of the element's parent
return System

GetChildren() public abstract method

GetChildren interface. Derived classes must implement this method.
public abstract GetChildren ( ) : ArrayList
return ArrayList

GetParent() public abstract method

GetParent intrface. Derived classes must implement this method.
public abstract GetParent ( ) : AddressSpaceElement
return AddressSpaceElement

RemoveChild() public method

Implements the RemoveChild Interface. Must be overriden in the children classes
public RemoveChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement an address space element to be added as child
return bool

Property Details

m_hasChildren protected_oe property

protected bool m_hasChildren
return bool

m_isBrowsable protected_oe property

protected bool m_isBrowsable
return bool

m_name protected_oe property

protected string m_name
return string

m_objectHandle protected_oe property

OTB handler
protected uint m_objectHandle
return uint

m_parentHandle protected_oe property

OTB parent handler
protected uint m_parentHandle
return uint