fbxsdk/core/fbxplugincontainer.h Source File

fbxplugincontainer.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_PLUGIN_CONTAINER_H_
14 #define _FBXSDK_CORE_PLUGIN_CONTAINER_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #ifndef FBXSDK_ENV_WINSTORE
19 
20 #include <fbxsdk/core/fbxplugin.h>
21 #include <fbxsdk/core/fbxemitter.h>
22 
23 #include <fbxsdk/fbxsdk_nsbegin.h>
24 
35 {
36 public:
38  typedef FbxIntrusiveList<FbxPlugin> PluginList;
39 
43  void Register(FbxPlugin& pPlugin);
44 
48  void Unregister(FbxPlugin& pPlugin);
49 
53  const PluginList& GetPlugins() const;
54 
58  PluginList& GetPlugins();
59 
60 /*****************************************************************************************************************************
61 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
62 *****************************************************************************************************************************/
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
64 protected:
65  virtual ~FbxPluginContainer();
66  PluginList mPlugins;
67 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
68 };
69 
70 #include <fbxsdk/fbxsdk_nsend.h>
71 
72 #endif /* !FBXSDK_ENV_WINSTORE */
73 
74 #endif /* _FBXSDK_CORE_PLUGIN_CONTAINER_H_ */
FBX SDK environment definition.
FbxIntrusiveList< FbxPlugin > PluginList
Definition of a plug-in list.
The base class to inherit from when creating new plug-ins for the FBX SDK.
Definition: fbxplugin.h:148
Manages registration and ownership of FBX SDK plug-ins (FbxPlugin).
Base class to emit event with the specified event type.
Definition: fbxemitter.h:49
#define FBXSDK_DLL
Definition: fbxarch.h:173