Figure 33 shows the classes in the Smart Pointer package.
The classes in the hierarchy include formal template parameters that represent the types of associated objects. These parameters include:
Body -- The type of the pointed-to object
Counter -- The type of the reference-counter
Mutex -- The type of the synchronization mechanism
The Threads Module packages use handle-body classes in different ways. In some packages, the handle classes automatically create their bodies. In these chapters, the class hierarchies include only the handle classes, because developers do not have to deal with the body classes.
Other packages require developers to explicitly select and construct a body for the handle. In these chapters, the handle and body classes appear together in class hierarchies. The hierarchies are arranged in two columns, with the handle classes on the left and the corresponding body classes on the right. A line connecting RWHandleBase and RWBodyBase represents the relationship between the set of handle and body classes, as shown in Figure 7.3.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.