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

Base class for all notifications. More...

#include <notification.h>

Inheritance diagram for Ufe::Notification:

Public Member Functions

 Notification ()
 Constructor. More...
 
 Notification (const Notification &)=default
 Default copy constructor. More...
 
virtual ~Notification ()
 Destructor. More...
 
template<typename T >
const T & staticCast () const
 

Detailed Description

Base class for all notifications.

This class is the base class for all notifications send by Subject. See the observer pattern for more information.

https://en.wikipedia.org/wiki/Observer_pattern

Derived classes can provide more information to observers.

Definition at line 28 of file notification.h.

Constructor & Destructor Documentation

◆ Notification() [1/2]

Ufe::Notification::Notification ( )

Constructor.

◆ Notification() [2/2]

Ufe::Notification::Notification ( const Notification )
default

Default copy constructor.

◆ ~Notification()

virtual Ufe::Notification::~Notification ( )
virtual

Destructor.

Member Function Documentation

◆ staticCast()

template<typename T >
const T & Ufe::Notification::staticCast ( ) const
inline

Convience method to static_cast<> this Notification to T, with checks in debug builds.

Returns
the result of static_cast<const T&>(*this);

Definition at line 45 of file notification.h.

References UFE_ASSERT.


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