DataDirector API
Public Member Functions | Static Public Member Functions | List of all members
DDD_PluginMgr Class Reference

Public Member Functions

bool LoadAssets (const std::string &assetsPath)
 
bool LoadConverters (const std::string &convertersPath)
 
DDD_StringList LoadedAssets ()
 
DDD_StringList LoadedConverters ()
 

Static Public Member Functions

static DDD_PluginMgrInstance ()
 

Member Function Documentation

static DDD_PluginMgr& Instance ( )
static

Public interface to the singleton

Returns
Returns a pointer to the singleton instance
bool LoadAssets ( const std::string &  assetsPath)

Traverses the given path and adds any assets in the path to the asset factory This functionality is used in the editor to allow the editor to present a list of available asset types

Parameters
assetsPathThe path containing assets to add to the factory
Returns
True if assets were added to the factory
bool LoadConverters ( const std::string &  convertersPath)

Traverses the given path and adds any converters in the path to the converter factory This functionality is used in the editor to allow the editor to present a list of available converter types. It is also needed at runtime to make converter plugins available

Parameters
convertersPathThe path containing converters to add to the factory
Returns
True if converters were added to the factory
DDD_StringList LoadedAssets ( )
Returns
Returns the list of asset types that have been added to the Asset Factory
DDD_StringList LoadedConverters ( )
Returns
Returns the list of converter types that have been added to the Converter Factory

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