HEGoBaseNode

Inherits: HEGoTrackableNode < RefCounted

Inherited By: HEGoInputReceiverNode, HEGoTransformableNode

Virtual base class for all HEGo node wrappers.

Description

Stores the underlying Houdini node id and provides shared lifecycle behavior for derived HEGo node classes.

A node id of -1 means no valid Houdini node is currently associated with this instance.

Most derived methods assume instantiate() has already produced a valid id.

Methods

int

get_id() const

HEGoTask

instantiate()

void

reset_node_id()


Method Descriptions

int get_id() const 🔗

Returns the Houdini node id, or -1 when not instantiated.


HEGoTask instantiate() 🔗

Submits a task to create the underlying Houdini node.

This base implementation does nothing. Concrete subclasses override it and usually register themselves with the session manager after successful creation.

Returns an HEGoTask that completes when the node has been created.


void reset_node_id() 🔗

Resets the stored node id to -1.


Class Registration

  • Kind: Virtual