VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAsynchronousEventQueue.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtAsynchronousEventQueue_H_
11 #define DtAsynchronousEventQueue_H_
12 
13 #include <vrvUtil/vrvUtil.h>
16 
17 #include <boost/thread/tss.hpp>
18 
19 namespace makVrv
20 {
25  {
26  public:
27 
28  friend class DtMainEventQueue;
29 
32  void initializeInThread();
33 
35  static DtAsynchronousEventQueue* findThisThreadEventQueue();
36 
40  virtual void postEvent(const Event& signal);
41 
43 
44  virtual void processEvents();
48 
49  protected:
50 
53  virtual ~DtAsynchronousEventQueue();
54 
56 
57  void queueSharedEventList(SharedEventList sharedEvents);
60 
61  protected:
63 
64  };
65 }
66 
67 #endif
68 
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Contains makVrv::DtEventQueueInterface class.
DtLockedBufferedQueue< SharedEventList > myQueuedLists
Definition: DtAsynchronousEventQueue.h:62
boost::function< void(DtEventQueueInterface *) > Event
Definition: DtEventQueueInterface.h:30
Contains makVrv::DtLockedBufferedQueue class.
Contains DLL export macros.
The event queue interface is a cross thread event queue used to emit event_signal across thread bound...
Definition: DtEventQueueInterface.h:27
The main event queue should live in the main application thread and is used to communicate events to ...
Definition: DtMainEventQueue.h:24
The asynchronous event queue. To create an asynchronous event queue the the makVrv::DtMainEventQueue ...
Definition: DtAsynchronousEventQueue.h:24
std::shared_ptr< EventList > SharedEventList
Definition: DtEventQueueInterface.h:32

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)