Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef lgrDynamicLibrary_H_
00010 #define lgrDynamicLibrary_H_
00011
00012 #include "lgrUtil.h"
00013 #include <vlutil/vlString.h>
00014
00015 namespace MAKLogger
00016 {
00017
00018
00022 class DT_DLL_LGRUTIL DtLgrDynamicLibrary
00023 {
00024
00025
00026 public:
00027
00033 DtLgrDynamicLibrary( const DtString &libName,
00034 bool addPlatExt = true,
00035 bool useLazyEval = true);
00036
00037 virtual ~DtLgrDynamicLibrary();
00038
00043 bool isValid() const;
00044
00048 DtString libraryName() const;
00049
00052 const char *error() const;
00053
00060 virtual void *procAddress( const DtString &symName);
00061
00062 public:
00063
00065 static DtString standardExtension();
00068 static DtString standardPrefix();
00069
00070 protected:
00071
00072 void *myHandle;
00073 DtString myLibraryName;
00074 char *myLastError;
00075
00076 };
00077
00078 }
00079
00080 #endif //! vlDynamic_H_
00081
00082