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 #include <Inventor/sys/port.h>
00024 #include <RemoteViz/Rendering/LibHelper.h>
00025
00026 #include <memory>
00027 #include <SoDeprecationRules.h>
00028
00029 namespace RemoteViz
00030 {
00031 namespace Rendering
00032 {
00033
00034 class NetworkPerformanceImpl;
00035
00064 class RENDERSERVICE_API NetworkPerformance
00065 {
00067 friend class ClientSettingsImpl;
00068 friend class ClientImpl;
00071 public:
00072
00074
00088 void enableCalibration(bool val);
00096 bool isCalibrationEnabled() const;
00098
00100
00108 void setMaxCalibrationDuration(unsigned int val);
00116 unsigned int getMaxCalibrationDuration() const;
00118
00120
00132 unsigned int getBandwidth() const;
00134
00136
00147 unsigned int getLatency() const;
00149
00150 private:
00152 std::shared_ptr<NetworkPerformanceImpl> getImpl() const;
00155 private:
00157 std::shared_ptr<NetworkPerformanceImpl> pImpl;
00158
00160 NetworkPerformance();
00161
00163 NetworkPerformance(const NetworkPerformance&) = delete;
00164 NetworkPerformance& operator= (const NetworkPerformance&) = delete;
00165
00166 };
00167 }
00168 }
00169