The DDD_AssetFactory class. Factory for creating Data Director assets.
More...
#include <DDD_AssetFactory.h>
The DDD_AssetFactory class. Factory for creating Data Director assets.
bool FindAsset |
( |
const std::string & |
className, |
|
|
std::string |
libFileName |
|
) |
| |
Load the library file for the particular asset and install it in the factory
- Parameters
-
className | The class name of the asset |
libFileName | The name of the DLL/.SO file that has the creator function |
- Returns
- True if the class was successfully installed in the factory
- Returns
- Returns a list of known asset types that the factory can create
Public interface to the singleton
- Returns
- Returns a pointer to the singleton instance
Creates a new asset of the requested type
- Parameters
-
className | The name of the asset class to instantiate |
container | The container that owns the asset |
- Returns
- Returns a pointer to instantiated asset, or null if asset cannot be instantiated
The documentation for this class was generated from the following file: