VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)