FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxscopedloadingdirectory.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_CORE_SCOPED_LOADING_DIRECTORY_H_
14 #define _FBXSDK_CORE_SCOPED_LOADING_DIRECTORY_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #ifndef FBXSDK_ENV_WINSTORE
19 
21 #include <fbxsdk/core/fbxmodule.h>
22 
23 #include <fbxsdk/fbxsdk_nsbegin.h>
24 
25 class FbxPluginHandle;
26 
29 {
30 public:
34  FbxScopedLoadingDirectory(const char* pDirectoryPath, const char* pPluginExtension);
35 
37  virtual ~FbxScopedLoadingDirectory();
38 
39 /*****************************************************************************************************************************
40 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
41 *****************************************************************************************************************************/
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 private:
44  virtual bool SpecificLoad(FbxPluginData& pData);
45  virtual void SpecificUnload(FbxPluginData& pData);
46 
47  FbxString mDirectoryPath;
48  FbxString mExtension;
49 
50  FbxArray<FbxModule> mPluginHandles;
51 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
52 };
53 
54 #include <fbxsdk/fbxsdk_nsend.h>
55 
56 #endif /* !FBXSDK_ENV_WINSTORE */
57 
58 #endif /* _FBXSDK_CORE_SCOPED_LOADING_DIRECTORY_H_ */
FBX SDK environment definition.
Data used to communicate information between an application and the plug-in.
Definition: fbxplugin.h:62
Abstract class used to implemented some plug-in loading strategy.
Utility class to manipulate strings.
Definition: fbxstring.h:66
A plug-in loading strategy that loads all DLLs with a specific extension from a specific directory...
virtual void SpecificUnload(FbxPluginData &pData)=0
Called by the Unload method, it contains the specific user implementation strategy to unload the desi...
virtual bool SpecificLoad(FbxPluginData &pData)=0
Called by the Load method, it contains the specific user implementation strategy to load the desired ...
#define FBXSDK_DLL
Definition: fbxarch.h:173
Class for array of basic elements such as pointers and basic types.
Definition: fbxarray.h:23