Pointwise Plugin SDK
Modules | Functions

Create CAE exporter plugins using C. More...

+ Collaboration diagram for Using C:

Modules

 Progress Handling
 
 File Handling
 
 Value to Text Functions
 
 Message Handling
 
 Variable Manager Tools
 
 Macros
 
 Platform Endian Handling
 
 Unformatted FORTRAN File Handling
 

Functions

PWP_BOOL runtimeCreate (CAEP_RTITEM *pRti)
 
PWP_VOID runtimeDestroy (CAEP_RTITEM *pRti)
 
PWP_BOOL runtimeWrite (CAEP_RTITEM *pRti, PWGM_HGRIDMODEL model, const CAEP_WRITEINFO *pWriteInfo)
 

Detailed Description

Create CAE exporter plugins using C.

Function Documentation

◆ runtimeCreate()

PWP_BOOL runtimeCreate ( CAEP_RTITEM pRti)

Called once by the SDK when the plugin is first loaded.

Parameters
pRtiPointer to the runtime item instance for this invocation of the exporter.
Returns
PWP_TRUE on success.
See also
caeuAssignInfoValue(), caeuPublishValueDefinition()
Note
This function is typically used to initilize a plugin's configuration. Modifying this function is optional. By defualt it does nothing and returns PWP_TRUE.

Definition at line 35 of file cppstr/runtimeWrite.cxx.

References PWP_TRUE.

Referenced by caepRuntimeCreate().

◆ runtimeDestroy()

PWP_VOID runtimeDestroy ( CAEP_RTITEM pRti)

Called once by the SDK when the plugin is being destroyed.

Parameters
pRtiPointer to the runtime item instance for this invocation of the exporter.
Note
This function is typically used to cleanup a plugin's configuration. Modifying this function is optional. By defualt it does nothing.

Definition at line 41 of file cppstr/runtimeWrite.cxx.

Referenced by caepRuntimeDestroy().

◆ runtimeWrite()

PWP_BOOL runtimeWrite ( CAEP_RTITEM pRti,
PWGM_HGRIDMODEL  model,
const CAEP_WRITEINFO pWriteInfo 
)

Called by the SDK to start the export of a grid model.

Parameters
pRtiPointer to the runtime item instance for this invocation of the exporter.
modelHandle to the grid model to be exported.
pWriteInfoPointer to the export settings.
Returns
PWP_TRUE on success.
Note
Plugin-specific data members can be added to the CAEP_RTITEM typedef by editing the rtCaepInstanceData.h file.
See also
rtCaepInstanceData.h, rtCaepInitItems.h

Definition at line 27 of file cppstr/runtimeWrite.cxx.

References caeuProgressEnd(), caeuProgressInit(), and PWP_FALSE.

Referenced by PwCaeGridWrite().