The hierarchy and its effect upon the creation process

Summary so far

  • Object creation is a four-stage process.
  • It is controlled by a pattern.
  • Each pattern refers to a builder.
  • Each builder is responsible for a subcomponent of the TCTTE.
  • Builders have a number of procedural entry points:
    • BUILD
    • CONNECT
    • DESTROY
    • READY
    • UNREADY.
  • These entry points are called under the control of the DFHTBS components.
This section now looks in greater detail at how the control of the builder calling process is implemented. To do that, you need to understand in greater detail the structure of the hierarchy, and the way the DFHTBS components interpret that structure.
Figure 1. A general hierarchy
Node 1 has subnodes 2 and 3. Subnode 2 has further subnodes, 4, 5 and 6. Subnode 3 has further subnodes, 7, 8, 9 and 10.

Figure 1 shows a more general hierarchy. Node 1 can be considered as a master node: it is at the top of the tree and has two subnodes (2 and 3). However, you could say that node 2 and its subnodes are also a tree: node 2 is the master node, and nodes 4, 5, and 6 are the subnodes. Similarly, with node 3: it has subnodes 7, 8, 9, and 10.

The DFHTBS components exploit the idea that a tree consists of a node with trees below it. In fact, DFHTBSBP uses recursion to access the tree of patterns.



dfhs3c00131.html | Timestamp icon Last updated: Monday, 5 June 2017