Logo Search packages:      
Sourcecode: poco version File versions  Download package

template<class TArgs, class TStrategy, class TDelegate>
void Poco::AbstractEvent< TArgs, TStrategy, TDelegate >::operator+= ( const TDelegate &  aDelegate  )  [inline, inherited]

Adds a delegate to the event. If the observer is equal to an already existing one (determined by the < operator), it will simply replace the existing observer. This behavior is determined by the TStrategy. Current implementations (DefaultStrategy, FIFOStrategy) follow that guideline but future ones can deviate.

Definition at line 178 of file AbstractEvent.h.

            FastMutex::ScopedLock lock(_mutex);

Generated by  Doxygen 1.6.0   Back to index