Pointwise CAE Plugin SDK
rtPwpPluginInfo.h File Reference

Static Initialization Data for the PWP_PLUGININFO structure. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.



Detailed Description

Static Initialization Data for the PWP_PLUGININFO structure.

initialize the PWP_PLUGININFO data

The file rtPwpPluginInfo.h defines the static, compile-time initialization of the PWP_PLUGININFO data struct returned by the PWP-API function PwpGetPluginInfo(). If you want to see the implementation details, look in the /shared/PWP/apiPWP.cxx file.

The SDK file /shared/PWP/apiPWP.cxx includes rtPwpPluginInfo.h as shown below.

# include "rtPwpPluginInfo.h"

The format of rtPwpPluginInfo.h must be valid for the static initialization of a C-struct. If you are not familiar with static initialization, see the Example C-struct Static Initialization page.

When copied from the src/plugins/templates/PWP/ folder to your plugins project folder, rtPwpPluginInfo.h will contain example initilization data. This example data must be edited to define the values appropriate for your plugin's implementation.


The example data from the SDK rtPwpPluginInfo.h template file is shown below.

VERSION_PWP_INIT, // conforms to this PWP-API version
VERSION_LIB_INIT, // software library release version
"Pointwise, Inc.", // company/author description
"support.pointwise.com", // support description (phone, web-link).
"Copyright (c) 2008-2017", // copyright description
0, // number of APIs (auto-set at runtime)
0, // default msg callback (auto-set at runtime)
0, // spy msg callback (auto-set at runtime)

Please notice that the last three data members are initilized to 0. These values are set automatically at runtime by PwpGetPluginInfo() as shown in the code below.

Definition in file rtPwpPluginInfo.h.

Macro Definition Documentation