VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlDynamic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
8 #pragma once
9 
10 #include "vlMachineTypes.h"
11 #include "vlString.h"
12 
13 
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
18 
19 
24 {
25 public:
26 
28  virtual ~DtDynamicLibrary();
29 
30 protected:
32  DtDynamicLibrary( const DtString &libName);
33 
34 private:
36  DtDynamicLibrary(const DtDynamicLibrary &other);
37 
39  DtDynamicLibrary & operator=(const DtDynamicLibrary &other);
40 
41 public:
46  bool isValid() const;
47 
51  DtString libraryName() const;
52 
55  const char *error() const;
56 
63  virtual void *procAddress( const DtString &symName);
64 
65 public:
66 
68  static DtString standardExtension();
69 
74  static DtDynamicLibrary* create( const DtString &libName,
75  bool addPlatExt = true, bool useLazyEval = false, bool useGlobal = false);
76 protected:
77 
82  virtual void open( bool addPlatExt, bool useLazyEval, bool useGlobal);
83 
84 protected:
85 
86  void *myHandle;
88  char *myLastError;
89 
90 };
91 
92 #ifdef DtUSE_UTILITIES_NAMESPACE
93 }
94 #endif
95 

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)