#include <mtsTaskFromCallback.h>
Inheritance diagram for mtsTaskFromCallbackAdapter:


Definition at line 152 of file mtsTaskFromCallback.h.
| _callbackReturnType mtsTaskFromCallbackAdapter::CallbackAdapter | ( | void * | obj | ) | [static] |
This is a callback function that can be used with the external package, assuming that the package accepts a user-supplied 'void *' as the first parameter. This parameter must be obtained by calling GetCallbackParameter.
Definition at line 203 of file mtsTaskFromCallback.h.
References CMN_LOG_INIT_ERROR, mtsTaskFromCallback::DoCallback(), mtsTaskFromCallbackAdapter::CallbackData::obj, and mtsTaskFromCallbackAdapter::CallbackData::signature.
| virtual void* mtsTaskFromCallbackAdapter::GetCallbackParameter | ( | ) | [inline, virtual] |
This returns a callback parameter (as a 'void *') that can be supplied to an external package as the user data for the callback. The external package should pass this back as the first parameter to the callback function.
Definition at line 192 of file mtsTaskFromCallback.h.
References mtsTaskFromCallbackAdapter::CallbackData::obj, and mtsTaskFromCallbackAdapter::CallbackData::signature.