ALBA
albaAgentEventHandler.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaAgentEventHandler
5 Authors: Marco Petrone
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaAgentEventHandler_h
18#define __albaAgentEventHandler_h
19
20#include "albaAgentEventQueue.h"
21
22//------------------------------------------------------------------------------
23// Forward declarations
24//------------------------------------------------------------------------------
25class albaWXEventHandler;
26
32{
33public:
35
36protected:
39
41 virtual void RequestForDispatching();
42
43 albaWXEventHandler *m_EventHandler;
44private:
45 albaAgentEventHandler(const albaAgentEventHandler&); // Not implemented.
46 void operator=(const albaAgentEventHandler&); // Not implemented.
47
48};
49
50
51#endif
albaAgentEventHandler - This class synchronizes events with wxWindows event pump.
albaTypeMacro(albaAgentEventHandler, albaAgentEventQueue)
virtual ~albaAgentEventHandler()
albaWXEventHandler * m_EventHandler
virtual void RequestForDispatching()
Internal function used to request the dispatching.
Base class for managing event queueing and synchronized dispatching.