fbxperipheral.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2012 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_PERIPHERAL_H_
00014 #define _FBXSDK_CORE_PERIPHERAL_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/base/fbxarray.h>
00019 #include <fbxsdk/core/fbxobject.h>
00020 
00021 #include <fbxsdk/fbxsdk_nsbegin.h>
00022 
00032 class FBXSDK_DLL FbxPeripheral 
00033 {
00034 public:
00039 
00041     FbxPeripheral();
00042 
00044     virtual ~FbxPeripheral();
00046 
00049     virtual void Reset() = 0;
00050 
00057     virtual bool UnloadContentOf(FbxObject* pObject) = 0;
00058 
00065     virtual bool LoadContentOf(FbxObject* pObject) = 0;
00066 
00072     virtual bool CanUnloadContentOf(FbxObject* pObject) = 0;
00073 
00079     virtual bool CanLoadContentOf(FbxObject* pObject) = 0;
00080 
00084     virtual void InitializeConnectionsOf(FbxObject* pObject) = 0;
00085 
00089     virtual void UninitializeConnectionsOf(FbxObject* pObject) = 0;
00090 };
00091 
00092 // predefined offload peripherals
00093 extern FBXSDK_DLL FbxPeripheral* NULL_PERIPHERAL;
00094 extern FBXSDK_DLL FbxPeripheral* TMPFILE_PERIPHERAL;
00095 #include <fbxsdk/fbxsdk_nsend.h>
00096 
00097 #endif /* _FBXSDK_CORE_PERIPHERAL_H_ */