 |
PK_SESSION_register_fru_o_t |
|
struct PK_SESSION_register_fru_o_s
{
int o_t_version; --- version number
-------------- Control ----------------------------------------------------
PK_FSTART_f_t *fstart; --- (NULL)
PK_FABORT_f_t *fabort; --- (NULL)
PK_FSTOP_f_t *fstop; --- (NULL)
-------------- Memory Management ------------------------------------------
PK_FMALLO_f_t *fmallo; --- (NULL)
PK_FMFREE_f_t *fmfree; --- (NULL)
-------------- Graphics ---------------------------------------------------
PK_GOSGMT_f_t *gosgmt; --- (NULL)
PK_GOOPSG_f_t *goopsg; --- (NULL)
PK_GOCLSG_f_t *goclsg; --- (NULL)
PK_LOGICAL_t *go_thread_safe;
--- (NULL)
-------------- File I/O ---------------------------------------------------
PK_FFOPRD_f_t *ffoprd; --- (NULL)
PK_FFOPWR_f_t *ffopwr; --- (NULL)
PK_UCOPRD_f_t *ucoprd; --- (NULL)
PK_UCOPWR_f_t *ucopwr; --- (NULL)
PK_FFCLOS_f_t *ffclos; --- (NULL)
PK_FFREAD_f_t *ffread; --- (NULL)
PK_FFWRIT_f_t *ffwrit; --- (NULL)
PK_FFSKXT_f_t *ffskxt; --- (NULL)
-------------- Foreign Geometry (curves) ----------------------------------
PK_FGCRCU_f_t *fgcrcu; --- (NULL)
PK_FGEVCU_f_t *fgevcu; --- (NULL)
PK_FGPRCU_f_t *fgprcu; --- (NULL)
-------------- Foreign Geometry (surfaces) --------------------------------
PK_FGCRSU_f_t *fgcrsu; --- (NULL)
PK_FGEVSU_f_t *fgevsu; --- (NULL)
PK_FGPRSU_f_t *fgprsu; --- (NULL)
};
typedef struct PK_SESSION_register_fru_o_s PK_SESSION_register_fru_o_t;
This structure contains optional arguments for PK_SESSION_register_fru_2.
Used in:
PK_SESSION_register_fru_2
Parasolid will register each Frustrum function to the value at the address
pointed to by its corresponding pointer field if that field is set to a
non-NULL value. To unregister a Frustrum function, its field should point to
an address containing a NULL value.
Each function pointer field is named after its corresponding Frustrum function
type.
The 'go_thread_safe' option is used to indicate that the GO functions,
'gosgmt', 'goopsg', and 'goclsg', should be considered thread-safe.
If 'go_thread_safe' is set to a non-NULL value and points to a
PK_LOGICAL_t with value PK_LOGICAL_true, then Parasolid may call the GO
functions concurrently. If it is set to a NULL value or points to a
PK_LOGICAL_t with value PK_LOGICAL_false, Parasolid will assume the GO
functions are not thread-safe.
Please see the Downward Interfaces manual for more information about these
Frustrum functions.