MAK RTIspy API Documentation for HLA 1.3
popupMsgMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: popupMsgMgr.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef popupMsgMgr_H_
10 #define popupMsgMgr_H_
11 
14 
15 #include "rtiMsConfig.h"
16 #include "assistantMgr.h"
17 #include "assistantMsgQueue.h"
18 #include <vlutil/vlPrint.h>
19 
21 class DtRtiAssistantPeer;
26 
30 {
31  Q_OBJECT
32 
33 public:
34 
36  DtAssistantPopupMsgMgr( DtBoost::shared_ptr<DtRtiAssistantServer> server,
37  DtBoost::shared_ptr<DtRtiAssistantPeer> peer,
38  DtAssistantSignalRouter& signalRouter,
39  DtBoost::shared_ptr<DtAssistantComponentMgr> compMgr );
40 
42  virtual ~DtAssistantPopupMsgMgr();
43 
44 private:
45 
48 
51 
52 public:
53 
55  virtual void tick();
56 
57 protected:
58 
61 
62 
66  static void addPopupMsgToQueue( const DtAssistantPopupMsg& msg, void* usr);
67 
69  virtual void addPopupMsgToQueue( const DtAssistantPopupMsg& msg );
70 
72  static void processPopupMsg( const DtAssistantPopupMsg& msg, void* usr);
73 
75  virtual void processPopupMsg( const DtAssistantPopupMsg& msg );
76 
78 
79 public slots:
80 
82  void processPopupDismiss();
83 
85  void popup(const MAKRti::DtString& text, int sourceCompId,
86  const MAKRti::DtString& advancedText);
87 
89  void popup(const MAKRti::DtString& text,
90  const MAKRti::DtString& source, const MAKRti::DtString& advancedText);
91 
94  void displayPopupsAsNotifications( bool val );
95 
96 protected:
97 
102 
104  DtBoost::shared_ptr<DtAssistantComponentMgr> myCompMgr;
105 
109 
112 
113 };
114 
115 #endif

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)