VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtQueuedManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtQueuedManager.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCore/vrfGuiCore.h
>
17
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
19
#include <
vrvUtil/signalslib.h
>
20
#include <
vrvCore/DtDe.h
>
21
#include <
vrvUtil/DtLockedBufferedQueue.h
>
22
23
namespace
makVrf
24
{
26
class
DT_DLL_VRFGUICORE
DtQueuedManager
:
public
makVrv::DtVirtualBaseClass
27
{
28
public
:
29
DtQueuedManager
(
makVrv::DtDe
&);
30
virtual
~
DtQueuedManager
();
31
32
public
:
33
virtual
void
tick();
34
virtual
void
setActivated(
bool
);
35
36
protected
:
37
typedef
makVrv::DtLockedBufferedQueue<boost::function<void ()>
>
DtVrfBackendManagerCallQueue
;
38
typedef
std::vector<boost::function<void ()> >
DtVrfBackendManagerCallList
;
39
41
virtual
void
queueSimulationFunction(
const
boost::function<
void
()>&
function
);
42
44
virtual
void
runFunctionQueue(
DtVrfBackendManagerCallQueue
& queue);
45
46
protected
:
47
makVrv::DtDe
&
myDe
;
48
DtVrfBackendManagerCallQueue
myFunctionCallQueue
;
49
bool
myActivated
;
50
};
51
}
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
)