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
00036 namespace RemoteViz
00037 {
00038 namespace Rendering
00039 {
00040
00041 class ClientSettingsImpl;
00042 class Client;
00043
00055 class RENDERSERVICE_API ClientSettings
00056 {
00057
00059 friend class ClientImpl;
00060 friend class ConnectionImpl;
00061 friend class ServiceImpl;
00064 public:
00065
00067
00077 void setBandwidth(unsigned int val);
00088 unsigned int getBandwidth() const;
00090
00091 private:
00094 std::shared_ptr<ClientSettingsImpl> getImpl() const;
00097 private:
00099 ClientSettings(Client* client);
00100
00102 ClientSettings(const ClientSettings&) = delete;
00103 ClientSettings& operator= (const ClientSettings&) = delete;
00104
00106 std::shared_ptr<ClientSettingsImpl> pImpl;
00107 };
00108
00109 }
00110 }
00111