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
00035 #include <string>
00036
00037 namespace RemoteViz
00038 {
00039 namespace Rendering
00040 {
00041
00042 class RenderArea;
00043
00044 class Client;
00045
00046 class ConnectionParameters;
00047
00048 class NetworkPerformance;
00049
00050 class RenderAreaHardware;
00061 class RENDERSERVICE_API ServiceListener
00062 {
00063 public:
00067 virtual ~ServiceListener();
00098 virtual bool onPendingCreateRenderArea(const std::string& renderAreaId, unsigned int& width, unsigned int& height, RenderAreaHardware* renderAreaHardware, Client* client, ConnectionParameters *parameters);
00117 virtual bool onPendingShareRenderArea(RenderArea* renderArea, Client* client, ConnectionParameters *parameters);
00125 virtual void onInstantiatedRenderArea(RenderArea *renderArea);
00133 virtual void onDisposedRenderArea(const std::string& renderAreaId);
00145 virtual void onConnectedClient(const std::string& clientId, NetworkPerformance* networkPerformance);
00157 virtual void onInitializedClient(Client* client, NetworkPerformance* networkPerformance);
00165 virtual void onDisconnectedClient(const std::string& clientId);
00182 virtual void onMissingLicense(const std::string& renderAreaId, ConnectionParameters* parameters);
00196 virtual std::string onRequestedPrivateKeyPassphrase();
00197 };
00198 }
00199 }
00200