VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtAsynchronousEventQueue.h,v $ $Revision: 1.5 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtAsynchronousEventQueue_H_
14 #define DtAsynchronousEventQueue_H_
15 
16 #include <vrvUtil/vrvUtil.h>
19 
20 #include <boost/thread/tss.hpp>
21 
22 namespace makVrv
23 {
28  {
29  public:
30 
31  friend class DtMainEventQueue;
32 
35  void initializeInThread();
36 
38  static DtAsynchronousEventQueue* findThisThreadEventQueue();
39 
43  virtual void postEvent(const Event& signal);
44 
46 
47  virtual void processEvents();
51 
52  protected:
53 
56  virtual ~DtAsynchronousEventQueue();
57 
59 
60  void queueSharedEventList(SharedEventList sharedEvents);
63 
64  protected:
66 
67  };
68 }
69 
70 #endif
71 
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Contains makVrv::DtEventQueueInterface class.
DtLockedBufferedQueue< SharedEventList > myQueuedLists
Definition: DtAsynchronousEventQueue.h:65
boost::function< void(DtEventQueueInterface *) > Event
Definition: DtEventQueueInterface.h:32
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:29
The main event queue should live in the main application thread and is used to communicate events to ...
Definition: DtMainEventQueue.h:27
The asynchronous event queue.
Definition: DtAsynchronousEventQueue.h:27
DtBoost::shared_ptr< EventList > SharedEventList
Definition: DtEventQueueInterface.h:34

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)