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
Afficher le fichier Open project: SoftingIndustrial/OPC-Classic-SDK

Protected Properties

Свойство Type Description
m_hasChildren bool
m_isBrowsable bool
m_name string
m_objectHandle uint
m_parentHandle uint

Private Properties

Свойство Type Description
TriggerAddedToAddressSpace bool
TriggerRemovedFromAddressSpace bool

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
TriggerAddedToAddressSpace ( ) : bool

triggers the event

TriggerRemovedFromAddressSpace ( ) : bool

triggers the event

Method Details

AddChild() public méthode

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
Résultat bool

AddressSpaceElement() protected méthode

Default constructor
protected AddressSpaceElement ( ) : System
Résultat System

AddressSpaceElement() protected méthode

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
Résultat System

GetChildren() public abstract méthode

GetChildren interface. Derived classes must implement this method.
public abstract GetChildren ( ) : ArrayList
Résultat ArrayList

GetParent() public abstract méthode

GetParent intrface. Derived classes must implement this method.
public abstract GetParent ( ) : AddressSpaceElement
Résultat AddressSpaceElement

RemoveChild() public méthode

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
Résultat bool

Property Details

m_hasChildren protected_oe property

protected bool m_hasChildren
Résultat bool

m_isBrowsable protected_oe property

protected bool m_isBrowsable
Résultat bool

m_name protected_oe property

protected string m_name
Résultat string

m_objectHandle protected_oe property

OTB handler
protected uint m_objectHandle
Résultat uint

m_parentHandle protected_oe property

OTB parent handler
protected uint m_parentHandle
Résultat uint