|
NXWidgets
1.19
|
Functions | |
| void | instantiateSingletons (void) |
| void | freeSingletons (void) |
| void NXWidgets::freeSingletons | ( | void | ) |
Free the singleton instances when the last NX server is destroyed.
Q: Why is there here is it is only called as part of the CNxServer destructor? A: Just for symmetry with instantiateSingletons().
Free the singleton instances when the last NX server is destroyed.
Definition at line 170 of file singletons.cxx.
| void NXWidgets::instantiateSingletons | ( | void | ) |
Setup misc singleton instances.
Q: Why is there here? A: Because it needs to be done one time before any widgets are created. Q: So why isn't it just the default style just a statically constructed class? A: Because not all platforms will support static class constructions. Q: Why isn't it part of CNxServer? A: Because the singletons may be needed before the server is started.
Setup misc singleton instances. Why is there here? Because it needs to be done one time before any widgets are created. So why isn't it just the default style just a statically constructed class? Because not all platforms will support static class constructions.
Definition at line 114 of file singletons.cxx.
1.8.13