VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvUtil
DtMainEventQueue.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtMainEventQueue.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtMainEventQueue_H_
14
#define DtMainEventQueue_H_
15
16
#include <
vrvUtil/vrvUtil.h
>
17
#include <
vrvUtil/DtEventQueueInterface.h
>
18
19
namespace
makVrv
20
{
21
class
DtDe;
22
class
DtAsynchronousEventQueue;
23
28
class
DT_DLL_VRVUTIL
DtMainEventQueue
:
public
DtEventQueueInterface
29
{
30
public
:
32
DtMainEventQueue
();
33
35
virtual
~
DtMainEventQueue
();
36
39
virtual
void
postEvent(
const
Event
&
signal
);
40
42
virtual
void
processEvents();
43
47
DtAsynchronousEventQueue
* createAsynchronousEventQueue();
48
51
bool
destroyAsynchronousEventQueue(
DtAsynchronousEventQueue
* secondary);
52
53
protected
:
54
57
void
distributeEvents();
58
59
protected
:
60
typedef
std::vector<DtAsynchronousEventQueue*>
ThreadQueueList
;
61
ThreadQueueList
mySecondaryQueues
;
62
63
SharedEventList
myEventsToDistribute
;
64
};
65
}
66
67
#endif
68
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)