HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BRAY_HDALoader Class Referenceabstract

#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
 

Detailed Description

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 310 of file BRAY_Types.h.

Constructor & Destructor Documentation

BRAY_HDALoader::BRAY_HDALoader ( )
virtual BRAY_HDALoader::~BRAY_HDALoader ( )
virtual

Member Function Documentation

virtual const char* BRAY_HDALoader::className ( ) const
pure virtual

The className() is used to print out error messages in case there are multiple HDA loaders instantiated.

virtual bool BRAY_HDALoader::loadHDA ( const UT_StringHolder path)
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.


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