Pointwise Plugin SDK
|
Static Initialization Data for the PWP_PLUGININFO structure. More...
Go to the source code of this file.
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.
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.
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.