MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantPopupHelper.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantPopupHelper.h,v $ $Revision: 1.11 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtAssistantPopupHelper_H_
13 #define DtAssistantPopupHelper_H_
14 
15 #include <rtiMsConfig.h>
16 #include "rtiAssistantClient.h"
17 #include "assistantPrinter.h"
18 #include <popupHelper.h>
19 
20 
27 {
28 
29 protected:
30 
32  DtAssistantPopupHelper( const MAKRti::DtString& text, const MAKRti::DtString& advancedText );
33 
34 public:
35 
38  static void popupAssistantMessage(const MAKRti::DtString& text,
39  MAKRti::DtOutputStream& stream, const MAKRti::DtString& advancedText);
40  static void popupAssistantMessage(const MAKRti::DtString& text,
41  MAKRti::DtOutputStream& stream = MAKRti::DtWarn );
42 
44  virtual ~DtAssistantPopupHelper();
45 
49  static void setCreatorFunction( DtRtiAssistantClient* client );
50 
53  static void removeClientReference();
54 
57  static void setAssistantPrinter( DtAssistantPrinter* printer );
58 
60  static void removeAssistantPrinter();
61 
64  static void setPopupsDisabled(bool popupsDisabled);
65 
67  static bool popupsDisabled();
68 
69 
75  static void queuePopups();
76 
80  static void sendAllPopups(MAKRti::DtTime sleepTime=0.0);
81 
82 protected:
83 
86  virtual void sendPopupMessage( const MAKRti::DtString& message,
87  const MAKRti::DtString& advancedText );
88 
89 private:
90 
93 
97 
98 protected:
99 
102 
105 
107  static bool theQueuePopups;
108 
110  static bool thePopupsDisabled;
111 
114  static std::list<std::pair<MAKRti::DtString, MAKRti::DtString> > thePopupQueue;
115 
117  static MAKRti::DtMutex theMutex;
118 
119 };
120 
121 
122 
123 #endif
124 

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)