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