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/FileIO/OSB/OSGNFIOName.cpp

    r785 r1039  
    9393\*-------------------------------------------------------------------------*/ 
    9494 
    95 FieldContainerPtr NFIOName::readFC(const std::string &/*typeName*/) 
     95FieldContainerTransitPtr NFIOName::readFC(const std::string &/*typeName*/) 
    9696{ 
    9797    FDEBUG(("NFIOName::readFC\n")); 
    9898 
    99     NamePtr name = Name::create(); 
     99    NameRefPtr name = Name::create(); 
    100100 
    101101    UInt8 fcPtrType; 
     
    134134    } 
    135135 
    136     return name
     136    return FieldContainerTransitPtr(name)
    137137} 
    138138