pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
This manages a SmartPointer pointer. More...
Inherits PlonkBase.
Inherited by SmartPointerContainer< SmartPointerType, enableWeak >, and SmartPointerContainer< SmartPointerType, true >.
This manages a SmartPointer pointer.
This class and its subclasses are passed around by value (or reference) and if a copy is made it actually just copies the SmartPointer it contains incrementing its reference count. As SmartPointerContainer objects are deleted the reference count of its contained SmartPointer are decremented (thus deleting them only if the reference count reaches zero). Almost all other Plonk concepts (i.e., arrays, channels, units) comprise an 'internal' (which is a subclass of SmartPointer) and 'external' (which is a subclass of SmartPointerContainer) representation.