IEvent.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 
5 class IEvent
6 {
7 
8 public:
9 
10  void Block()
11  {
12  Blocked = true;
13  }
14 
15  void Unblock()
16  {
17  Blocked = false;
18  }
19 
20  bool IsBlocked() const
21  {
22  return Blocked;
23  }
24 
25  virtual ~IEvent()
26  {}
27 
28 protected:
29 
31  : Blocked(false)
32  {}
33 
34 private:
35 
36  bool Blocked;
37 
38 };
bool IsBlocked() const
Definition: IEvent.h:20
IEvent()
Definition: IEvent.h:30
void Block()
Definition: IEvent.h:10
void Unblock()
Definition: IEvent.h:15
Definition: IEvent.h:5
virtual ~IEvent()
Definition: IEvent.h:25