- Timestamp:
- 05/05/08 07:12:19 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp
r1193 r1198 116 116 */ 117 117 118 /*! \var Window PtrClusterWindowBase::_sfClientWindow118 /*! \var Window * ClusterWindowBase::_sfClientWindow 119 119 Window for client rendering 120 120 */ … … 128 128 */ 129 129 130 /*! \var ImageComposer PtrClusterWindowBase::_sfComposer130 /*! \var ImageComposer * ClusterWindowBase::_sfComposer 131 131 132 132 */ … … 919 919 ClusterWindowTransitPtr fc; 920 920 921 if(getClassType().getPrototype() != N ullFC)921 if(getClassType().getPrototype() != NULL) 922 922 { 923 923 FieldContainerTransitPtr tmpPtr = … … 935 935 ClusterWindowTransitPtr fc; 936 936 937 if(getClassType().getPrototype() != N ullFC)937 if(getClassType().getPrototype() != NULL) 938 938 { 939 939 FieldContainerTransitPtr tmpPtr = … … 947 947 948 948 //! create an empty new instance of the class, do not copy the prototype 949 ClusterWindow PtrClusterWindowBase::createEmpty(void)950 { 951 ClusterWindow PtrreturnValue;949 ClusterWindow *ClusterWindowBase::createEmpty(void) 950 { 951 ClusterWindow *returnValue; 952 952 953 953 newPtr<ClusterWindow>(returnValue, Thread::getCurrentLocalFlags()); … … 959 959 } 960 960 961 ClusterWindow PtrClusterWindowBase::createEmptyLocal(BitVector bFlags)962 { 963 ClusterWindow PtrreturnValue;961 ClusterWindow *ClusterWindowBase::createEmptyLocal(BitVector bFlags) 962 { 963 ClusterWindow *returnValue; 964 964 965 965 newPtr<ClusterWindow>(returnValue, bFlags); … … 972 972 FieldContainerTransitPtr ClusterWindowBase::shallowCopy(void) const 973 973 { 974 ClusterWindow PtrtmpPtr;974 ClusterWindow *tmpPtr; 975 975 976 976 newPtr(tmpPtr, … … 988 988 BitVector bFlags) const 989 989 { 990 ClusterWindow PtrtmpPtr;990 ClusterWindow *tmpPtr; 991 991 992 992 newPtr(tmpPtr, dynamic_cast<const ClusterWindow *>(this), bFlags); … … 1013 1013 _sfServiceAddress (std::string("224.245.211.234")), 1014 1014 _sfServiceInterface (), 1015 _sfClientWindow (N ullFC),1015 _sfClientWindow (NULL), 1016 1016 _sfInterleave (UInt32(0)), 1017 1017 _sfFrameCount (UInt32(0)), 1018 _sfComposer (N ullFC),1018 _sfComposer (NULL), 1019 1019 _mfAutostart () 1020 1020 { … … 1031 1031 _sfServiceAddress (source._sfServiceAddress ), 1032 1032 _sfServiceInterface (source._sfServiceInterface ), 1033 _sfClientWindow (N ullFC),1033 _sfClientWindow (NULL), 1034 1034 _sfInterleave (source._sfInterleave ), 1035 1035 _sfFrameCount (source._sfFrameCount ), 1036 _sfComposer (N ullFC),1036 _sfComposer (NULL), 1037 1037 _mfAutostart (source._mfAutostart ) 1038 1038 { … … 1370 1370 1371 1371 #ifdef OSG_MT_CPTR_ASPECT 1372 FieldContainer PtrClusterWindowBase::createAspectCopy(void) const1373 { 1374 ClusterWindow PtrreturnValue;1372 FieldContainer *ClusterWindowBase::createAspectCopy(void) const 1373 { 1374 ClusterWindow *returnValue; 1375 1375 1376 1376 newAspectCopy(returnValue, … … 1385 1385 Inherited::resolveLinks(); 1386 1386 1387 static_cast<ClusterWindow *>(this)->setClientWindow(N ullFC);1388 1389 static_cast<ClusterWindow *>(this)->setComposer(N ullFC);1387 static_cast<ClusterWindow *>(this)->setClientWindow(NULL); 1388 1389 static_cast<ClusterWindow *>(this)->setComposer(NULL); 1390 1390 1391 1391 #ifdef OSG_MT_CPTR_ASPECT … … 1407 1407 1408 1408 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 1409 DataType FieldTraits<ClusterWindow Ptr>::_type("ClusterWindowPtr", "WindowPtr");1410 #endif 1411 1412 OSG_FIELDTRAITS_GETTYPE(ClusterWindow Ptr)1409 DataType FieldTraits<ClusterWindow *>::_type("ClusterWindowPtr", "WindowPtr"); 1410 #endif 1411 1412 OSG_FIELDTRAITS_GETTYPE(ClusterWindow *) 1413 1413 1414 1414 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 1415 ClusterWindow Ptr,1415 ClusterWindow *, 1416 1416 0); 1417 1417 1418 1418 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 1419 ClusterWindow Ptr,1419 ClusterWindow *, 1420 1420 0); 1421 1421
