#include <SIM_Data.h>

Public Member Functions | |
| SIM_EachDataCallback () | |
| virtual | ~SIM_EachDataCallback () |
| virtual bool | callbackNeedsName () const |
| virtual void | callbackConst (const SIM_Data *data, const char *name)=0 |
| virtual void | callback (SIM_Data *data, const char *name) |
Definition at line 63 of file SIM_Data.h.
| SIM_EachDataCallback::SIM_EachDataCallback | ( | ) | [inline] |
Definition at line 66 of file SIM_Data.h.
| virtual SIM_EachDataCallback::~SIM_EachDataCallback | ( | ) | [inline, virtual] |
Definition at line 68 of file SIM_Data.h.
| virtual void SIM_EachDataCallback::callback | ( | SIM_Data * | data, | |
| const char * | name | |||
| ) | [inline, virtual] |
This is the callback function that is called for each data found by SIM_Data::forEachSubData(). The default implementation calls the version for const SIM_Data pointers. The name parameter is the relative path to the data item from the starting data item for the search (the startfrom parameter to SIM_Data::forEachSubData()).
Definition at line 88 of file SIM_Data.h.
| virtual void SIM_EachDataCallback::callbackConst | ( | const SIM_Data * | data, | |
| const char * | name | |||
| ) | [pure virtual] |
This is the callback function that is called for each data found by SIM_Data::forEachConstSubData(). The name parameter is the relative path to the data item from the starting data item for the search (the startfrom parameter to SIM_Data::forEachConstSubData()).
Implemented in HDK_Sample::SIM_HairForceCallback.
| virtual bool SIM_EachDataCallback::callbackNeedsName | ( | ) | const [inline, virtual] |
If your callback functions require the names of the data, override this function to return true. Otherwise the name parameter to the callback functions will always be null. Sending the name information to the callback introduces a small performance penalty.
Definition at line 75 of file SIM_Data.h.
1.5.9