MAK RTIspy API Documentation for HLA Evolved
preferencesInfoMgr.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: preferencesInfoMgr.h,v $ $Revision: 1.19 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #ifndef preferencesInfoMgr_H_
00010 #define preferencesInfoMgr_H_
00011 
00014 
00015 #include "rtiMsConfig.h"
00016 #include "assistantMgr.h"
00017 #include "assistantConnectionInfo.h"
00018 #include "assistantInfo.h"
00019 
00020 class DtRtiAssistantServer;
00021 class DtRtiAssistantPeer;
00022 class DtAssistantConfig;
00023 class DtAssistantComponentMgr;
00024 class DtAssistantConfigDialog;
00025 class DtLatencyTestConfigWidget;
00026 class DtAssistantPreferencesWidget;
00027 class DtNotificationAndLoggingConfigWidget;
00028 class DtAssistantMsgStatsDialog;
00029 class MAKRti::DtString;
00030 class DtFilename;
00031 class DtFileConsoleWidget;
00032 class DtConsoleDialog;
00033 
00037 class DT_DLL_ASSISTANTAPP DtAssistantPreferencesInfoMgr : public DtAssistantMgr
00038 {
00039    Q_OBJECT
00040 
00041 public:
00042 
00044    DtAssistantPreferencesInfoMgr( DtBoost::shared_ptr<DtRtiAssistantServer> server,
00045       DtBoost::shared_ptr<DtRtiAssistantPeer> peer, const MAKRti::DtFilename& configDir );
00046 
00048    virtual ~DtAssistantPreferencesInfoMgr();
00049 
00050 private:
00051 
00053    DtAssistantPreferencesInfoMgr(DtAssistantPreferencesInfoMgr const& );
00054 
00056    DtAssistantPreferencesInfoMgr& operator= (DtAssistantPreferencesInfoMgr const& );
00057 
00058 public:
00059 
00061    virtual void startShutdown();
00062 
00064    virtual bool isConfigFileVersionOld() const;
00065 
00067    void savePreferences();
00068 
00070 
00071    virtual unsigned int logUpdateInterval() const;
00072    virtual bool keepAlive() const;
00073    virtual bool showViewLogPrompt() const;
00074    virtual bool alwaysViewLog() const;
00075    virtual unsigned int latencyTestInteractionPeriodMs() const;
00076    virtual unsigned int latencyTestNumInteractions() const;
00077    virtual unsigned int latencyTestPayloadBytes() const;
00078    virtual bool displayPopupsAsNotifications() const;
00079    virtual bool enableNotifications() const;
00080    virtual bool enableLoopbackDevice() const;
00081    virtual unsigned int lightweightMemorySec() const;
00082    virtual float defunctFederateRemovalTimeSec() const;
00083    virtual unsigned int assistantUpdateIntervalSec() const;
00084    virtual bool showRtiexecStartupPrompt() const;
00085    virtual bool acceptRemoteCommands() const;
00086    virtual bool assistantPersistent() const;
00087    virtual bool defaultToUnlicensed() const;
00088    virtual float warningTickInterval() const;
00089    virtual bool displayRemoteNotifications() const;
00091 
00092 signals:
00093 
00095 
00096    void logUpdateIntervalUpdated( unsigned int );
00097    void keepAliveUpdated( bool );
00098    void showViewLogPromptUpdated( bool );
00099    void alwaysViewLogUpdated( bool );
00100    void latencyTestInteractionPeriodMsUpdated( unsigned int );
00101    void latencyTestNumInteractionsUpdated( unsigned int );
00102    void latencyTestPayloadBytesUpdated( unsigned int );
00103    void displayPopupsAsNotificationsUpdated( bool );
00104    void enableNotificationsUpdated( bool );
00105    void enableLoopbackDeviceUpdated( bool );
00106    void lightweightMemorySecUpdated( unsigned int );
00107    void defunctFederateRemovalTimeSecUpdated( float );
00108    void assistantUpdateIntervalSecUpdated( unsigned int );
00109    void showRtiexecStartupPromptUpdated( bool );
00110    void acceptRemoteCommandsUpdated( bool );
00111    void assistantPersistentUpdated( bool );
00112    void defaultToUnlicensedUpdated( bool );
00113    void warningTickIntervalUpdated( float );
00114    void displayRemoteNotificationsUpdated( bool );
00116 
00117 public slots:
00118 
00120 
00121    void setLogUpdateInterval( unsigned int );
00122    void setKeepAlive( bool );
00123    void setShowViewLogPrompt( bool );
00124    void setAlwaysViewLog( bool );
00125    void setLatencyTestInteractionPeriodMs( unsigned int );
00126    void setLatencyTestNumInteractions( unsigned int );
00127    void setLatencyTestPayloadBytes( unsigned int );
00128    void setDisplayPopupsAsNotifications( bool );
00129    void setEnableNotifications( bool );
00130    void setEnableLoopbackDevice( bool );
00131    void setLightweightMemorySec( unsigned int );
00132    void setDefunctFederateRemovalTimeSec( float );
00133    void setAssistantUpdateIntervalSec( unsigned int );
00134    void setShowRtiexecStartupPrompt( bool );
00135    void setAcceptRemoteCommands( bool );
00136    void setAssistantPersistent( bool );
00137    void setDefaultToUnlicensed( bool );
00138    void setWarningTickInterval( float );
00139    void setDisplayRemoteNotifications( bool );
00141 
00142 protected:
00143 
00145    DtBoost::shared_ptr<DtAssistantConfig> myConfig;
00146 };
00147 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)