class DistributionController
Defined in:
The C4Controller.h
DistributionController
class acts as a special intermediary that distributes messages to controllers belonging to subnodes or connected nodes.
Definition
class DistributionController final : public Controller
Constructor
DistributionController(uint32 flags);
Parameters
flags |
The distribution flags. See below for possible values. |
Description
The DistributionController
class can be assigned to a node to make it act as an intermediary through which controller messages are passed to subnodes, connected nodes, or both. Messages can optionally be received and processed by the distribution controller itself. The flags
parameter determines which sets of nodes receive messages that are initially sent to the distribution controller, and its value can be a combination (through logical OR) of the following constants.
kDistributionSelf |
Distribute messages to the target node itself. |
kDistributionSubnodes |
Distribute messages to all immediate subnodes of the target node. |
kDistributionConnectors |
Distribute messages to all nodes linked through connectors belonging to the target node. |
Base Classes
Controller |
A DistributionController is a specific type of controller.
|