Show
Ignore:
Timestamp:
12/19/07 17:56:03 (1 year ago)
Author:
cneumann
Message:

changed: generic interface activated
fixed: single parent unlinking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/Cluster/Server/OSGClusterServer.cpp

    r997 r1033  
    7373 * <pre> 
    7474 * // create a server 
    75  * GLUTWindowPtr window=GLUTWindow::create(); 
     75 * GLUTWindowRefPtr window = GLUTWindow::create(); 
    7676 * server = new ClusterServer(window,"server1","Multicast"); 
    7777 * // wait for clients to connect 
     
    9595 * 
    9696 */ 
    97 ClusterServer::ClusterServer(           WindowPtr  window, 
     97ClusterServer::ClusterServer(      WindowPtr       window, 
    9898                             const std::string    &serviceName, 
    9999                             const std::string    &connectionType, 
     
    114114    _interface("") 
    115115{ 
    116     addRef(_window); 
    117116    char localhost[256]; 
    118117 
     
    120119    if(_serviceName.empty()) 
    121120    { 
    122         osgGetHostname(localhost,255); 
     121        osgGetHostname(localhost, 255); 
    123122        _serviceName = localhost; 
    124123    }