TraceTreeRoutine object

The TraceTreeRoutine object provides information about a tree model node identified as an occurrence of a routine. To access the extra properties of the TraceTreeRoutine object, you assign a TraceTreeNode object whose activity type is ActRoutine! to the TraceTreeRoutine object.

The TraceTreeRoutine object has no events.

Properties

TraceTreeRoutine property

Datatype

Description

ActivityType

TraceActivity (enumerated)

The value ActRoutine! which identifies the activity represented by the node as an occurrence of a routine entry and exit.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

ClassName

String

The name of the class that contains the routine. The value is " " for system functions. Nested classes (like controls on a window) have a name of the form class name`embedded class name.

EnterTimerValue

Decimal

The timer value (in seconds) of the entry for this call.

ExitTimerValue

Decimal

The timer value (in seconds) of the exit for this call.

IsEvent

Boolean

True if the routine is an event and false if the routine is a function.

LibraryName

String

The name of the library that contains the class that contains the routine. The value is " " for system classes.

Name

String

The name of the routine including the argument datatypes and return value.

ObjectID

UnsignedLong

The internal ID for the object on which the routine is executing. The value is 0 for global and system functions.

ParentNode

TraceTreeNode

The parent of this node.


Functions

TraceTreeRoutine function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetChildrenList

ErrorReturn (enumerated)

Provides a list of the children (defined as TraceTreeNode objects) of this routine.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

TypeOf

Object (enumerated)

Returns the type of the object.