OpenClonk
C4DebugRecOff Class Reference

#include <C4Record.h>

Public Member Functions

 C4DebugRecOff ()
 
 C4DebugRecOff (bool fDoOff)
 
 ~C4DebugRecOff ()
 
void Clear ()
 

Detailed Description

Definition at line 32 of file C4Record.h.

Constructor & Destructor Documentation

◆ C4DebugRecOff() [1/2]

C4DebugRecOff::C4DebugRecOff ( )

Definition at line 37 of file C4Record.cpp.

References DEBUGREC_OFF.

38 {
40 }
#define DEBUGREC_OFF
Definition: C4Record.h:28

◆ C4DebugRecOff() [2/2]

C4DebugRecOff::C4DebugRecOff ( bool  fDoOff)

Definition at line 42 of file C4Record.cpp.

References DEBUGREC_OFF.

42  : fDoOff(fDoOff)
43 {
44  if (fDoOff) { DEBUGREC_OFF; }
45 }
#define DEBUGREC_OFF
Definition: C4Record.h:28

◆ ~C4DebugRecOff()

C4DebugRecOff::~C4DebugRecOff ( )

Definition at line 47 of file C4Record.cpp.

References DEBUGREC_ON.

48 {
49  if (fDoOff) { DEBUGREC_ON; }
50 }
#define DEBUGREC_ON
Definition: C4Record.h:29

Member Function Documentation

◆ Clear()

void C4DebugRecOff::Clear ( )

Definition at line 52 of file C4Record.cpp.

References DEBUGREC_ON.

Referenced by C4Playback::IsFinished().

53 {
55  fDoOff = false;
56 }
#define DEBUGREC_ON
Definition: C4Record.h:29
Here is the caller graph for this function:

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