MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (
www.mak.com
)