Facebook Twitter YouTube

class Hub

Defined in:  TSConnector.h
The Hub class represents a node in the graph of hubs and connectors.
Definition

class Hub final : public GraphElement<Hub, Connector>

Constructor

Hub(Node *node);

Parameters
node The node associated with the hub.
Description
Every node may have a Hub to which one or more connectors are attached, allowing the node to link to other nodes in a scene. Whenever a connector links two nodes, the nodes at both ends of the connector have an instance of the Hub class attached to them. The Hub objects are created automatically when connections are made through functions such as Node::AddConnector and Node::SetConnectedNode.
Base Classes
GraphElement<Hub, Connector> Hubs form the elements in a directed graph in which the edges are connectors.
See Also

Connector

Node::GetHub