Merge pull request #348 from ptarabbia/develop

add hasDelegates() method to AbstractEvent
This commit is contained in:
Aleksandar Fabijanic 2014-05-21 22:12:00 -05:00
commit c033ee18d6

View File

@ -223,6 +223,10 @@ public:
strategy.notify(pSender, args);
}
bool hasDelegates() const {
return !(_strategy.empty());
}
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
/// Sends a notification to all registered delegates. The order is
/// determined by the TStrategy. This method is not blocking and will