VR-Forces 4.8 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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
virtual
void
processEvents();
51
52
protected
:
53
55
DtAsynchronousEventQueue
();
56
virtual
~
DtAsynchronousEventQueue
();
57
59
60
void
queueSharedEventList(
SharedEventList
sharedEvents);
63
64
protected
:
65
DtLockedBufferedQueue< SharedEventList >
myQueuedLists
;
66
67
};
68
}
69
70
#endif
71
DT_DLL_VRVUTIL
#define DT_DLL_VRVUTIL
Definition:
vrvUtil.h:34
DtEventQueueInterface.h
Contains makVrv::DtEventQueueInterface class.
makVrv::DtAsynchronousEventQueue::myQueuedLists
DtLockedBufferedQueue< SharedEventList > myQueuedLists
Definition:
DtAsynchronousEventQueue.h:65
makVrv::DtEventQueueInterface::Event
boost::function< void(DtEventQueueInterface *) > Event
Definition:
DtEventQueueInterface.h:32
DtLockedBufferedQueue.h
Contains makVrv::DtLockedBufferedQueue class.
vrvUtil.h
Contains DLL export macros.
makVrv::DtEventQueueInterface
The event queue interface is a cross thread event queue used to emit event_signal across thread bound...
Definition:
DtEventQueueInterface.h:29
makVrv::DtLockedBufferedQueue< SharedEventList >
makVrv::DtMainEventQueue
The main event queue should live in the main application thread and is used to communicate events to ...
Definition:
DtMainEventQueue.h:27
makVrv::DtAsynchronousEventQueue
The asynchronous event queue.
Definition:
DtAsynchronousEventQueue.h:27
makVrv::DtEventQueueInterface::SharedEventList
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
)