fbxsdk/core/fbxloadingstrategy.h Source File

fbxloadingstrategy.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_LOADING_STRATEGY_H_
14 #define _FBXSDK_CORE_LOADING_STRATEGY_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #ifndef FBXSDK_ENV_WINSTORE
19 
20 #include <fbxsdk/core/fbxplugin.h>
22 
23 #include <fbxsdk/fbxsdk_nsbegin.h>
24 
32 {
33 public:
36  enum EState
37  {
41  eSomeFailed
42  };
43 
52  EState Load(FbxPluginData& pData);
53 
56  void Unload();
58 
59 protected:
68  virtual bool SpecificLoad(FbxPluginData& pData) = 0;
69 
72  virtual void SpecificUnload(FbxPluginData& pData) = 0;
74 
77 
78 private:
79  FbxPluginData mData;
80 };
81 
82 #include <fbxsdk/fbxsdk_nsend.h>
83 
84 #endif /* !FBXSDK_ENV_WINSTORE */
85 
86 #endif /* _FBXSDK_CORE_LOADING_STRATEGY_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.
EState
Result state of loading plug-in.
Manages registration and ownership of FBX SDK plug-ins (FbxPlugin).
All plug-in are failed to load.
EState mPluginsLoadedState
Whether the plugin is loaded or not.
#define FBXSDK_DLL
Definition: fbxarch.h:173
No plug-in is loaded, i.e., there is not plug-in to load.
All plug-in are loaded.