Changeset 1016 for branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSepiaComposerBase.h
- Timestamp:
- 11/14/07 17:11:26 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSepiaComposerBase.h
r862 r1016 77 77 class OSG_CLUSTER_DLLMAPPING SepiaComposerBase : public ImageComposer 78 78 { 79 /*========================== PUBLIC =================================*/ 79 80 public: 80 81 /*---------------------------------------------------------------------*/ 82 /*! \name Public Types */ 83 /*! \{ */ 84 81 85 typedef ImageComposer Inherited; 82 86 typedef ImageComposer ParentContainer; … … 84 88 typedef Inherited::TypeObject TypeObject; 85 89 typedef TypeObject::InitPhase InitPhase; 86 87 OSG_GEN_INTERNALPTR(SepiaComposer); 88 89 /*========================== PUBLIC =================================*/ 90 91 public: 92 93 94 /*---------------------------------------------------------------------*/ 95 /*! \name Class Get */ 90 91 92 typedef SepiaComposer * ObjPtr; 93 typedef SepiaComposer const * ObjConstPtr; 94 typedef SepiaComposer * const ObjPtrConst; 95 typedef SepiaComposer const * const ObjConstPtrConst; 96 97 typedef WeakRefCountPtrBuilder<SepiaComposer>::Ptr ObjWeakRefPtr; 98 typedef MTRefCountPtrBuilder <SepiaComposer>::Ptr ObjMTRefPtr; 99 typedef RefCountPtrBuilder <SepiaComposer>::Ptr ObjRefPtr; 100 typedef ParentPtrBuilder <SepiaComposer>::Ptr ObjParentPtr; 101 102 /*! \} */ 103 /*---------------------------------------------------------------------*/ 104 /*! \name Constants */ 105 /*! \{ */ 106 107 /*! \} */ 108 /*---------------------------------------------------------------------*/ 109 /*! \name Class Get */ 96 110 /*! \{ */ 97 111 … … 102 116 /*! \} */ 103 117 /*---------------------------------------------------------------------*/ 104 /*! \name FieldContainer Get*/105 /*! \{ */ 106 107 virtual FieldContainerType&getType (void);108 virtual const FieldContainerType&getType (void) const;109 110 virtual UInt32getContainerSize(void) const;111 112 /*! \} */ 113 /*---------------------------------------------------------------------*/ 114 /*! \name Binary Access*/118 /*! \name FieldContainer Get */ 119 /*! \{ */ 120 121 virtual FieldContainerType &getType (void); 122 virtual FieldContainerType const &getType (void) const; 123 124 virtual UInt32 getContainerSize(void) const; 125 126 /*! \} */ 127 /*---------------------------------------------------------------------*/ 128 /*! \name Binary Access */ 115 129 /*! \{ */ 116 130 … … 121 135 ConstFieldMaskArg whichField); 122 136 123 124 /*! \} */ 125 /*---------------------------------------------------------------------*/ 126 /*! \name Construction */ 137 /*! \} */ 138 /*---------------------------------------------------------------------*/ 139 /*! \name Construction */ 127 140 /*! \{ */ 128 141 … … 132 145 /*! \} */ 133 146 /*---------------------------------------------------------------------*/ 134 /*! \name Copy*/147 /*! \name Copy */ 135 148 /*! \{ */ 136 149 … … 139 152 /*! \} */ 140 153 /*========================= PROTECTED ===============================*/ 141 142 154 protected: 143 155 144 156 static TypeObject _type; 145 157 146 static void classDescInserter(TypeObject &oType);147 static Char8 *getClassname (void );148 149 /*---------------------------------------------------------------------*/ 150 /*! \name Constructors*/158 static void classDescInserter(TypeObject &oType); 159 static Char8 const *getClassname (void ); 160 161 /*---------------------------------------------------------------------*/ 162 /*! \name Constructors */ 151 163 /*! \{ */ 152 164 153 165 SepiaComposerBase(void); 154 SepiaComposerBase( const SepiaComposerBase&source);155 156 /*! \} */ 157 /*---------------------------------------------------------------------*/ 158 /*! \name Destructors*/166 SepiaComposerBase(SepiaComposerBase const &source); 167 168 /*! \} */ 169 /*---------------------------------------------------------------------*/ 170 /*! \name Destructors */ 159 171 /*! \{ */ 160 172 … … 163 175 /*! \} */ 164 176 /*---------------------------------------------------------------------*/ 165 /*! \name onCreate*/166 /*! \{ */ 167 168 169 /*! \} */ 170 /*---------------------------------------------------------------------*/ 171 /*! \name Generic Field Access*/172 /*! \{ */ 173 174 175 /*! \} */ 176 /*---------------------------------------------------------------------*/ 177 /*! \name Sync*/177 /*! \name onCreate */ 178 /*! \{ */ 179 180 181 /*! \} */ 182 /*---------------------------------------------------------------------*/ 183 /*! \name Generic Field Access */ 184 /*! \{ */ 185 186 187 /*! \} */ 188 /*---------------------------------------------------------------------*/ 189 /*! \name Sync */ 178 190 /*! \{ */ 179 191 180 192 #ifdef OSG_MT_CPTR_ASPECT 181 virtual void execSyncV( FieldContainer &oFrom,182 ConstFieldMaskArg whichField,183 AspectOffsetStore &oOffsets,184 ConstFieldMaskArg syncMode,185 const UInt32uiSyncInfo);186 187 void execSync ( SepiaComposerBase *pFrom,188 ConstFieldMaskArg whichField,189 AspectOffsetStore &oOffsets,190 ConstFieldMaskArg syncMode,191 const UInt32uiSyncInfo);193 virtual void execSyncV(FieldContainer &oFrom, 194 ConstFieldMaskArg whichField, 195 AspectOffsetStore &oOffsets, 196 ConstFieldMaskArg syncMode, 197 UInt32 const uiSyncInfo); 198 199 void execSync (SepiaComposerBase *pFrom, 200 ConstFieldMaskArg whichField, 201 AspectOffsetStore &oOffsets, 202 ConstFieldMaskArg syncMode, 203 UInt32 const uiSyncInfo); 192 204 #endif 193 205 194 206 /*! \} */ 195 207 /*---------------------------------------------------------------------*/ 196 /*! \name Edit */ 197 /*! \{ */ 198 199 /*! \} */ 200 /*---------------------------------------------------------------------*/ 201 /*! \name Aspect Create */ 208 /*! \name Aspect Create */ 202 209 /*! \{ */ 203 210 … … 205 212 virtual FieldContainerPtr createAspectCopy(void) const; 206 213 #endif 207 208 /*! \} */ 209 /*---------------------------------------------------------------------*/ 210 /*! \name Edit */ 211 /*! \{ */ 212 /*! \} */ 213 /*---------------------------------------------------------------------*/ 214 /*! \name Sync */ 214 215 /*! \} */ 216 /*---------------------------------------------------------------------*/ 217 /*! \name Sync */ 215 218 /*! \{ */ 216 219 … … 219 222 /*! \} */ 220 223 /*========================== PRIVATE ================================*/ 221 222 224 private: 223 225 … … 226 228 }; 227 229 228 typedef SepiaComposerBase *SepiaComposerBaseP;229 230 /** Type specific RefPtr type for SepiaComposer. */ 231 typedef RefPtr<SepiaComposerPtr> SepiaComposerRefPtr;230 typedef SepiaComposerBase::ObjRefPtr SepiaComposerRefPtr; 231 typedef SepiaComposerBase::ObjMTRefPtr SepiaComposerMTRefPtr; 232 typedef SepiaComposerBase::ObjWeakRefPtr SepiaComposerWeakRefPtr; 233 typedef SepiaComposerBase::ObjParentPtr SepiaComposerParentPtr; 232 234 233 235 typedef boost::mpl::if_<
