17 #ifndef AGXCOLLIDE_PLUGINMANAGER_H
18 #define AGXCOLLIDE_PLUGINMANAGER_H
24 #include <agx/agxPhysics_export.h>
38 # pragma warning(push)
39 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y
41 #else //assume POSIX...
43 #include <sys/types.h>
53 class ShapeColliderPlugin;
56 typedef ShapeCollider* ( *ColliderConstructor )();
57 typedef void ( *ColliderDestructor )( ShapeCollider * );
70 static PluginManager *instance();
72 void registerPlugin(ShapeColliderPlugin *plugin);
74 SINGLETON_CLASSNAME_METHOD();
80 virtual ~PluginManager();
94 static PluginManager *s_instance;
95 uint32_t m_pluginCount;
103 # pragma warning(pop)
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.
#define AGXPHYSICS_EXPORT
Smart pointer for handling referenced counted objects.
typedef void(GLAD_API_PTR *GLDEBUGPROC)(GLenum source
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Base class for Singletons that should have its shutdown called explicitly before exit of the applicat...