FBX C++ API Reference
|
#include <fbxscopedloadingfilename.h>
A plug-in loading strategy that loads a single DLL by specifying the file name in the constructor, and unloads the DLL in its destructor.
Definition at line 28 of file fbxscopedloadingfilename.h.
Public Member Functions | |
Public interface | |
FbxScopedLoadingFileName (const char *pPath) | |
Constructor. More... | |
virtual | ~FbxScopedLoadingFileName () |
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... | |
|
explicit |
Constructor.
Load plug-in.
pPath | The file path. |
|
virtual |
Destructor.
Unload plug-in.