Changeset 1059
- Timestamp:
- 02/11/08 09:07:03 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Cluster/Base/OSGRemoteAspect.cpp
r1030 r1059 125 125 std::string name; 126 126 FieldContainerFactoryBase *factory = FieldContainerFactory::the(); 127 FieldContainerType *fcType; 128 FieldContainerPtr fcPtr; 127 FieldContainerType *fcType; 129 128 BitVector mask; 130 129 RemoteAspectFieldContainerMapper mapper; … … 134 133 UInt32 len; 135 134 135 std::vector<FieldContainerInternalRefPtr> newContainers; 136 136 137 if(_statistics) 137 138 { … … 201 202 202 203 fcType = factory->findType(localTypeId); 203 fcPtr = fcType->createContainer(); 204 FieldContainerInternalRefPtr fcPtr = 205 fcType->createContainer(); 204 206 207 newContainers.push_back(fcPtr); 208 205 209 // remove this node, when aspect is removed 206 210 _receivedFC.insert(getContainerId(fcPtr)); … … 230 234 if(getLocalId(remoteId, localId)) 231 235 { 232 fcPtr = factory->getContainer(localId);236 FieldContainerPtr fcPtr = factory->getContainer(localId); 233 237 234 238 fcPtr->copyFromBin(connection, mask); … … 266 270 if(getLocalId(remoteId, localId)) 267 271 { 268 fcPtr = factory->getContainer(localId);272 FieldContainerPtr fcPtr = factory->getContainer(localId); 269 273 270 274 FDEBUG(("RemoteAspect::receiveSync: AddExternalRef: %s ID:%d\n", … … 288 292 if(getLocalId(remoteId,localId)) 289 293 { 290 fcPtr = factory->getContainer(localId);294 FieldContainerPtr fcPtr = factory->getContainer(localId); 291 295 292 296 FDEBUG(("RemoteAspect::receiveSync: SubExternalRef: %s ID:%d\n",
