MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
28 {
29 
30 public:
31 
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 
68 
70  DtAssistantMsgQueue& operator=(const DtAssistantMsgQueue& );
71 
72 protected:
73 
75  {
77  int compId;
78  };
79 
81  DtList myMsgList;
82 
85 
88 };
89 
90 #endif
Definition: assistantMsgQueue.h:74
DtAssistantMsgKind
Definition: assistantMsg.h:52
Base class for assistant Messages.
Definition: assistantMsg.h:152
int compId
Definition: assistantMsgQueue.h:77
#define DT_DLL_ASSISTANT
_WIN32
Definition: rtiMsConfig.h:121
DtAssistantMsg * msg
Definition: assistantMsgQueue.h:76
DtList myMsgList
List of messages in the queue.
Definition: assistantMsgQueue.h:81
DtAssistantMsgQueueItem * myCurrMsgItem
The item in the queue currently being processed.
Definition: assistantMsgQueue.h:84
DtAssistantMsgCbMgr myMsgCbMgr
Callback manager.
Definition: assistantMsgQueue.h:87
DT_DLL_ASSISTANT DtMessageCallbackManager< DtAssistantMsg, DtAssistantMsgKind > DtAssistantMsgCbMgr
Definition: assistantMsgCbMgr.h:18
Maintains a queue of RTI Assistant messages.
Definition: assistantMsgQueue.h:27

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)