- Timestamp:
- 10/20/07 18:11:52 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork/Source/Contrib/Manipulators/OSGRotateManipulatorFields.h
r969 r976 58 58 #include "OSGContribGUIDef.h" 59 59 60 #include "OSG ParentContainer.h"61 #include "OSG InternalRefPtr.h"60 #include "OSGReferenceCountPointer.h" 61 #include "OSGParentPointer.h" 62 62 63 63 #include "OSGManipulatorFields.h" 64 64 65 #include "OSGSFieldAdaptor.h" 66 #include "OSGMFieldAdaptor.h" 67 65 #include "OSGSPointerFieldAdapter.h" 66 #include "OSGMPointerFieldAdapter.h" 68 67 69 68 OSG_BEGIN_NAMESPACE 69 70 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles 71 //! RotateManipulatorPtr 70 72 71 73 class RotateManipulator; … … 73 75 OSG_GEN_CONTAINERPTR(RotateManipulator); 74 76 75 typedef RefPtr<RotateManipulator> RotateManipulatorRefPtr; 76 typedef MTRefPtr<RotateManipulator> RotateManipulatorMTRefPtr; 77 typedef RefCountPtrBuilder<RotateManipulator>::Ptr RotateManipulatorRefPtr; 78 typedef MTRefCountPtrBuilder<RotateManipulator>::Ptr RotateManipulatorMTRefPtr; 79 typedef WeakRefCountPtrBuilder<RotateManipulator>::Ptr RotateManipulatorWeakRefPtr; 80 typedef InternalRefCountPtrBuilder<RotateManipulator>::Ptr RotateManipulatorInternalRefPtr; 77 81 78 typedef InternalRefPtr<RotateManipulator> RotateManipulatorInternalRefPtr; 79 typedef InternalRefPtr<RotateManipulator> const RotateManipulatorInternalRefPtrConst; 80 typedef InternalRefPtr<RotateManipulator> const RotateManipulatorInternalRefPtrConstArg; 81 82 typedef PtrWrapper<RotateManipulator, 83 RotateManipulatorPtr> ParentRotateManipulatorPtr; 84 typedef PtrWrapper<RotateManipulator, 85 RotateManipulatorPtr> const ParentRotateManipulatorPtrConst; 86 87 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles 88 //! RotateManipulatorPtr 89 90 OSG_GEN_CONTAINERPTR(RotateManipulator); 82 typedef ParentPtrBuilder<RotateManipulator>::Ptr RotateManipulatorParentPtr; 91 83 92 84 #endif … … 100 92 101 93 template <> 102 struct FieldTraits<RotateManipulator Ptr> :103 public FieldTraitsFC PtrBase<RotateManipulatorPtr>94 struct FieldTraits<RotateManipulatorInternalRefPtr> : 95 public FieldTraitsFCReferenceCountPointerBase<RotateManipulatorInternalRefPtr> 104 96 { 105 97 private: 106 98 107 static DataType _type;99 static DataType _type; 108 100 109 101 public: 110 102 111 typedef FieldTraits<RotateManipulator Ptr> Self;103 typedef FieldTraits<RotateManipulatorInternalRefPtr> Self; 112 104 113 enum { Convertible = NotConvertible };105 enum { Convertible = NotConvertible }; 114 106 }; 115 107 116 #if !defined(OSG_DOC_DEV_TRAITS)117 /*! \class FieldTraitsTemplateBase<RotateManipulatorPtr, 0>118 \hideinhierarchy119 */120 #endif121 122 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)123 124 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)125 108 /*! \ingroup GrpContribGUIFieldTraits 126 109 */ … … 130 113 131 114 template <> 132 struct FieldTraits<RotateManipulator InternalRefPtr> :133 public FieldTraitsFC PtrBase<RotateManipulatorInternalRefPtr>115 struct FieldTraits<RotateManipulatorWeakRefPtr> : 116 public FieldTraitsFCReferenceCountPointerBase<RotateManipulatorWeakRefPtr> 134 117 { 135 118 private: 136 119 137 static DataType _type;120 static DataType _type; 138 121 139 122 public: 140 123 141 typedef FieldTraits<RotateManipulator InternalRefPtr> Self;124 typedef FieldTraits<RotateManipulatorWeakRefPtr> Self; 142 125 143 enum { Convertible = NotConvertible };126 enum { Convertible = NotConvertible }; 144 127 }; 145 128 146 #if !defined(OSG_DOC_DEV_TRAITS)147 /*! \class FieldTraitsTemplateBase<RotateManipulatorPtr, 0>148 \hideinhierarchy149 */150 #endif151 152 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)153 154 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)155 129 /*! \ingroup GrpContribGUIFieldTraits 156 130 */ … … 160 134 161 135 template <> 162 struct FieldTraits< ParentRotateManipulatorPtr> :163 public FieldTraitsFCP trBase<ParentRotateManipulatorPtr>136 struct FieldTraits<RotateManipulatorParentPtr> : 137 public FieldTraitsFCParentPointerBase<RotateManipulatorParentPtr> 164 138 { 165 139 private: 166 140 167 static DataType _type;141 static DataType _type; 168 142 169 143 public: 170 144 171 typedef FieldTraits< ParentRotateManipulatorPtr> Self;145 typedef FieldTraits<RotateManipulatorParentPtr> Self; 172 146 173 enum { Convertible = NotConvertible };147 enum { Convertible = NotConvertible }; 174 148 }; 175 149
