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/NodeCores/Groups/Base/OSGChunkOverrideGroupBase.cpp

    r1032 r1039  
    335335 
    336336//! create a new instance of the class 
    337 ChunkOverrideGroupBase::ObjRefPtr 
     337ChunkOverrideGroupBase::ObjTransitPtr 
    338338ChunkOverrideGroupBase::create(void) 
    339339{ 
    340     ObjRefPtr pFC; 
     340    ObjTransitPtr pFC; 
    341341 
    342342    if(getClassType().getPrototype() != NullFC) 
    343343    { 
    344         pFC = boost::dynamic_pointer_cast<ChunkOverrideGroup>( 
     344        pFC = boost::dynamic_pointer_cast< ChunkOverrideGroup >( 
    345345            getClassType().getPrototype()->shallowCopy()); 
    346346    } 
     
    359359} 
    360360 
    361 FieldContainerRefPtr 
     361FieldContainerTransitPtr 
    362362ChunkOverrideGroupBase::shallowCopy(void) const 
    363363{ 
     
    366366    newPtr(returnValue, dynamic_cast<const ChunkOverrideGroup *>(this)); 
    367367 
    368     return FieldContainerRefPtr(returnValue); 
     368    return FieldContainerTransitPtr(returnValue); 
    369369} 
    370370