12 #ifndef DTVRFPLUGINMANAGER_H_
13 #define DTVRFPLUGINMANAGER_H_
15 #include <mtl/mtlEnvironment.h>
20 class DtDynamicLibrary;
41 bool addPlatExt =
true,
42 bool useLazyEval =
true);
50 virtual bool checkVersion(
const DtString& curVersion);
52 virtual bool initializePlugin(
DtCgf*);
53 virtual bool postInitializePlugin(
DtCgf*);
54 virtual void unloadPlugin();
59 virtual void pluginInformation(std::string&)
const;
62 virtual bool isValid()
const;
63 virtual DtString libraryName()
const;
64 virtual const char *
error()
const;
84 const std::vector<DtVrfPlugin*>& plugins()
const;
94 virtual void postInitializePlugins(
DtCgf*);
99 void setLoadIfVersionMismatch(
bool);
100 bool loadIfVersionMismatch()
const;
108 static void pluginInformationRequestCallback(
DtSimMessage* msg,
void* usr);
116 virtual void unloadPlugins();