This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module modman [Version: v01] (Interface Graph)

   [AbsGraph]

Contents

Inheritance:
AbsGraph
Implementations: Graph

Constructors:
Graph
AbsGraph *createGraph(HINST hInstance)

Methods:
Loading a library:
loadDll (version 1)
HINST loadDll(const char *dllFileName,HINST callerInst)
loadDll (version 2)
HINST loadDll(const char *moduleName,int mode,HINST callerInst,int exe_license,int min_version,int max_version)
loadDll (version 3)
HINST loadDll(const char *moduleName,int mode,HINST callerInst,int exe_license,int min_version,int max_version,const char *def_version)
addDll
bool addDll(HINST dllInst,const char *moduleName,int mode,HINST callerInst)
Finding functions:
loadFunction (version 1)
void *loadFunction(const char *dllFileName,const char *functionName,HINST callerInst)
loadFunction (version 2)
void *loadFunction(const char *dllFileName,int mode,const char *functionName,HINST callerInst,int exe_license,int min_version,int max_version)
loadFunction (version 3)
void *loadFunction(const char *dllFileName,int mode,const char *functionName,HINST callerInst,int exe_license,int min_version,int max_version,const char *def_version)
loadFunction (version 4)
void *loadFunction(HINST dllInst,const char *functionName)
loadProkeeFunction
void *loadProkeeFunction(const char *functionName)
Searching libraries:
findInstWithProperty
HINST findInstWithProperty(const char *property)
Adding functions:
addFunction
void addFunction(const char *dllFileName,const char *functionName,void *functionPointer)

Constructors

   Graph


Basic loading and linking functionality for Prokee modules.

Namespace:
modman

Constructor:
Graph(HINST hInstance)

Factory Method:
AbsGraph *AbsGraphInterface::createGraph(HINST hInstance)

Wrapper Class:
GraphWrapper(HINST hInstance)

The static method AbsGraphInterface::createGraph creates a new instance of class Graph.

Parameters:
Type Name Direction Description
HINST hInstance[IN]Instance handle of the main executable.

Return value:
Gibt einen Pointer auf die neu erzeugte Instanz der Klasse Graph zurük.


Methods

   loadDll (version 1)


Loads a library.

Signature:
HINST loadDll(const char *dllFileName,HINST callerInst)

Parameters:
Type Name Direction Description
const char *dllFileName[IN]Filename of the dll/so file to be loaded.
HINST callerInst[IN]Instance handle of the caller.


Return value:
Instance handle of the loaded library. (or NULL in case of an error)

   loadDll (version 2)


Loads a library. This is a new version of the loadDll Method, which is extended to be able to load Prokee modules.

Signature:
HINST loadDll(const char *moduleName,int mode,HINST callerInst,int exe_license,int min_version,int max_version)

Parameters:
Type Name Direction Description
const char *moduleName[IN]The name of the module. (This is not the path and also not the filename. Normally the name matches with the filename, but this is not to be expected in all cases.)
int modeThe run-mode of the library.
HINST callerInst[IN]Instance handle of the caller.
int exe_licenseThe license of the corrently runnung prokee process.
int min_versionThe lowest version of the required library.
int max_versionThe highest version of the required library.


Return value:
Instance handle of the loaded library (or NULL in case of an error).

   loadDll (version 3)


Loads a library. This is a new version of the loadDll Method, which is extended to be able to load Prokee modules.

Signature:
HINST loadDll(const char *moduleName,int mode,HINST callerInst,int exe_license,int min_version,int max_version,const char *def_version)

Parameters:
Type Name Direction Description
const char *moduleName[IN]The name of the module. (This is not the path and also not the filename. Normally the name matches with the filename, but this is not to be expected in all cases.)
int modeThe run-mode of the library.
HINST callerInst[IN]Instance handle of the caller.
int exe_licenseThe license of the corrently runnung prokee process.
int min_versionThe lowest version of the required library.
int max_versionThe highest version of the required library.
const char *def_versionThe default version of the required library.


Return value:
Instance handle of the loaded library (or NULL in case of an error).

   addDll


Adds a library to the graph.

Signature:
bool addDll(HINST dllInst,const char *moduleName,int mode,HINST callerInst)

Parameters:
Type Name Direction Description
HINST dllInst[IN]Instance handle of the library.
const char *moduleName[IN]The name of the module. (This is not the path and also not the filename. Normally the name matches with the filename, but this is not to be expected in all cases.)
int modeThe run-mode of the library.
HINST callerInst[IN]Instance handle of the caller.


   loadFunction (version 1)


Returns the Pointer to a function. This method loads the required library, if necessary.

Signature:
void *loadFunction(const char *dllFileName,const char *functionName,HINST callerInst)

Parameters:
Type Name Direction Description
const char *dllFileName[IN]Filename of the dll/so file to be loaded.
const char *functionName[IN]Name of the required function.
HINST callerInst[IN]Instance handle of the caller.


Return value:
Pointer to the function or NULL.

   loadFunction (version 2)


Returns the Pointer to a function. This method loads the required library, if necessary. This is the new version for prokee libraries.

Signature:
void *loadFunction(const char *dllFileName,int mode,const char *functionName,HINST callerInst,int exe_license,int min_version,int max_version)

Parameters:
Type Name Direction Description
const char *dllFileName[IN]Filename of the dll/so file to be loaded.
int modeThe run-mode of the library.
const char *functionName[IN]Name of the required function.
HINST callerInst[IN]Instance handle of the caller.
int exe_licenseThe license of the corrently runnung prokee process.
int min_versionThe lowest version of the required library.
int max_versionThe highest version of the required library.


Return value:
Pointer to the function or NULL.

   loadFunction (version 3)


Returns the Pointer to a function. This method loads the required library, if necessary. This is the new version for prokee libraries.

Signature:
void *loadFunction(const char *dllFileName,int mode,const char *functionName,HINST callerInst,int exe_license,int min_version,int max_version,const char *def_version)

Parameters:
Type Name Direction Description
const char *dllFileName[IN]Filename of the dll/so file to be loaded.
int modeThe run-mode of the library.
const char *functionName[IN]Name of the required function.
HINST callerInst[IN]Instance handle of the caller.
int exe_licenseThe license of the corrently runnung prokee process.
int min_versionThe lowest version of the required library.
int max_versionThe highest version of the required library.
const char *def_versionThe default version of the required library.


Return value:
Pointer to the function or NULL.

   loadFunction (version 4)


Returns the Pointer to a function. The required library has to be already loaded.

Signature:
void *loadFunction(HINST dllInst,const char *functionName)

Parameters:
Type Name Direction Description
HINST dllInst[IN]Instance handle of the dll/so.
const char *functionName[IN]Name of the required function.


Return value:
Pointer to the function or NULL.

   loadProkeeFunction


Returns the Pointer to a prokee function.

Signature:
void *loadProkeeFunction(const char *functionName)

Parameters:
Type Name Direction Description
const char *functionName[IN]Name of the required function.


Return value:
Pointer to the function or NULL.

   findInstWithProperty


Finds a library with a given property.

Signature:
HINST findInstWithProperty(const char *property)

Parameters:
Type Name Direction Description
const char *property[IN]Name of a required property.


Return value:
Instance handle of first found library. (or NULL in case of an error)

   addFunction


Adds a function.

Signature:
void addFunction(const char *dllFileName,const char *functionName,void *functionPointer)

Parameters:
Type Name Direction Description
const char *dllFileName[IN]Filename of the dll/so file to be loaded.
const char *functionName[IN]Name of the required function.
void *functionPointer[IN]Name of a required property.



Copyright © 2017 - 2019 by Andreas Pollhammer