kwave  18.07.70
Kwave::RecordPlugin::InhibitRecordGuard Class Reference

#include <RecordPlugin.h>

Collaboration diagram for Kwave::RecordPlugin::InhibitRecordGuard:
Collaboration graph

Public Member Functions

 InhibitRecordGuard (Kwave::RecordPlugin &recorder)
 
virtual ~InhibitRecordGuard ()
 

Private Attributes

Kwave::RecordPluginm_recorder
 

Detailed Description

internal guard class for inhibiting low level recording at times where it should not occur.

Definition at line 80 of file RecordPlugin.h.

Constructor & Destructor Documentation

◆ InhibitRecordGuard()

Kwave::RecordPlugin::InhibitRecordGuard::InhibitRecordGuard ( Kwave::RecordPlugin recorder)
inlineexplicit

Constructor, inhibits recording

Definition at line 84 of file RecordPlugin.h.

References Kwave::RecordPlugin::enterInhibit(), and m_recorder.

85  :m_recorder(recorder)
86  {
88  }
Here is the call graph for this function:

◆ ~InhibitRecordGuard()

virtual Kwave::RecordPlugin::InhibitRecordGuard::~InhibitRecordGuard ( )
inlinevirtual

Destructor, re-enables recording

Definition at line 91 of file RecordPlugin.h.

References Kwave::RecordPlugin::leaveInhibit(), and m_recorder.

92  {
94  }
Here is the call graph for this function:

Member Data Documentation

◆ m_recorder

Kwave::RecordPlugin& Kwave::RecordPlugin::InhibitRecordGuard::m_recorder
private

Definition at line 97 of file RecordPlugin.h.

Referenced by InhibitRecordGuard(), and ~InhibitRecordGuard().


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