Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoAlgorithms.h File Reference
#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
  VSG extension Utility functions for loading algorithm modules More...
 

Macros

#define DECLARE_ALGORITHMS_MODULE(CLASS_NAME)
 On WIN32 platforms we must export the function using the dllexport feature.
 

Macro Definition Documentation

◆ DECLARE_ALGORITHMS_MODULE

#define DECLARE_ALGORITHMS_MODULE (   CLASS_NAME)
Value:
extern "C" VC_DLL_EXPORT SoAlgorithms* createAlgorithmsInterface() \
{ \
CLASS_NAME::init(); \
return new CLASS_NAME(); \
}
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Utility function...
#define VC_DLL_EXPORT
Definition port.h:337

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

Definition at line 57 of file SoAlgorithms.h.