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/Source/System/FieldContainer/Base/testFCPtrs.cpp

    r1030 r1039  
    1111 
    1212    // Test getting pointers 
    13     OSG::NodePtr node_ptr = OSG::Node::create(); 
     13    OSG::NodeGlobalRefPtr node_ptr = OSG::Node::create(); 
    1414#ifdef OSG_MT_FIELDCONTAINERPTRX 
    1515    OSG::Node* node_cptr = get_pointer(node_ptr); 
     
    1818#endif 
    1919     
    20     OSG::NodeRefPtr node_rptr(OSG::Node::create()); 
     20    OSG::NodeGlobalRefPtr node_rptr(OSG::Node::create()); 
    2121#ifdef OSG_MT_FIELDCONTAINERPTRX 
    2222    node_cptr = get_pointer(node_rptr);