17 #ifndef AGX_SINGLETONMANAGER_H
18 #define AGX_SINGLETONMANAGER_H
44 static SingletonManager* instance();
47 void registerSingleton( Singleton* );
49 bool unregisterSingleton( Singleton* singleton );
62 virtual ~SingletonManager();
66 SingletonQueue m_singletons;
67 SingletonQueue m_addedSingletons;
69 bool m_shutdownCalled;
#define AGX_DECLARE_POINTER_TYPES(type)
Inheritance with partial specialization due to bug with ref_ptr containers.
Base class providing referencing counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.