HDK
|
#include <BRAY_Types.h>
Public Member Functions | |
BRAY_HDALoader () | |
virtual | ~BRAY_HDALoader () |
virtual const char * | className () const =0 |
virtual bool | loadHDA (const UT_StringHolder &path)=0 |
Not all applications are able to load HDAs. If an application is able to load HDAs, it should create a subclass of BRAY_HDALoader and instantiate a loader. The constructor will register the class for the application and the destructor will de-register.
Definition at line 424 of file BRAY_Types.h.
BRAY_HDALoader::BRAY_HDALoader | ( | ) |
|
virtual |
|
pure virtual |
The className() is used to print out error messages in case there are multiple HDA loaders instantiated.
|
pure virtual |
Return true if the HDA given by the path was loaded. It's possible the same path may be passed multiple times, and it's up to the implementor to optimize for this case. It's up to the implementor to print out errors using UT_ErrorLog.