HDK
|
#include <PRM_Callback.h>
Public Types | |
typedef int(* | PRM_Callback32 )(void *data, int index, fpreal32 time, const PRM_Template *tplate) |
typedef int(* | PRM_Callback64 )(void *data, int index, fpreal64 time, const PRM_Template *tplate) |
typedef int(* | PRM_CallbackOpt )(void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options) |
Public Member Functions | |
PRM_Callback () | |
PRM_Callback (int ptr) | |
PRM_Callback (long int ptr) | |
PRM_Callback (std::nullptr_t) | |
PRM_Callback (PRM_Callback32 cb) | |
PRM_Callback (PRM_Callback64 cb) | |
PRM_Callback (PRM_CallbackOpt cb) | |
int | operator() (void *data, int index, fpreal64 time, const PRM_Template *tplate) |
int | operator() (void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options) |
bool | operator== (const PRM_Callback &other) |
bool | isNotNull () const |
bool | isNull () const |
This is a callback function that can be used to modify data. It is invoked when the user uses a parameter of type PRM_CALLBACK (this might be a button, or a menu).
data | Pointer to the node it was called on |
index | The index of the menu entry |
time | Current evaluation time |
tplate | Pointer to the PRM_Template of the parameter it was triggered for. |
Definition at line 35 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_Callback32)(void *data, int index, fpreal32 time, const PRM_Template *tplate) |
Definition at line 38 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_Callback64)(void *data, int index, fpreal64 time, const PRM_Template *tplate) |
Definition at line 40 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_CallbackOpt)(void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options) |
Definition at line 42 of file PRM_Callback.h.
|
inline |
Definition at line 46 of file PRM_Callback.h.
|
inline |
Definition at line 52 of file PRM_Callback.h.
|
inline |
Definition at line 59 of file PRM_Callback.h.
|
inline |
Definition at line 66 of file PRM_Callback.h.
|
inline |
Definition at line 72 of file PRM_Callback.h.
|
inline |
Definition at line 78 of file PRM_Callback.h.
|
inline |
Definition at line 84 of file PRM_Callback.h.
|
inline |
Definition at line 121 of file PRM_Callback.h.
|
inline |
Definition at line 125 of file PRM_Callback.h.
|
inline |
Definition at line 91 of file PRM_Callback.h.
|
inline |
Definition at line 102 of file PRM_Callback.h.
|
inline |
Definition at line 114 of file PRM_Callback.h.