Show
Ignore:
Timestamp:
05/05/08 07:12:19 (3 months ago)
Author:
vossg
Message:

changed: interface cleanup, removed ptr typedefs, nullfc

these will be needed for the 1.x compat stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Cluster/Base/OSGRemoteAspect.cpp

    r1174 r1198  
    104104    IdSetT::iterator           i; 
    105105 
    106     FieldContainerPtr       fcPtr
     106    FieldContainer            *fcPtr = NULL
    107107 
    108108    // subRef received field container 
     
    111111        fcPtr = pFactory->getContainer(*i); 
    112112 
    113         if(fcPtr != NullFC
     113        if(fcPtr != NULL
    114114        { 
    115115            callDestroyed(fcPtr); 
     
    124124        fcPtr = pFactory->getContainer(*i); 
    125125 
    126         if(fcPtr != NullFC
     126        if(fcPtr != NULL
    127127        { 
    128128            do 
     
    131131                fcPtr = pFactory->getContainer(*i); 
    132132 
    133             } while(fcPtr != NullFC); 
     133            } while(fcPtr != NULL); 
    134134        } 
    135135    } 
     
    230230                    UInt64 fullRemoteId = getFullRemoteId(remoteId); 
    231231 
    232                     FieldContainerUnrecPtr fcPtr(NullFC); 
     232                    FieldContainerUnrecPtr fcPtr(NULL); 
    233233 
    234234                    if(_localFC.find(fullRemoteId) == _localFC.end()) 
     
    283283                { 
    284284//                    fprintf(stderr, "changed :%d \n", localId); 
    285                     FieldContainerPtr fcPtr = factory->getContainer(localId); 
     285                    FieldContainer *fcPtr = factory->getContainer(localId); 
    286286                     
    287287                    fcPtr->copyFromBin(connection, mask); 
     
    321321//                    fprintf(stderr, "addref :%d \n", localId); 
    322322 
    323                     FieldContainerPtr fcPtr = factory->getContainer(localId); 
     323                    FieldContainer *fcPtr = factory->getContainer(localId); 
    324324 
    325325                    FDEBUG(("AddRef: %s ID:%d\n",  
     
    344344//                    fprintf(stderr, "subref :%d \n", localId); 
    345345 
    346                     FieldContainerPtr fcPtr = factory->getContainer(localId); 
     346                    FieldContainer *fcPtr = factory->getContainer(localId); 
    347347 
    348348                    FDEBUG(("SubRef: %s ID:%d\n",  
     
    418418        FieldContainerFactory::the(); 
    419419 
    420     FieldContainerPtr                   fcPtr
     420    FieldContainer                     *fcPtr = NULL
    421421    UInt32                              typeId; 
    422422    BitVector                           mask; 
     
    446446        fcPtr = fcFactory->getContainer((*changedI)->uiContainerId); 
    447447 
    448         if((fcPtr  == NullFC                                     ) ||  
     448        if((fcPtr  == NULL                                     ) ||  
    449449           (0x0000 == (fcPtr->getFieldFlags()->_bNamespaceMask &  
    450450                       FCLocal::Cluster                         ))  ) 
     
    497497        fcPtr = fcFactory->getContainer((*changedI)->uiContainerId); 
    498498 
    499         if((fcPtr  == NullFC                                     ) ||  
     499        if((fcPtr  == NULL                                      ) ||  
    500500           (0x0000 == (fcPtr->getFieldFlags()->_bNamespaceMask &  
    501501                       FCLocal::Cluster                         ))  ) 
     
    673673 */ 
    674674 
    675 bool RemoteAspect::callCreated(const FieldContainerPtr fcp) 
     675bool RemoteAspect::callCreated(FieldContainer * const fcp) 
    676676{ 
    677677    bool    result; 
     
    695695 */ 
    696696 
    697 bool RemoteAspect::callDestroyed(const FieldContainerPtr fcp) 
     697bool RemoteAspect::callDestroyed(FieldContainer * const fcp) 
    698698{ 
    699699    bool    result; 
     
    717717 */ 
    718718 
    719 bool RemoteAspect::callChanged(const FieldContainerPtr fcp) 
     719bool RemoteAspect::callChanged(FieldContainer * const fcp) 
    720720{ 
    721721    bool    result; 
     
    837837 */ 
    838838 
    839 bool RemoteAspect::_defaultCreatedFunction(const FieldContainerPtr &fcp,  
    840                                                  RemoteAspect      *   ) 
     839bool RemoteAspect::_defaultCreatedFunction(FieldContainer * const fcp,  
     840                                           RemoteAspect   *          ) 
    841841{ 
    842842    FDEBUG(("Created:%s %d\n",  
     
    850850 */ 
    851851 
    852 bool RemoteAspect::_defaultDestroyedFunction(const FieldContainerPtr &fcp, 
    853                                                    RemoteAspect      *
     852bool RemoteAspect::_defaultDestroyedFunction(FieldContainer * const fcp, 
     853                                             RemoteAspect   *         
    854854{ 
    855855    FDEBUG(("Destroyed:%s %d\n", 
     
    863863 */ 
    864864 
    865 bool RemoteAspect::_defaultChangedFunction(const FieldContainerPtr &fcp, 
    866                                                  RemoteAspect      *
     865bool RemoteAspect::_defaultChangedFunction(FieldContainer * const fcp, 
     866                                           RemoteAspect   *         
    867867{ 
    868868    FDEBUG(("Changed:%s %d\n",