Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
Observer::Publisher< Message, NotifyAll >::Record Struct Reference

#include <Observer.h>

Inheritance diagram for Observer::Publisher< Message, NotifyAll >::Record:
[legend]
Collaboration diagram for Observer::Publisher< Message, NotifyAll >::Record:
[legend]

Public Member Functions

 Record (Callback callback)
 
- Public Member Functions inherited from Observer::detail::RecordBase
void Unlink () noexcept
 

Public Attributes

Callback callback
 
- Public Attributes inherited from Observer::detail::RecordBase
std::weak_ptr< RecordLinkprev
 

Detailed Description

template<typename Message = Message, bool NotifyAll = true>
struct Observer::Publisher< Message, NotifyAll >::Record

Definition at line 152 of file Observer.h.

Constructor & Destructor Documentation

◆ Record()

template<typename Message = Message, bool NotifyAll = true>
Observer::Publisher< Message, NotifyAll >::Record::Record ( Callback  callback)
inlineexplicit

Definition at line 153 of file Observer.h.

153: callback{ move(callback) } {}

Member Data Documentation

◆ callback

template<typename Message = Message, bool NotifyAll = true>
Callback Observer::Publisher< Message, NotifyAll >::Record::callback

Definition at line 154 of file Observer.h.


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