KFbxLoadingStrategy Class Reference

#include <kfbxloadingstrategy.h>
Inheritance diagram for KFbxLoadingStrategy:
Inheritance graph
[legend]

List of all members.


Detailed Description

Abstract class used to implemented some plug-in loading strategy.

A loading strategy dictate how some plug-ins will be loaded for instance we could have a simple strategy that loads only a single dll on PC. We could also implement a strategy that load multiple dlls from a directory.

Definition at line 57 of file kfbxloadingstrategy.h.


Public Member Functions

Public interface
kPluginsLoadedState  Load (KFbxPluginData &pData)
  Execute the operation of loading the plug-in(s).
void  Unload ()
  Execute the operation of unloading the plug-in(s).

Protected Member Functions

User implementation
virtual bool  SpecificLoad (KFbxPluginData &pData)=0
  Called by the Load method, it contains the specific user implementation strategy to load the desired plug-in(s).
virtual void  SpecificUnload ()=0
  Called by the Unload method, it contains the specific user implementation strategy to unload the desired plug-in(s).

Protected Attributes

kPluginsLoadedState  mPluginsLoadedState
  Whether the plugin is loaded or not.

Member Function Documentation

kPluginsLoadedState Load ( KFbxPluginData pData  ) 

Execute the operation of loading the plug-in(s).

The way it is executed is determined by the specific implementations.

Parameters:
pData  Plug in data that can be access inside the plug-ins
Returns:
If the plugin loading is successful return true, otherwise return false

void Unload (  ) 

Execute the operation of unloading the plug-in(s).

The way it is executed is determined by the specific implementations.

virtual bool SpecificLoad ( KFbxPluginData pData  )  [protected, pure virtual]

Called by the Load method, it contains the specific user implementation strategy to load the desired plug-in(s).

Parameters:
pData  Plug in data that can be access inside the plug-ins.
Returns:
If the plugin loading is successful return true, otherwise return false

virtual void SpecificUnload (  )  [protected, pure virtual]

Called by the Unload method, it contains the specific user implementation strategy to unload the desired plug-in(s).


Member Data Documentation

kPluginsLoadedState mPluginsLoadedState [protected]

Whether the plugin is loaded or not.

Definition at line 102 of file kfbxloadingstrategy.h.

KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy
KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy KFbxLoadingStrategy