CatapultServer
v0.5.0.1 (Elephant)
|
A demultiplexing observer builder. More...
Classes | |
class | ConditionalObserver |
Public Member Functions | |
template<typename TNotification > | |
DemuxObserverBuilder & | add (NotificationObserverPointerT< TNotification > &&pObserver) |
Adds an observer (pObserver) to the builder that is invoked only when matching notifications are processed. More... | |
AggregateNotificationObserverPointerT< model::Notification > | build () |
Builds a demultiplexing observer. More... | |
template<> | |
DemuxObserverBuilder & | add (NotificationObserverPointerT< model::Notification > &&pObserver) |
Adds an observer (pObserver) to the builder that is always invoked. More... | |
Private Types | |
using | NotificationObserverPredicate = predicate< const model::Notification & > |
Private Attributes | |
AggregateObserverBuilder< model::Notification > | m_builder |
A demultiplexing observer builder.
|
private |
|
inline |
Adds an observer (pObserver) to the builder that is always invoked.
|
inline |
Adds an observer (pObserver) to the builder that is invoked only when matching notifications are processed.
|
inline |
Builds a demultiplexing observer.
|
private |