MAK RTIspy API Documentation for HLA 1.3
 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( DtBoost::shared_ptr<DtRtiAssistantServer> server,
50  DtBoost::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 unsigned int latencyTestInteractionPeriodMs() const;
81  virtual unsigned int latencyTestNumInteractions() const;
82  virtual unsigned int latencyTestPayloadBytes() const;
83  virtual bool displayPopupsAsNotifications() const;
84  virtual bool enableNotifications() const;
85  virtual unsigned int lightweightMemorySec() const;
86  virtual float defunctFederateRemovalTimeSec() const;
87  virtual unsigned int assistantUpdateIntervalSec() const;
88  virtual unsigned int lrcNetStatsUpdateIntervalSec() const;
89  virtual bool showRtiexecStartupPrompt() const;
90  virtual bool acceptRemoteCommands() const;
91  virtual bool assistantPersistent() const;
92  virtual bool defaultToUnlicensed() const;
93  virtual float warningTickInterval() const;
94  virtual bool displayRemoteNotifications() const;
95  virtual bool displayFederationColors() const;
96  virtual unsigned int federateIdentifier() const;
98 
99 signals:
100 
102 
103  void logUpdateIntervalUpdated( unsigned int );
104  void keepAliveUpdated( bool );
105  void latencyTestInteractionPeriodMsUpdated( unsigned int );
106  void latencyTestNumInteractionsUpdated( unsigned int );
107  void latencyTestPayloadBytesUpdated( unsigned int );
108  void displayPopupsAsNotificationsUpdated( bool );
109  void enableNotificationsUpdated( bool );
110  void lightweightMemorySecUpdated( unsigned int );
111  void defunctFederateRemovalTimeSecUpdated( float );
112  void assistantUpdateIntervalSecUpdated( unsigned int );
113  void lrcNetStatsUpdateIntervalSecUpdated( unsigned int );
114  void showRtiexecStartupPromptUpdated( bool );
115  void acceptRemoteCommandsUpdated( bool );
116  void assistantPersistentUpdated( bool );
117  void defaultToUnlicensedUpdated( bool );
118  void warningTickIntervalUpdated( float );
119  void displayRemoteNotificationsUpdated( bool );
120  void displayFederationColorsUpdated( bool );
121  void federateIdentifierUpdated( unsigned int );
123 
124 public slots:
125 
127  void savePreferences();
128 
130 
131  void setLogUpdateInterval( unsigned int );
132  void setKeepAlive( bool );
133  void setLatencyTestInteractionPeriodMs( unsigned int );
134  void setLatencyTestNumInteractions( unsigned int );
135  void setLatencyTestPayloadBytes( unsigned int );
136  void setDisplayPopupsAsNotifications( bool );
137  void setEnableNotifications( bool );
138  void setLightweightMemorySec( unsigned int );
139  void setDefunctFederateRemovalTimeSec( float );
140  void setAssistantUpdateIntervalSec( unsigned int );
141  void setLrcNetStatsUpdateIntervalSec( unsigned int );
142  void setShowRtiexecStartupPrompt( bool );
143  void setAcceptRemoteCommands( bool );
144  void setAssistantPersistent( bool );
145  void setDefaultToUnlicensed( bool );
146  void setWarningTickInterval( float );
147  void setDisplayRemoteNotifications( bool );
148  void setDisplayFederationColors( bool );
149  void setFederateIdentifier( unsigned int );
151 
152 protected:
153 
155  DtBoost::shared_ptr<DtAssistantConfig> myConfig;
156 };
157 #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)