Audacity 3.2.0
Classes | Public Member Functions | Public Attributes | List of all members
RealtimeEffectState::AccessState::ToMainSlot Struct Reference
Collaboration diagram for RealtimeEffectState::AccessState::ToMainSlot:
[legend]

Classes

struct  Reader
 

Public Member Functions

 ToMainSlot ()=default
 
 ToMainSlot (Response response)
 
ToMainSlotoperator= (ToMainSlot &&)=default
 
ToMainSlotoperator= (CounterAndOutputs &&arg)
 

Public Attributes

Response mResponse
 

Detailed Description

Definition at line 88 of file RealtimeEffectState.cpp.

Constructor & Destructor Documentation

◆ ToMainSlot() [1/2]

RealtimeEffectState::AccessState::ToMainSlot::ToMainSlot ( )
default

◆ ToMainSlot() [2/2]

RealtimeEffectState::AccessState::ToMainSlot::ToMainSlot ( Response  response)
inlineexplicit

Definition at line 91 of file RealtimeEffectState.cpp.

92 : mResponse{ std::move(response) }
93 {}

Member Function Documentation

◆ operator=() [1/2]

ToMainSlot & RealtimeEffectState::AccessState::ToMainSlot::operator= ( CounterAndOutputs &&  arg)
inline

Definition at line 97 of file RealtimeEffectState.cpp.

97 {
98 // This happens during MessageBuffer's busying of the slot
99 mResponse.counter = arg.counter;
100 if (mResponse.pOutputs && arg.pOutputs)
101 mResponse.pOutputs->Assign(std::move(*arg.pOutputs));
102 return *this;
103 }
std::unique_ptr< EffectOutputs > pOutputs

References RealtimeEffectState::Response::counter, mResponse, and RealtimeEffectState::Response::pOutputs.

◆ operator=() [2/2]

ToMainSlot & RealtimeEffectState::AccessState::ToMainSlot::operator= ( ToMainSlot &&  )
default

Member Data Documentation

◆ mResponse

Response RealtimeEffectState::AccessState::ToMainSlot::mResponse

Definition at line 117 of file RealtimeEffectState.cpp.

Referenced by operator=().


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