FBX C++ API Reference
|
#include <fbxscopedloadingdirectory.h>
A plug-in loading strategy that loads all DLLs with a specific extension from a specific directory. When this class is destroyed all of the plug-ins are unloaded.
Definition at line 28 of file fbxscopedloadingdirectory.h.
Public Member Functions | |
FbxScopedLoadingDirectory (const char *pDirectoryPath, const char *pPluginExtension) | |
Constructor, which also load plug-ins in the folder specified. More... | |
virtual | ~FbxScopedLoadingDirectory () |
Destructor. More... | |
![]() | |
EState | Load (FbxPluginData &pData) |
Execute the operation of loading the plug-in(s). More... | |
void | Unload () |
Execute the operation of unloading the plug-in(s). More... | |
![]() | |
void | Register (FbxPlugin &pPlugin) |
The registration function that must be called when the module containing the plug-in is loaded. More... | |
void | Unregister (FbxPlugin &pPlugin) |
The unregistration function that must be called when the module containing the plug-in is unloaded. More... | |
const PluginList & | GetPlugins () const |
Const accessor to the list of plug-ins owned by the container. More... | |
PluginList & | GetPlugins () |
Accessor to the list of plug-ins owned by the container. More... | |
![]() | |
void | AddListener (FbxEventHandler &pHandler) |
Add the specified event handler to current emitter list. More... | |
void | RemoveListener (FbxEventHandler &pHandler) |
Remove the specified event handler from current emitter list. More... | |
template<typename EventType > | |
void | Emit (const EventType &pEvent) const |
Emit an event with the specified the event type. More... | |
Additional Inherited Members | |
![]() | |
enum | EState { eAllLoaded, eNoneLoaded, eAllFailed, eSomeFailed } |
Result state of loading plug-in. More... | |
![]() | |
typedef FbxIntrusiveList< FbxPlugin > | PluginList |
Definition of a plug-in list. More... | |
![]() | |
virtual bool | SpecificLoad (FbxPluginData &pData)=0 |
Called by the Load method, it contains the specific user implementation strategy to load the desired plug-in(s). More... | |
virtual void | SpecificUnload (FbxPluginData &pData)=0 |
Called by the Unload method, it contains the specific user implementation strategy to unload the desired plug-in(s). More... | |
![]() | |
EState | mPluginsLoadedState |
Whether the plugin is loaded or not. More... | |
FbxScopedLoadingDirectory | ( | const char * | pDirectoryPath, |
const char * | pPluginExtension | ||
) |
Constructor, which also load plug-ins in the folder specified.
pDirectoryPath | The directory path. |
pPluginExtension | The plug-in extension. |
|
virtual |
Destructor.
Unload plug-ins.