00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #pragma once
00022
00023 #if defined( _WIN32 ) || defined( __WIN32__ )
00024 #if !defined( RemoteVizServices_EXPORTS )
00025 #if _DEBUG
00026 #pragma comment(lib,"RemoteVizServicesD")
00027 #else
00028 #pragma comment(lib,"RemoteVizServices")
00029 #endif
00030 #endif
00031 #endif
00032
00033 #include <Inventor/sys/port.h>
00034 #include <memory>
00035 #include <SoDeprecationRules.h>
00036
00037 namespace RemoteViz
00038 {
00039 namespace Rendering
00040 {
00041
00042 class NetworkPerformanceImpl;
00043
00055 class RENDERSERVICE_API NetworkPerformance
00056 {
00058 friend class ClientSettingsImpl;
00059 friend class ClientImpl;
00062 public:
00063
00065
00075 void enableCalibration(bool val);
00083 bool isCalibrationEnabled() const;
00085
00087
00093 void setMaxCalibrationDuration(unsigned int val);
00100 unsigned int getMaxCalibrationDuration() const;
00102
00104
00112 unsigned int getBandwidth() const;
00114
00116
00124 unsigned int getLatency() const;
00126
00127 private:
00129 std::shared_ptr<NetworkPerformanceImpl> getImpl() const;
00132 private:
00134 std::shared_ptr<NetworkPerformanceImpl> pImpl;
00135
00137 NetworkPerformance();
00138
00140 NetworkPerformance(const NetworkPerformance&) = delete;
00141 NetworkPerformance& operator= (const NetworkPerformance&) = delete;
00142
00143 };
00144 }
00145 }
00146