MAK RTIspy API Documentation for HLA Evolved
 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

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)