fbxsdk/core/fbxscopedloadingfilename.h Source File
 
 
 
fbxsdk/core/fbxscopedloadingfilename.h
Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00013 #ifndef _FBXSDK_CORE_SCOPED_LOADING_FILENAME_H_
00014 #define _FBXSDK_CORE_SCOPED_LOADING_FILENAME_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #ifndef FBXSDK_ENV_WINRT
00019 
00020 #include <fbxsdk/core/fbxloadingstrategy.h>
00021 #include <fbxsdk/core/fbxmodule.h>
00022 
00023 #include <fbxsdk/fbxsdk_nsbegin.h>
00024 
00028 class FBXSDK_DLL FbxScopedLoadingFileName : public FbxLoadingStrategy
00029 {
00030 public:
00039                 explicit FbxScopedLoadingFileName(const char* pPath);
00040 
00044                 virtual ~FbxScopedLoadingFileName();
00046 
00047 /*****************************************************************************************************************************
00048 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00049 *****************************************************************************************************************************/
00050 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00051 private:
00052     virtual bool SpecificLoad(FbxPluginData& pData);
00053     virtual void SpecificUnload(FbxPluginData& pData);
00054 
00055     FbxModule mInstance;
00056     FbxString mPath;
00057 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00058 };
00059 
00060 #include <fbxsdk/fbxsdk_nsend.h>
00061 
00062 #endif /* !FBXSDK_ENV_WINRT */
00063 
00064 #endif /* _FBXSDK_CORE_SCOPED_LOADING_FILENAME_H_ */