MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
assistant
assistantMsgQueue.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2008 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*******************************************************************************
6
** $RCSfile: assistantMsgQueue.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef assistantMsgQueue_H_
10
#define assistantMsgQueue_H_
11
15
16
#include <vlutil/vlList.h>
17
18
#include "
assistantMsgCbMgr.h
"
19
#include "
assistantMsg.h
"
20
27
class
DT_DLL_ASSISTANT
DtAssistantMsgQueue
28
{
29
30
public
:
31
33
DtAssistantMsgQueue
();
34
36
virtual
~
DtAssistantMsgQueue
();
37
39
virtual
void
addMsgCallback(
DtAssistantMsgKind
msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn,
40
void
*usr );
41
43
virtual
void
removeMsgCallback(
DtAssistantMsgKind
msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn,
44
void
*usr );
45
47
virtual
void
addMsg(
const
DtAssistantMsg
& msg,
int
compId );
48
51
virtual
void
beginProcessMsg();
52
55
virtual
void
finishProcessMsg();
56
58
virtual
const
DtAssistantMsg
* currMsg()
const
;
59
62
virtual
int
currentCompId()
const
;
63
64
private
:
65
67
DtAssistantMsgQueue
(
const
DtAssistantMsgQueue
& );
68
70
DtAssistantMsgQueue
& operator=(
const
DtAssistantMsgQueue
& );
71
72
protected
:
73
74
struct
DtAssistantMsgQueueItem
75
{
76
DtAssistantMsg
*
msg
;
77
int
compId
;
78
};
79
81
DtList
myMsgList
;
82
84
DtAssistantMsgQueueItem
*
myCurrMsgItem
;
85
87
DtAssistantMsgCbMgr
myMsgCbMgr
;
88
};
89
90
#endif
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)