source: dev/branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Debugger.h

Last change on this file was 817, checked in by イグトランス (egtra), 14 years ago

compilerにおいて、各クラスのコピー禁止を明確化、ならびにコピー可能なものにムーブコンストラクタ・ムーブ代入演算子を追加。

File size: 382 bytes
Line 
1#pragma once
2
3class Debugger
4{
5 bool isRunning;
6
7public:
8 Debugger()
9 : isRunning( false )
10 {
11 }
12
13 void DebugStart()
14 {
15 isRunning = true;
16 }
17 void FinishDebug()
18 {
19 isRunning = false;
20 }
21
22 bool IsRunning() const
23 {
24 return isRunning;
25 }
26
27private:
28 Debugger(Debugger const&);
29 Debugger& operator =(Debugger const&);
30};
31
32static Debugger debugger;
Note: See TracBrowser for help on using the repository browser.