Show
Ignore:
Timestamp:
01/16/08 16:07:40 (1 year ago)
Author:
cneumann
Message:

changed: - factory functions return a TransitPtr? that can not be implicitly

converted to C Ptr. Should help with porting.

added: - GlobalRefPtr?, needed for cases where upon return from main

a RefPtr? goes out of scope (it would attempt to access the
FCFactory which is already shutdown at that point).

status: - vrml loader does not compile (needs porting to ref ptr)

  • tutorials compile, run and exit cleanly
  • multithreading and cluster are untested, yet
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Tutorials/13ClusterClient.cpp

    r619 r1039  
    5959int main(int argc, char **argv) 
    6060{ 
    61     char     *opt; 
    62     NodePtr   scene=NullFC
     61    char              *opt; 
     62    NodeGlobalRefPtr   scene
    6363 
    6464    // OSG init 
     
    6969 
    7070    // the connection between this client and the servers 
    71     MultiDisplayWindowPtr mwin= MultiDisplayWindow::create(); 
     71    MultiDisplayWindowGlobalRefPtr mwin = MultiDisplayWindow::create(); 
    7272 
    7373    // evaluate params 
     
    199199        case 27:     
    200200        { 
     201            delete mgr; 
     202         
    201203            OSG::osgExit(); 
    202204            exit(0);