ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::NotificationGuard Class Reference

Notification guard for Subject. More...

#include <subject.h>

Collaboration diagram for Ufe::NotificationGuard:

Public Member Functions

 NotificationGuard (Subject &subject)
 
 ~NotificationGuard ()
 
 NotificationGuard (const NotificationGuard &)=delete
 Cannot be copied or assigned. More...
 
const NotificationGuardoperator & (const NotificationGuard &)=delete
 Cannot be copied or assigned. More...
 

Private Attributes

Subject *const fSubject
 

Detailed Description

Notification guard for Subject.

This class implements a guard that delays notifications sent by Subject until expiration of the guard. When the guard expires, the Subject will send out a composite notification with all notifications that occurred within the scope of the guard.

Only the top-most guard is considered: any nested guards are ignored.

Definition at line 128 of file subject.h.

Constructor & Destructor Documentation

◆ NotificationGuard() [1/2]

Ufe::NotificationGuard::NotificationGuard ( Subject subject)

◆ ~NotificationGuard()

Ufe::NotificationGuard::~NotificationGuard ( )

◆ NotificationGuard() [2/2]

Ufe::NotificationGuard::NotificationGuard ( const NotificationGuard )
delete

Cannot be copied or assigned.

Member Function Documentation

◆ operator &()

const NotificationGuard& Ufe::NotificationGuard::operator& ( const NotificationGuard )
delete

Cannot be copied or assigned.

Member Data Documentation

◆ fSubject

Subject* const Ufe::NotificationGuard::fSubject
private

Definition at line 141 of file subject.h.


The documentation for this class was generated from the following file: