Changeset 1016 for branches/Carsten_PtrWork2/Source/System/Cluster/Window/MultiDisplay/OSGMultiDisplayWindowBase.inl
- 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/MultiDisplay/OSGMultiDisplayWindowBase.inl
r787 r1016 49 49 \*****************************************************************************/ 50 50 51 // #include "OSGContainerPtrFuncs.h" 52 51 53 OSG_BEGIN_NAMESPACE 52 54 53 54 55 //! access the type of the class 55 inline 56 OSG::FieldContainerType &MultiDisplayWindowBase::getClassType(void)56 inline OSG::FieldContainerType & 57 MultiDisplayWindowBase::getClassType(void) 57 58 { 58 59 return _type; … … 60 61 61 62 //! access the numerical type of the class 62 inline 63 OSG::UInt32MultiDisplayWindowBase::getClassTypeId(void)63 inline OSG::UInt32 64 MultiDisplayWindowBase::getClassTypeId(void) 64 65 { 65 66 return _type.getId(); 66 67 } 67 68 68 inline 69 OSG::UInt16MultiDisplayWindowBase::getClassGroupId(void)69 inline OSG::UInt16 70 MultiDisplayWindowBase::getClassGroupId(void) 70 71 { 71 72 return _type.getGroupId(); 72 73 } 73 74 74 /*------------------------------ get -----------------------------------*/ 75 76 //! Get the value of the MultiDisplayWindow::_sfHServers field. 77 78 inline 79 UInt32 &MultiDisplayWindowBase::editHServers(void) 75 /*-------------------------------------------------------------------------*/ 76 /* Field SFHServers */ 77 78 inline SFUInt32 * 79 MultiDisplayWindowBase::editSFHServers(void) 80 80 { 81 81 editSField(HServersFieldMask); 82 82 83 return &_sfHServers; 84 } 85 86 inline SFUInt32 const * 87 MultiDisplayWindowBase::getSFHServers (void) const 88 { 89 return &_sfHServers; 90 } 91 92 #ifdef OSG_1_GET_COMPAT 93 inline SFUInt32 * 94 MultiDisplayWindowBase::getSFHServers (void) 95 { 96 return this->editSFHServers(); 97 } 98 #endif 99 100 inline UInt32 & 101 MultiDisplayWindowBase::editHServers(void) 102 { 103 editSField(HServersFieldMask); 104 83 105 return _sfHServers.getValue(); 84 106 } 85 107 86 //! Get the value of the MultiDisplayWindow::_sfHServers field. 87 inline 88 const UInt32 &MultiDisplayWindowBase::getHServers(void) const 108 inline UInt32 const & 109 MultiDisplayWindowBase::getHServers (void) const 89 110 { 90 111 return _sfHServers.getValue(); 91 112 } 92 93 #ifdef OSG_1_GET_COMPAT 94 inline 95 UInt32 &MultiDisplayWindowBase::getHServers (void) 96 { 97 return this->editHServers (); 98 } 99 #endif 100 101 //! Set the value of the MultiDisplayWindow::_sfHServers field. 102 inline 103 void MultiDisplayWindowBase::setHServers(const UInt32 &value) 113 #ifdef OSG_1_GET_COMPAT 114 inline UInt32 & 115 MultiDisplayWindowBase::getHServers (void) 116 { 117 return this->editHServers(); 118 } 119 #endif 120 121 inline void 122 MultiDisplayWindowBase::setHServers( 123 SFUInt32::ArgumentType value) 104 124 { 105 125 editSField(HServersFieldMask); … … 107 127 _sfHServers.setValue(value); 108 128 } 109 //! Get the value of the MultiDisplayWindow::_sfVServers field. 110 111 inline 112 UInt32 &MultiDisplayWindowBase::editVServers(void) 129 130 /*-------------------------------------------------------------------------*/ 131 /* Field SFVServers */ 132 133 inline SFUInt32 * 134 MultiDisplayWindowBase::editSFVServers(void) 113 135 { 114 136 editSField(VServersFieldMask); 115 137 138 return &_sfVServers; 139 } 140 141 inline SFUInt32 const * 142 MultiDisplayWindowBase::getSFVServers (void) const 143 { 144 return &_sfVServers; 145 } 146 147 #ifdef OSG_1_GET_COMPAT 148 inline SFUInt32 * 149 MultiDisplayWindowBase::getSFVServers (void) 150 { 151 return this->editSFVServers(); 152 } 153 #endif 154 155 inline UInt32 & 156 MultiDisplayWindowBase::editVServers(void) 157 { 158 editSField(VServersFieldMask); 159 116 160 return _sfVServers.getValue(); 117 161 } 118 162 119 //! Get the value of the MultiDisplayWindow::_sfVServers field. 120 inline 121 const UInt32 &MultiDisplayWindowBase::getVServers(void) const 163 inline UInt32 const & 164 MultiDisplayWindowBase::getVServers (void) const 122 165 { 123 166 return _sfVServers.getValue(); 124 167 } 125 126 #ifdef OSG_1_GET_COMPAT 127 inline 128 UInt32 &MultiDisplayWindowBase::getVServers (void) 129 { 130 return this->editVServers (); 131 } 132 #endif 133 134 //! Set the value of the MultiDisplayWindow::_sfVServers field. 135 inline 136 void MultiDisplayWindowBase::setVServers(const UInt32 &value) 168 #ifdef OSG_1_GET_COMPAT 169 inline UInt32 & 170 MultiDisplayWindowBase::getVServers (void) 171 { 172 return this->editVServers(); 173 } 174 #endif 175 176 inline void 177 MultiDisplayWindowBase::setVServers( 178 SFUInt32::ArgumentType value) 137 179 { 138 180 editSField(VServersFieldMask); … … 140 182 _sfVServers.setValue(value); 141 183 } 142 //! Get the value of the MultiDisplayWindow::_sfManageClientViewports field. 143 144 inline 145 bool &MultiDisplayWindowBase::editManageClientViewports(void) 184 185 /*-------------------------------------------------------------------------*/ 186 /* Field SFManageClientViewports */ 187 188 inline SFBool * 189 MultiDisplayWindowBase::editSFManageClientViewports(void) 146 190 { 147 191 editSField(ManageClientViewportsFieldMask); 148 192 193 return &_sfManageClientViewports; 194 } 195 196 inline SFBool const * 197 MultiDisplayWindowBase::getSFManageClientViewports (void) const 198 { 199 return &_sfManageClientViewports; 200 } 201 202 #ifdef OSG_1_GET_COMPAT 203 inline SFBool * 204 MultiDisplayWindowBase::getSFManageClientViewports (void) 205 { 206 return this->editSFManageClientViewports(); 207 } 208 #endif 209 210 inline bool & 211 MultiDisplayWindowBase::editManageClientViewports(void) 212 { 213 editSField(ManageClientViewportsFieldMask); 214 149 215 return _sfManageClientViewports.getValue(); 150 216 } 151 217 152 //! Get the value of the MultiDisplayWindow::_sfManageClientViewports field. 153 inline 154 const bool &MultiDisplayWindowBase::getManageClientViewports(void) const 218 inline bool const & 219 MultiDisplayWindowBase::getManageClientViewports (void) const 155 220 { 156 221 return _sfManageClientViewports.getValue(); 157 222 } 158 159 #ifdef OSG_1_GET_COMPAT 160 inline 161 bool &MultiDisplayWindowBase::getManageClientViewports(void) 223 #ifdef OSG_1_GET_COMPAT 224 inline bool & 225 MultiDisplayWindowBase::getManageClientViewports (void) 162 226 { 163 227 return this->editManageClientViewports(); … … 165 229 #endif 166 230 167 //! Set the value of the MultiDisplayWindow::_sfManageClientViewports field. 168 inline 169 void MultiDisplayWindowBase::setManageClientViewports(const bool &value)231 inline void 232 MultiDisplayWindowBase::setManageClientViewports( 233 SFbool::ArgumentType value) 170 234 { 171 235 editSField(ManageClientViewportsFieldMask); … … 173 237 _sfManageClientViewports.setValue(value); 174 238 } 175 //! Get the value of the MultiDisplayWindow::_sfXOverlap field. 176 177 inline 178 Int32 &MultiDisplayWindowBase::editXOverlap(void) 239 240 /*-------------------------------------------------------------------------*/ 241 /* Field SFXOverlap */ 242 243 inline SFInt32 * 244 MultiDisplayWindowBase::editSFXOverlap(void) 179 245 { 180 246 editSField(XOverlapFieldMask); 181 247 248 return &_sfXOverlap; 249 } 250 251 inline SFInt32 const * 252 MultiDisplayWindowBase::getSFXOverlap (void) const 253 { 254 return &_sfXOverlap; 255 } 256 257 #ifdef OSG_1_GET_COMPAT 258 inline SFInt32 * 259 MultiDisplayWindowBase::getSFXOverlap (void) 260 { 261 return this->editSFXOverlap(); 262 } 263 #endif 264 265 inline Int32 & 266 MultiDisplayWindowBase::editXOverlap(void) 267 { 268 editSField(XOverlapFieldMask); 269 182 270 return _sfXOverlap.getValue(); 183 271 } 184 272 185 //! Get the value of the MultiDisplayWindow::_sfXOverlap field. 186 inline 187 const Int32 &MultiDisplayWindowBase::getXOverlap(void) const 273 inline Int32 const & 274 MultiDisplayWindowBase::getXOverlap (void) const 188 275 { 189 276 return _sfXOverlap.getValue(); 190 277 } 191 192 #ifdef OSG_1_GET_COMPAT 193 inline 194 Int32 &MultiDisplayWindowBase::getXOverlap (void) 195 { 196 return this->editXOverlap (); 197 } 198 #endif 199 200 //! Set the value of the MultiDisplayWindow::_sfXOverlap field. 201 inline 202 void MultiDisplayWindowBase::setXOverlap(const Int32 &value) 278 #ifdef OSG_1_GET_COMPAT 279 inline Int32 & 280 MultiDisplayWindowBase::getXOverlap (void) 281 { 282 return this->editXOverlap(); 283 } 284 #endif 285 286 inline void 287 MultiDisplayWindowBase::setXOverlap( 288 SFInt32::ArgumentType value) 203 289 { 204 290 editSField(XOverlapFieldMask); … … 206 292 _sfXOverlap.setValue(value); 207 293 } 208 //! Get the value of the MultiDisplayWindow::_sfYOverlap field. 209 210 inline 211 Int32 &MultiDisplayWindowBase::editYOverlap(void) 294 295 /*-------------------------------------------------------------------------*/ 296 /* Field SFYOverlap */ 297 298 inline SFInt32 * 299 MultiDisplayWindowBase::editSFYOverlap(void) 212 300 { 213 301 editSField(YOverlapFieldMask); 214 302 303 return &_sfYOverlap; 304 } 305 306 inline SFInt32 const * 307 MultiDisplayWindowBase::getSFYOverlap (void) const 308 { 309 return &_sfYOverlap; 310 } 311 312 #ifdef OSG_1_GET_COMPAT 313 inline SFInt32 * 314 MultiDisplayWindowBase::getSFYOverlap (void) 315 { 316 return this->editSFYOverlap(); 317 } 318 #endif 319 320 inline Int32 & 321 MultiDisplayWindowBase::editYOverlap(void) 322 { 323 editSField(YOverlapFieldMask); 324 215 325 return _sfYOverlap.getValue(); 216 326 } 217 327 218 //! Get the value of the MultiDisplayWindow::_sfYOverlap field. 219 inline 220 const Int32 &MultiDisplayWindowBase::getYOverlap(void) const 328 inline Int32 const & 329 MultiDisplayWindowBase::getYOverlap (void) const 221 330 { 222 331 return _sfYOverlap.getValue(); 223 332 } 224 225 #ifdef OSG_1_GET_COMPAT 226 inline 227 Int32 &MultiDisplayWindowBase::getYOverlap (void) 228 { 229 return this->editYOverlap (); 230 } 231 #endif 232 233 //! Set the value of the MultiDisplayWindow::_sfYOverlap field. 234 inline 235 void MultiDisplayWindowBase::setYOverlap(const Int32 &value) 333 #ifdef OSG_1_GET_COMPAT 334 inline Int32 & 335 MultiDisplayWindowBase::getYOverlap (void) 336 { 337 return this->editYOverlap(); 338 } 339 #endif 340 341 inline void 342 MultiDisplayWindowBase::setYOverlap( 343 SFInt32::ArgumentType value) 236 344 { 237 345 editSField(YOverlapFieldMask); … … 240 348 } 241 349 350 242 351 243 352 #ifdef OSG_MT_CPTR_ASPECT 244 353 inline 245 void MultiDisplayWindowBase::execSync ( MultiDisplayWindowBase *pFrom,246 ConstFieldMaskArg whichField,247 AspectOffsetStore &oOffsets,248 ConstFieldMaskArg syncMode,249 const UInt32uiSyncInfo)354 void MultiDisplayWindowBase::execSync (MultiDisplayWindowBase *pFrom, 355 ConstFieldMaskArg whichField, 356 AspectOffsetStore &oOffsets, 357 ConstFieldMaskArg syncMode, 358 UInt32 const uiSyncInfo) 250 359 { 251 360 Inherited::execSync(pFrom, whichField, oOffsets, syncMode, uiSyncInfo); … … 269 378 270 379 271 inline 272 Char8 *MultiDisplayWindowBase::getClassname(void)380 inline Char8 const * 381 MultiDisplayWindowBase::getClassname(void) 273 382 { 274 383 return "MultiDisplayWindow"; 275 384 } 276 OSG_GEN_CONTAINERPTR(MultiDisplayWindow);277 385 278 386 OSG_END_NAMESPACE
