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
00025 #include <RemoteViz/Rendering/FrameEncoders.h>
00026 #include <SoDeprecationRules.h>
00027
00028 #include <memory>
00029
00030 namespace RemoteViz
00031 {
00032 namespace Rendering
00033 {
00034
00035 class IFrameEncodingPolicy;
00036 class ConnectionSettingsImpl;
00051 class RENDERSERVICE_API ConnectionSettings
00052 {
00053
00055 friend class ConnectionImpl;
00058 public:
00059
00060 #if 1 SoDEPRECATED
00073 void setMaxFPS(unsigned int value);SoDEPRECATED
00082 unsigned int getMaxFPS() const;
00084
00085 #endif
00096 void setKeepAliveTimeOut(unsigned int value);
00097
00105 unsigned int getKeepAliveTimeOut() const;
00107
00109
00115 std::shared_ptr<const FrameEncoders> getFrameEncoders() const;
00116
00124 bool isSupportedEncoders(std::shared_ptr<const FrameEncoders> frameEncoders) const;
00126
00128
00138 void setFrameEncodingPolicy(std::shared_ptr<IFrameEncodingPolicy> policy);
00140
00141
00142 private:
00145 std::shared_ptr<ConnectionSettingsImpl> getImpl() const;
00148 private:
00150 ConnectionSettings();
00151
00153 ConnectionSettings(const ConnectionSettings&) = delete;
00154 ConnectionSettings& operator= (const ConnectionSettings&) = delete;
00155
00157 std::shared_ptr<ConnectionSettingsImpl> pImpl;
00158 };
00159
00160 }
00161 }
00162