HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_NotifierImpl< EVENT_TYPE > Class Template Reference

#include <UT_Notifier.h>

+ Inheritance diagram for UT_NotifierImpl< EVENT_TYPE >:

Public Types

typedef UT_Functor1< void,
EVENT_TYPE > 
Callback
 

Public Member Functions

 UT_NotifierImpl ()
 
 ~UT_NotifierImpl () override
 
virtual void addObserver (UT_NotifierList &list, Callback &callback)
 
void removeObserver (UT_NotifierList &list) override
 
virtual bool hasObserver (const UT_NotifierList &list) const
 
virtual void notifyObservers (EVENT_TYPE event)
 
int64 getMemoryUsage (bool inclusive) const
 Returns the amount of memory owned by this UT_NotifierImpl. More...
 
bool hasObservers () const
 
- Public Member Functions inherited from UT_Notifier
 UT_Notifier ()
 
virtual ~UT_Notifier ()
 

Detailed Description

template<typename EVENT_TYPE>
class UT_NotifierImpl< EVENT_TYPE >

Definition at line 102 of file UT_Notifier.h.

Member Typedef Documentation

template<typename EVENT_TYPE>
typedef UT_Functor1< void, EVENT_TYPE > UT_NotifierImpl< EVENT_TYPE >::Callback

Definition at line 109 of file UT_Notifier.h.

Constructor & Destructor Documentation

template<typename EVENT_TYPE >
UT_NotifierImpl< EVENT_TYPE >::UT_NotifierImpl ( )

Definition at line 21 of file UT_Notifier.C.

template<typename EVENT_TYPE >
UT_NotifierImpl< EVENT_TYPE >::~UT_NotifierImpl ( )
override

Definition at line 28 of file UT_Notifier.C.

Member Function Documentation

template<typename EVENT_TYPE >
void UT_NotifierImpl< EVENT_TYPE >::addObserver ( UT_NotifierList list,
Callback callback 
)
virtual

Definition at line 58 of file UT_Notifier.C.

template<typename EVENT_TYPE>
int64 UT_NotifierImpl< EVENT_TYPE >::getMemoryUsage ( bool  inclusive) const
inline

Returns the amount of memory owned by this UT_NotifierImpl.

Definition at line 162 of file UT_Notifier.h.

template<typename EVENT_TYPE >
bool UT_NotifierImpl< EVENT_TYPE >::hasObserver ( const UT_NotifierList list) const
virtual

Definition at line 50 of file UT_Notifier.C.

template<typename EVENT_TYPE >
bool UT_NotifierImpl< EVENT_TYPE >::hasObservers ( ) const

Definition at line 166 of file UT_Notifier.C.

template<typename EVENT_TYPE>
void UT_NotifierImpl< EVENT_TYPE >::notifyObservers ( EVENT_TYPE  event)
virtual

Definition at line 140 of file UT_Notifier.C.

template<typename EVENT_TYPE >
void UT_NotifierImpl< EVENT_TYPE >::removeObserver ( UT_NotifierList list)
overridevirtual

Implements UT_Notifier.

Definition at line 81 of file UT_Notifier.C.


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