|
|
| CallbackSubscriptor (const CallbackSubscriptor &o2) |
| |
|
void | triggerCallbacks (VARIABLE_ARGS_IMPL) |
| |
|
size_t | getNumCallbacks () const |
| |
|
void | removeCallbacks () |
| |
|
int | subscribeCallback (U &&callback, SubscriptionEmplacement se=SE_BACK) |
| |
|
int | subscribeCallback (std::function< ECallbackResult(VARIABLE_ARGS_DECL)> &&callback, SubscriptionEmplacement se=SE_BACK) |
| |
|
int | subscribeCallback (const std::function< ECallbackResult(VARIABLE_ARGS_DECL)> &callback, SubscriptionEmplacement se=SE_BACK) |
| |
|
int | subscribeCallback (std::function< ECallbackResult(VARIABLE_ARGS_DECL)> &callback, SubscriptionEmplacement se=SE_BACK) |
| |
| bool | unsubscribeCallback (std::function< ECallbackResult(VARIABLE_ARGS_DECL)> &&callback)=delete |
| |
|
bool | unsubscribeCallback (U &&callback) |
| |
|
bool | unsubscribeCallback (int id) |
| |
| int | subscribeCreatedCallback (CallbackType *cb, SubscriptionEmplacement se=SE_BACK) |
| |
| bool | unsubscribeCreatedCallback (std::shared_ptr< CallbackType > cb) |
| |
|
void | append (const CallbackSubscriptor_Base< ThreadingPolicy, VARIABLE_ARGS_DECL > &ob2) |
| |
|
void | append (CallbackSubscriptor_Base< ThreadingPolicy, VARIABLE_ARGS_DECL > &&ob2) |
| |
|
CallbackListType & | getCallbacks () |
| |
|
const CallbackListType & | getCallbacks () const |
| |
|
|
void | _applyPendingOperations () |
| |
|
|
bool | mTriggering |
| |
|
std::deque< PendingOperation > | mPendingOperation |
| |
|
CallbackListType | mCallbacks |
| |
|
_private::_CriticalSectionWrapper< mpl::isSame< ThreadingPolicy, mel::core::CSMultithreadPolicy >::result > | mSC |
| |
◆ subscribeCreatedCallback()
special case for subscription with Callback already created. Takes ownership
◆ unsubscribeCallback()
std::function lacks operator ==, so need to use unsubscribecallback(int id) or use any other mpl function capabilities
◆ unsubscribeCreatedCallback()
Unsubscribe an already existing callback It looks for a callback equal to passed (cb), NOT THE POINTER
- Parameters
-
| [in] | cb | the callback being desuscribed, |
- Returns
true if unsubscribed (false otherwise)
The documentation for this class was generated from the following file: