Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Classes | Namespaces | Macros | Typedefs | Functions
TYPluginManager.h File Reference
#include <list>
#include <string>
#include <qdir.h>
#include <qstringlist.h>
#include "Tympan/core/defines.h"
#include "Tympan/core/interfaces.h"
#include "Tympan/core/smartptr.h"
#include "Tympan/core/plugin.h"
Include dependency graph for TYPluginManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TYPluginData
 
class  TYPluginManager
 

Namespaces

 tympan
 

Macros

#define LIB_HANDLE   hInstance
 
#define LIB_LOAD(a)   LoadLibraryA(a)
 
#define LIB_GETSYM(a, b)   GetProcAddress(a, b)
 
#define LIB_UNLOAD(a)   FreeLibrary(a)
 
#define DEFAULT_SOLVER_UUID   "{A98B320C-44C4-47a9-B689-1DD352DAA8B2}"
 

Typedefs

typedef struct HINSTANCE__ * hInstance
 
typedef void(* TYPGStartPlugin) ()
 
typedef Plugin *(* TYPGGetPlugin) ()
 
typedef void(* TYPGStopPlugin) ()
 
typedef SmartPtr< TYPluginManagerLPTYPluginManager
 

Functions

void tympan::load_solvers (const char *path)
 Load the solver plugins found in path More...
 
SolverInterfacetympan::select_solver (OGenID uuid)
 Select a solver amongst the loaded solvers (a previous call to tympan::load_solvers() is. More...
 
OGenID tympan::solver_id (std::string name)
 Return the id of the solver named name (a previous call to tympan::load_solvers() is. More...
 

Macro Definition Documentation

◆ DEFAULT_SOLVER_UUID

#define DEFAULT_SOLVER_UUID   "{A98B320C-44C4-47a9-B689-1DD352DAA8B2}"

Gestionnaire de plug-ins.

Definition at line 71 of file TYPluginManager.h.

◆ LIB_GETSYM

#define LIB_GETSYM (   a,
 
)    GetProcAddress(a, b)

Definition at line 33 of file TYPluginManager.h.

◆ LIB_HANDLE

#define LIB_HANDLE   hInstance

Definition at line 31 of file TYPluginManager.h.

◆ LIB_LOAD

#define LIB_LOAD (   a)    LoadLibraryA(a)

Definition at line 32 of file TYPluginManager.h.

◆ LIB_UNLOAD

#define LIB_UNLOAD (   a)    FreeLibrary(a)

Definition at line 34 of file TYPluginManager.h.

Typedef Documentation

◆ hInstance

typedef struct HINSTANCE__* hInstance

Definition at line 37 of file TYPluginManager.h.

◆ LPTYPluginManager

Definition at line 64 of file TYPluginManager.h.

◆ TYPGGetPlugin

typedef Plugin*(* TYPGGetPlugin) ()

Definition at line 47 of file TYPluginManager.h.

◆ TYPGStartPlugin

typedef void(* TYPGStartPlugin) ()

Definition at line 46 of file TYPluginManager.h.

◆ TYPGStopPlugin

typedef void(* TYPGStopPlugin) ()

Definition at line 48 of file TYPluginManager.h.