#include <Inventor/SbString.h>
#include <Inventor/algorithms/SoAlgorithmsDefs.h>
#include <Inventor/STL/vector>
#include <Inventor/threads/SbThreadMutex.h>
#include <Inventor/SoModule.h>
Go to the source code of this file.
Classes | |
class | SoAlgorithms |
Utility functions for loading algorithm modules More... | |
struct | SoAlgorithms::Module |
Basic structure to store the information about a loaded module. | |
Defines | |
#define | DECLARE_ALGORITHMS_MODULE(CLASS_NAME) |
#define DECLARE_ALGORITHMS_MODULE | ( | CLASS_NAME | ) |
extern "C" VC_DLL_EXPORT SoAlgorithms* createAlgorithmsInterface() \ { \ CLASS_NAME::init(); \ return new CLASS_NAME(); \ }
On WIN32 platforms we must export the function using the dllexport feature.
This macro allows you to build your algorithms module with the mandatory base functions.
It declares and implements the createAlgorithmsInterface() function. The initClass function of your module is automatically called by this function