MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
preferencesInfoMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: preferencesInfoMgr.h,v $ $Revision: 1.19 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef preferencesInfoMgr_H_
10 #define preferencesInfoMgr_H_
11 
14 
15 #include "rtiMsConfig.h"
16 #include "assistantMgr.h"
18 #include "assistantInfo.h"
19 #include "assistantEnums.h"
20 
22 class DtRtiAssistantPeer;
23 class DtAssistantConfig;
29 class DtFilename;
31 class DtConsoleDialog;
33 
34 namespace MAKRti
35 {
36  class DtString;
37 }
38 
43 {
44  Q_OBJECT
45 
46 public:
47 
49  DtAssistantPreferencesInfoMgr( std::shared_ptr<DtRtiAssistantServer> server,
50  std::shared_ptr<DtRtiAssistantPeer> peer,
51  DtAssistantSignalRouter& signalRouter,
52  const MAKRti::DtFilename& configDir );
53 
56 
57 private:
58 
61 
64 
65 public:
66 
68  virtual void initialize();
69 
71  virtual void startShutdown();
72 
74  virtual bool isConfigFileVersionOld() const;
75 
77 
78  virtual unsigned int logUpdateInterval() const;
79  virtual bool keepAlive() const;
80  virtual bool sendForeignQuery() const;
81  virtual unsigned int latencyTestInteractionPeriodMs() const;
82  virtual unsigned int latencyTestNumInteractions() const;
83  virtual unsigned int latencyTestPayloadBytes() const;
84  virtual bool displayPopupsAsNotifications() const;
85  virtual bool enableNotifications() const;
86  virtual unsigned int lightweightMemorySec() const;
87  virtual float defunctFederateRemovalTimeSec() const;
88  virtual unsigned int assistantUpdateIntervalSec() const;
89  virtual unsigned int lrcNetStatsUpdateIntervalSec() const;
90  virtual bool showRtiexecStartupPrompt() const;
91  virtual bool acceptRemoteCommands() const;
92  virtual bool assistantPersistent() const;
93  virtual bool defaultToUnlicensed() const;
94  virtual float warningTickInterval() const;
95  virtual bool displayRemoteNotifications() const;
96  virtual bool displayFederationColors() const;
97  virtual unsigned int federateIdentifier() const;
99 
100 signals:
101 
103 
104  void logUpdateIntervalUpdated( unsigned int );
105  void keepAliveUpdated( bool );
106  void sendForeignQueryUpdated( bool );
107  void latencyTestInteractionPeriodMsUpdated( unsigned int );
108  void latencyTestNumInteractionsUpdated( unsigned int );
109  void latencyTestPayloadBytesUpdated( unsigned int );
110  void displayPopupsAsNotificationsUpdated( bool );
111  void enableNotificationsUpdated( bool );
112  void lightweightMemorySecUpdated( unsigned int );
113  void defunctFederateRemovalTimeSecUpdated( float );
114  void assistantUpdateIntervalSecUpdated( unsigned int );
115  void lrcNetStatsUpdateIntervalSecUpdated( unsigned int );
116  void showRtiexecStartupPromptUpdated( bool );
117  void acceptRemoteCommandsUpdated( bool );
118  void assistantPersistentUpdated( bool );
119  void defaultToUnlicensedUpdated( bool );
120  void warningTickIntervalUpdated( float );
121  void displayRemoteNotificationsUpdated( bool );
122  void displayFederationColorsUpdated( bool );
123  void federateIdentifierUpdated( unsigned int );
125 
126 public slots:
127 
129  void savePreferences();
130 
132 
133  void setLogUpdateInterval( unsigned int );
134  void setKeepAlive( bool );
135  void setSendForeignQuery( bool );
136  void setLatencyTestInteractionPeriodMs( unsigned int );
137  void setLatencyTestNumInteractions( unsigned int );
138  void setLatencyTestPayloadBytes( unsigned int );
139  void setDisplayPopupsAsNotifications( bool );
140  void setEnableNotifications( bool );
141  void setLightweightMemorySec( unsigned int );
142  void setDefunctFederateRemovalTimeSec( float );
143  void setAssistantUpdateIntervalSec( unsigned int );
144  void setLrcNetStatsUpdateIntervalSec( unsigned int );
145  void setShowRtiexecStartupPrompt( bool );
146  void setAcceptRemoteCommands( bool );
147  void setAssistantPersistent( bool );
148  void setDefaultToUnlicensed( bool );
149  void setWarningTickInterval( float );
150  void setDisplayRemoteNotifications( bool );
151  void setDisplayFederationColors( bool );
152  void setFederateIdentifier( unsigned int );
154 
155 protected:
156 
158  std::shared_ptr<DtAssistantConfig> myConfig;
159 };
160 #endif
This file contains the declaration of DtAssistantInfo.
Dialog to hold a DtConsoleWidget.
Definition: consoleWidget.h:176
At startup all of the assistant manager classes will register their signals and slots with the signal...
Definition: assistantSignalRouter.h:29
This file contains the declaration of DtRtiConnectionInfo.
Widget which allows the user to change the configuration of the latency test.
Definition: latencyTestConfigWidget.h:23
Stores the Assistant configuration information and handles saving and loading this information from a...
Definition: assistantConfig.h:38
virtual void startShutdown()
Performs any necessary processing at the start of shutdown.
Definition: assistantMgr.h:62
std::shared_ptr< DtAssistantConfig > myConfig
The current Assistant configuration.
Definition: preferencesInfoMgr.h:158
Widget which allows a user to change the Assistant preferences for logging and display of notificatio...
Definition: notificationAndLoggingConfigWidget.h:20
Provides the GUI for a console which displays the contents of a log file.
Definition: fileConsoleWidget.h:27
virtual void initialize()
Initializes this manager just prior to beginning assistant processing.
Definition: assistantMgr.h:56
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!
Qt dialog which allows a user to change the Assistant configuration.
Definition: assistantConfigDialog.h:27
Manages the current assistant preferences and displays the preferences dialog when required...
Definition: preferencesInfoMgr.h:42
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
Processes information on each local RTI component that is connected to this Assistant.
Definition: componentMgr.h:38
Dialog to display the current assistant message statistics.
Definition: assistantMsgStatsDialog.h:18

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)