GNodeRole

The GNodeRole is an enum categorizing GNodes by function. The Role will determine, for example, whether the GNode has a code actor representing it (for example, an AtomicTNode) or whether it is a passive object that is discussed by actors (typically, the GNodes that represent copper on the Grid or physical devices attached to the grid). If the GNode has an actor, its GNodeRole will also typically determine a set of basic messages sent and received by the GNode. A GNode’s role is determined by the GNodeFactory if it represents copper on the grid (or if it is the World GNode), and otherwise is determined by the GNode’s GNodeRegistry.

Back to Lexicon