Changeset 1198 for trunk/Source/System/Cluster/Base/OSGRemoteAspect.cpp
- Timestamp:
- 05/05/08 07:12:19 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Cluster/Base/OSGRemoteAspect.cpp
r1174 r1198 104 104 IdSetT::iterator i; 105 105 106 FieldContainer Ptr fcPtr;106 FieldContainer *fcPtr = NULL; 107 107 108 108 // subRef received field container … … 111 111 fcPtr = pFactory->getContainer(*i); 112 112 113 if(fcPtr != N ullFC)113 if(fcPtr != NULL) 114 114 { 115 115 callDestroyed(fcPtr); … … 124 124 fcPtr = pFactory->getContainer(*i); 125 125 126 if(fcPtr != N ullFC)126 if(fcPtr != NULL) 127 127 { 128 128 do … … 131 131 fcPtr = pFactory->getContainer(*i); 132 132 133 } while(fcPtr != N ullFC);133 } while(fcPtr != NULL); 134 134 } 135 135 } … … 230 230 UInt64 fullRemoteId = getFullRemoteId(remoteId); 231 231 232 FieldContainerUnrecPtr fcPtr(N ullFC);232 FieldContainerUnrecPtr fcPtr(NULL); 233 233 234 234 if(_localFC.find(fullRemoteId) == _localFC.end()) … … 283 283 { 284 284 // fprintf(stderr, "changed :%d \n", localId); 285 FieldContainer PtrfcPtr = factory->getContainer(localId);285 FieldContainer *fcPtr = factory->getContainer(localId); 286 286 287 287 fcPtr->copyFromBin(connection, mask); … … 321 321 // fprintf(stderr, "addref :%d \n", localId); 322 322 323 FieldContainer PtrfcPtr = factory->getContainer(localId);323 FieldContainer *fcPtr = factory->getContainer(localId); 324 324 325 325 FDEBUG(("AddRef: %s ID:%d\n", … … 344 344 // fprintf(stderr, "subref :%d \n", localId); 345 345 346 FieldContainer PtrfcPtr = factory->getContainer(localId);346 FieldContainer *fcPtr = factory->getContainer(localId); 347 347 348 348 FDEBUG(("SubRef: %s ID:%d\n", … … 418 418 FieldContainerFactory::the(); 419 419 420 FieldContainer Ptr fcPtr;420 FieldContainer *fcPtr = NULL; 421 421 UInt32 typeId; 422 422 BitVector mask; … … 446 446 fcPtr = fcFactory->getContainer((*changedI)->uiContainerId); 447 447 448 if((fcPtr == N ullFC) ||448 if((fcPtr == NULL ) || 449 449 (0x0000 == (fcPtr->getFieldFlags()->_bNamespaceMask & 450 450 FCLocal::Cluster )) ) … … 497 497 fcPtr = fcFactory->getContainer((*changedI)->uiContainerId); 498 498 499 if((fcPtr == N ullFC) ||499 if((fcPtr == NULL ) || 500 500 (0x0000 == (fcPtr->getFieldFlags()->_bNamespaceMask & 501 501 FCLocal::Cluster )) ) … … 673 673 */ 674 674 675 bool RemoteAspect::callCreated( const FieldContainerPtrfcp)675 bool RemoteAspect::callCreated(FieldContainer * const fcp) 676 676 { 677 677 bool result; … … 695 695 */ 696 696 697 bool RemoteAspect::callDestroyed( const FieldContainerPtrfcp)697 bool RemoteAspect::callDestroyed(FieldContainer * const fcp) 698 698 { 699 699 bool result; … … 717 717 */ 718 718 719 bool RemoteAspect::callChanged( const FieldContainerPtrfcp)719 bool RemoteAspect::callChanged(FieldContainer * const fcp) 720 720 { 721 721 bool result; … … 837 837 */ 838 838 839 bool RemoteAspect::_defaultCreatedFunction( const FieldContainerPtr &fcp,840 RemoteAspect *)839 bool RemoteAspect::_defaultCreatedFunction(FieldContainer * const fcp, 840 RemoteAspect * ) 841 841 { 842 842 FDEBUG(("Created:%s %d\n", … … 850 850 */ 851 851 852 bool RemoteAspect::_defaultDestroyedFunction( const FieldContainerPtr &fcp,853 RemoteAspect *)852 bool RemoteAspect::_defaultDestroyedFunction(FieldContainer * const fcp, 853 RemoteAspect * ) 854 854 { 855 855 FDEBUG(("Destroyed:%s %d\n", … … 863 863 */ 864 864 865 bool RemoteAspect::_defaultChangedFunction( const FieldContainerPtr &fcp,866 RemoteAspect *)865 bool RemoteAspect::_defaultChangedFunction(FieldContainer * const fcp, 866 RemoteAspect * ) 867 867 { 868 868 FDEBUG(("Changed:%s %d\n",
