VISH  0.2
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
VInitialization Struct Reference

Initialization: Each Plugin should (MacOS: Must) contain a function. More...

#include </home/werner/origo/vish/ocean/plankton/VInit.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes

Static Public Attributes


Detailed Description

Initialization: Each Plugin should (MacOS: Must) contain a function.

VISH_INITIALIZER bool VISH_XXXXXXXX(VInitialization*VInit)
{
        return VInit->IsCompatible();
}

where XXXXXXXX is is the name of the plugin, i.e. the file name of the compiled binary. This module initialization function is be called after loading the module as shared library. It should furthermore set all the elements of the VInit parameter to meaningful values that allow the user to deal conveniently with the module.

Examples:

abcexample.cpp.


The documentation for this struct was generated from the following files: