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_CallbackOpt32 )(void *data, int index, fpreal32 time, const PRM_Template *tplate, const UT_Options *options) |
typedef int(* | PRM_CallbackOpt64 )(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_CallbackOpt32 cb) | |
PRM_Callback (PRM_CallbackOpt64 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 33 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_Callback32)(void *data, int index, fpreal32 time, const PRM_Template *tplate) |
Definition at line 36 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_Callback64)(void *data, int index, fpreal64 time, const PRM_Template *tplate) |
Definition at line 38 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_CallbackOpt32)(void *data, int index, fpreal32 time, const PRM_Template *tplate, const UT_Options *options) |
Definition at line 40 of file PRM_Callback.h.
typedef int(* PRM_Callback::PRM_CallbackOpt64)(void *data, int index, fpreal64 time, const PRM_Template *tplate, const UT_Options *options) |
Definition at line 43 of file PRM_Callback.h.
|
inline |
Definition at line 47 of file PRM_Callback.h.
|
inline |
Definition at line 52 of file PRM_Callback.h.
|
inline |
Definition at line 57 of file PRM_Callback.h.
|
inline |
Definition at line 62 of file PRM_Callback.h.
|
inline |
Definition at line 66 of file PRM_Callback.h.
|
inline |
Definition at line 71 of file PRM_Callback.h.
|
inline |
Definition at line 76 of file PRM_Callback.h.
|
inline |
Definition at line 81 of file PRM_Callback.h.
|
inline |
Definition at line 143 of file PRM_Callback.h.
|
inline |
Definition at line 159 of file PRM_Callback.h.
|
inline |
Definition at line 87 of file PRM_Callback.h.
|
inline |
Definition at line 105 of file PRM_Callback.h.
|
inline |
Definition at line 124 of file PRM_Callback.h.
PRM_Callback32 PRM_Callback::myCallback32 |
Definition at line 175 of file PRM_Callback.h.
PRM_Callback64 PRM_Callback::myCallback64 |
Definition at line 174 of file PRM_Callback.h.
PRM_CallbackOpt32 PRM_Callback::myCallbackOpt32 |
Definition at line 177 of file PRM_Callback.h.
PRM_CallbackOpt64 PRM_Callback::myCallbackOpt64 |
Definition at line 176 of file PRM_Callback.h.