Inventor/algorithms/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...
struct  SoAlgorithms::Module
 Basic structure to store the information about a loaded module.

Defines

#define DECLARE_ALGORITHMS_MODULE(CLASS_NAME)

Define Documentation

#define DECLARE_ALGORITHMS_MODULE ( CLASS_NAME   ) 
Value:
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


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/