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
00049 class RENDERSERVICE_API NetworkPerformance
00050 {
00052 friend class ClientSettingsImpl;
00053 friend class ClientImpl;
00056 public:
00057
00059
00069 void enableCalibration(bool val);
00077 bool isCalibrationEnabled() const;
00079
00081
00087 void setMaxCalibrationDuration(unsigned int val);
00094 unsigned int getMaxCalibrationDuration() const;
00096
00098
00106 unsigned int getBandwidth() const;
00108
00110
00118 unsigned int getLatency() const;
00120
00121 private:
00123 std::shared_ptr<NetworkPerformanceImpl> getImpl() const;
00126 private:
00128 std::shared_ptr<NetworkPerformanceImpl> pImpl;
00129
00131 NetworkPerformance();
00132
00133 };
00134 }
00135 }
00136