It simply gets the instance and remove the instance. A template singleton manager avoids the user to implement the pattern. In the library, it is commonly used with X3DTK::X3DProcessor and X3DTK::StateVariables.
|
Gets the instance. If no instance is created, then a new one is created.
|
|
Removes the instance.
|