TS_Root2

 (Available in 00 TS Tools(Base) - TS_Tools_Root2)

Purpose

Root class for all TS-dynamic-allocated objects owner and owneds

Syntax

CLASS MyClass INHERIT TS_Root2

Access methods

Owneds - Get a list of objects owned
SelfDestructDisabledIfOwneds - Test if the object 'SelfDestruct' is disabled when objects are owned
SelfDestructOnUnRegisterOwner - Test if the object 'SelfDestruct's whith its owner

Assign methods

SelfDestructDisabledIfOwneds - Set if the object 'SelfDestruct' is disabled when objects are owned
SelfDestructOnUnRegisterOwner - Set if the object 'SelfDestruct's whith its owner flag

Methods

RegisterOwned - CALLBACK: Called when a owned registers itself
RegisterOwner - CALLBACK: Called when a owner registers itself
UnRegisterOwned - CALLBACK: Called when a owned unregisters itself
UnRegisterOwner - CALLBACK: Called when a owner unregisters itself

Description

This class provides lots of functionality not found in the VObject class as supplied with VO.

Note: This class is not derived from VObject due to the fact that the VObject class is placed in the 'GUI' library.

Inherits from

TS_Root1

Inherited by

TS_DelegateISink
TS_DelegateIUnknown
    TS_DelegateIDispatch

Source

CLASS TS_Root2 INHERIT TS_Root1
   DECLARE ACCESS SelfDestructDisabledIfOwneds
   DECLARE ACCESS SelfDestructOnUnRegisterOwner
   DECLARE ASSIGN SelfDestructDisabledIfOwneds
   DECLARE ASSIGN SelfDestructOnUnRegisterOwner
   DECLARE METHOD RegisterOwned
   DECLARE METHOD RegisterOwner
   DECLARE METHOD UnRegisterOwned
   DECLARE METHOD UnRegisterOwner