#include <SIM_DataFactory.h>
Public Types | |
| typedef void(* | SIM_DataFactoryCreateFunc )(SIM_Engine *engine) |
| Defines a function for creating a SIM_DataFactory. | |
Public Member Functions | |
| SIM_DataFactoryCreator (SIM_DataFactoryCreateFunc createfunc) | |
| ~SIM_DataFactoryCreator () | |
| const UT_String & | getSource () const |
| void | createDataFactory (SIM_Engine *engine) |
| Call the creation function to make a new SIM_DataFactory instance. | |
Static Public Member Functions | |
| static void | addDataFactory (SIM_Engine *engine, SIM_DataFactory *factory) |
| Call addDataFactory on the specified SIM_Engine. | |
Definition at line 91 of file SIM_DataFactory.h.
| typedef void(* SIM_DataFactoryCreator::SIM_DataFactoryCreateFunc)(SIM_Engine *engine) |
| SIM_DataFactoryCreator::SIM_DataFactoryCreator | ( | SIM_DataFactoryCreateFunc | createfunc | ) |
Constructor sets the SIM_DataFactory creation function. It also registers this SIM_DataFactoryCreator instance with the global list in the SIM_Engine class.
| SIM_DataFactoryCreator::~SIM_DataFactoryCreator | ( | ) |
Destructor which removes this SIM_DataFactoryCreator from the global list owned by the SIM_Engine class.
| static void SIM_DataFactoryCreator::addDataFactory | ( | SIM_Engine * | engine, | |
| SIM_DataFactory * | factory | |||
| ) | [static] |
Call addDataFactory on the specified SIM_Engine.
| void SIM_DataFactoryCreator::createDataFactory | ( | SIM_Engine * | engine | ) |
Call the creation function to make a new SIM_DataFactory instance.
| const UT_String& SIM_DataFactoryCreator::getSource | ( | ) | const |
Returns the name of the DSO or DLL file that defines the data type. For data types defined internally to Houdini the returned string will be empty.
1.5.9