- Timestamp:
- 12/19/07 17:56:03 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Cluster/Server/OSGClusterServer.cpp
r997 r1033 73 73 * <pre> 74 74 * // create a server 75 * GLUTWindow Ptr window=GLUTWindow::create();75 * GLUTWindowRefPtr window = GLUTWindow::create(); 76 76 * server = new ClusterServer(window,"server1","Multicast"); 77 77 * // wait for clients to connect … … 95 95 * 96 96 */ 97 ClusterServer::ClusterServer( WindowPtrwindow,97 ClusterServer::ClusterServer( WindowPtr window, 98 98 const std::string &serviceName, 99 99 const std::string &connectionType, … … 114 114 _interface("") 115 115 { 116 addRef(_window);117 116 char localhost[256]; 118 117 … … 120 119 if(_serviceName.empty()) 121 120 { 122 osgGetHostname(localhost, 255);121 osgGetHostname(localhost, 255); 123 122 _serviceName = localhost; 124 123 }
