#include <osaThreadAdapter.h>
Inheritance diagram for osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >:


Definition at line 86 of file osaThreadAdapter.h.
| osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >::osaHeapCallBack | ( | _objectType * | obj, | |
| _callBackReturnType(_objectType::*)(_userDataType) | callBackFunction, | |||
| _userDataType | userData | |||
| ) | [inline, protected] |
Constructor is protected to prevent instances on the stack.
Definition at line 132 of file osaThreadAdapter.h.
Referenced by osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >::Create().
| static osaHeapCallBack* osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >::Create | ( | _objectType * | obj, | |
| _callBackReturnType(_objectType::*)(_userDataType) | callBackFunction, | |||
| _userDataType | userData | |||
| ) | [inline, static] |
Creates an object that can be passed as argument of the 'start routine'.
Definition at line 89 of file osaThreadAdapter.h.
References osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >::osaHeapCallBack().
| static void* osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType >::CallbackAndDestroy | ( | _callBackArgumentType | obj | ) | [inline, static] |
The static function to be passed as the 'start routine' argument of functions such as pthread_create. We use the argument to the 'start routine' to send an object that packs the member function to be called, along with the receiver object and user data.
| obj | This object must be of type _callBackArgumentType, which is the same as that of the 'start routine' prototype defined by the platform. g |
Definition at line 111 of file osaThreadAdapter.h.
References osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::CallBackFunction, osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::Obj, and osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::UserData.