VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvUtil
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
>
17
#include <
vrvUtil/DtLockedBufferedQueue.h
>
18
#include <
vrvUtil/DtEventQueueInterface.h
>
19
20
#include <boost/thread/tss.hpp>
21
22
namespace
makVrv
23
{
27
class
DT_DLL_VRVUTIL
DtAsynchronousEventQueue
:
public
DtEventQueueInterface
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
48
49
virtual
void
processEvents();
51
52
protected
:
53
55
DtAsynchronousEventQueue
();
56
~
DtAsynchronousEventQueue
();
57
59
60
61
void
queueSharedEventList(
SharedEventList
sharedEvents);
63
64
protected
:
65
DtLockedBufferedQueue< SharedEventList >
myQueuedLists
;
66
67
};
68
}
69
70
#endif
71
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)