MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
DtAssistantMsgQueue myPopupMsgQueue
The queue which holds messages which will produce popup dialogs.
Definition: popupMsgMgr.h:101
The DtAssistantPopupMsg defines a wrapper for the RTI Assistant Popup message used to send informatio...
Definition: assistantPopupMsg.h:33
At startup all of the assistant manager classes will register their signals and slots with the signal...
Definition: assistantSignalRouter.h:29
Dialog widget to display important notifications and events by the RTI Assistant. ...
Definition: popupDialog.h:23
DtAssistantPopupDialog * myPopupDialog
The dialog used to display popup messages.
Definition: popupMsgMgr.h:111
Base class for all classes which perform management activities for the Assistant. ...
Definition: assistantMgr.h:31
This file contains the declaration of DtAssistantMgr.
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
Manages the server connections of the RTI Assistant.
Definition: rtiAssistantServer.h:45
DtAssistantMgr & operator=(DtAssistantMgr const &)
Assignment not implemented – Assignment Not Allowed!
bool myDisplayPopupsAsNotifications
Whether all messages should be displayed as notification instead of in a popup dialog.
Definition: popupMsgMgr.h:108
virtual void tick()
Performs tasks that need to be completed periodically.
Definition: assistantMgr.h:59
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:122
DtBoost::shared_ptr< DtAssistantComponentMgr > myCompMgr
The manager that keeps track of all local RTI components.
Definition: popupMsgMgr.h:104
This file contains the declaration of DtAssistantMsgQueue.
Maintains a queue of RTI Assistant messages.
Definition: assistantMsgQueue.h:27
Processes popup messages from RTI components.
Definition: popupMsgMgr.h:29
Processes information on each local RTI component that is connected to this Assistant.
Definition: componentMgr.h:38

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)