Show
Ignore:
Timestamp:
01/16/08 16:07:40 (10 months 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/Cluster/Window/SortLast/OSGParallelComposerBase.cpp

    r1032 r1039  
    281281 
    282282//! create a new instance of the class 
    283 ParallelComposerBase::ObjRefPtr 
     283ParallelComposerBase::ObjTransitPtr 
    284284ParallelComposerBase::create(void) 
    285285{ 
    286     ObjRefPtr pFC; 
     286    ObjTransitPtr pFC; 
    287287 
    288288    if(getClassType().getPrototype() != NullFC) 
    289289    { 
    290         pFC = boost::dynamic_pointer_cast<ParallelComposer>( 
     290        pFC = boost::dynamic_pointer_cast< ParallelComposer >( 
    291291            getClassType().getPrototype()->shallowCopy()); 
    292292    } 
     
    305305} 
    306306 
    307 FieldContainerRefPtr 
     307FieldContainerTransitPtr 
    308308ParallelComposerBase::shallowCopy(void) const 
    309309{ 
     
    312312    newPtr(returnValue, dynamic_cast<const ParallelComposer *>(this)); 
    313313 
    314     return FieldContainerRefPtr(returnValue); 
     314    return FieldContainerTransitPtr(returnValue); 
    315315} 
    316316