FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxScopedLoadingDirectory Class Reference

#include <fbxscopedloadingdirectory.h>

Class Description

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.

+ Inheritance diagram for FbxScopedLoadingDirectory:

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...
 
- Public Member Functions inherited from FbxLoadingStrategy
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...
 
- Public Member Functions inherited from FbxPluginContainer
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 PluginListGetPlugins () const
 Const accessor to the list of plug-ins owned by the container. More...
 
PluginListGetPlugins ()
 Accessor to the list of plug-ins owned by the container. More...
 
- Public Member Functions inherited from FbxEmitter
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

- Public Types inherited from FbxLoadingStrategy
enum  EState { eAllLoaded, eNoneLoaded, eAllFailed, eSomeFailed }
 Result state of loading plug-in. More...
 
- Public Types inherited from FbxPluginContainer
typedef FbxIntrusiveList< FbxPluginPluginList
 Definition of a plug-in list. More...
 
- Protected Member Functions inherited from FbxLoadingStrategy
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...
 
- Protected Attributes inherited from FbxLoadingStrategy
EState mPluginsLoadedState
 Whether the plugin is loaded or not. More...
 

Constructor & Destructor Documentation

◆ FbxScopedLoadingDirectory()

FbxScopedLoadingDirectory ( const char *  pDirectoryPath,
const char *  pPluginExtension 
)

Constructor, which also load plug-ins in the folder specified.

Parameters
pDirectoryPathThe directory path.
pPluginExtensionThe plug-in extension.

◆ ~FbxScopedLoadingDirectory()

virtual ~FbxScopedLoadingDirectory ( )
virtual

Destructor.

Unload plug-ins.


The documentation for this class was generated from the following file: