cisst-saw
|
#include <osaThreadAdapter.h>
Public Types | |
typedef osaCallBackBase | osaCallBackBaseType |
Public Member Functions | |
osaCallBackBase (_objectType *obj, _callBackMethodType callBackFunction, _userDataType userData) | |
Public Attributes | |
_objectType * | Obj |
_callBackMethodType | CallBackFunction |
_userDataType | UserData |
This struct is used as base class for all callback adapters. It just declares and initializes the adapter's member data, so we don't have to do this separately for each single adapter.
typedef osaCallBackBase osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::osaCallBackBaseType |
Typedef for osaCallBackBase
|
inline |
Constructor. Stores the pointer to member function of object class _objectType and the user object of class _userDataType.
obj | The pointer to the object containing the member function to be called. |
callBackFunction | The pointer to the member function to be called. |
userData | The user data to be passed to the callback member function. |
_callBackMethodType osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::CallBackFunction |
The pointer to the member function to be called.
_objectType* osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::Obj |
The pointer to the object containing the member function to be called.
_userDataType osaCallBackBase< _objectType, _callBackMethodType, _userDataType >::UserData |
A copy of the user data to be passed to the callback member function.