Changeset 1177
- Timestamp:
- 04/18/08 04:05:46 (3 weeks ago)
- Files:
-
- trunk/Source/Base/Base/OSGContainerForwards.h (modified) (2 diffs)
- trunk/Source/Contrib/Manipulators/OSGExternalUpdateHandler.h (modified) (1 diff)
- trunk/Source/Contrib/VTK/OSGVTKMapper.h (modified) (1 diff)
- trunk/Source/System/Action/Base/OSGAction.cpp (modified) (5 diffs)
- trunk/Source/System/Action/Base/OSGAction.h (modified) (10 diffs)
- trunk/Source/System/Action/Base/OSGAction.inl (modified) (4 diffs)
- trunk/Source/System/Action/RenderAction/OSGRenderAction.cpp (modified) (3 diffs)
- trunk/Source/System/Action/RenderAction/OSGRenderAction.h (modified) (2 diffs)
- trunk/Source/System/Action/RenderAction/OSGRenderPartition.cpp (modified) (1 diff)
- trunk/Source/System/Action/RenderAction/OSGRenderPartition.h (modified) (2 diffs)
- trunk/Source/System/Action/RenderAction/OSGRenderPartition.inl (modified) (1 diff)
- trunk/Source/System/Cluster/Base/OSGRemoteAspect.h (modified) (1 diff)
- trunk/Source/System/Cluster/Base/testClusterClient.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortFirst/OSGTileLoadBalancer.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortFirst/OSGTileLoadBalancer.h (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortLast/OSGSortLastWindow.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortLast/OSGSortLastWindow.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Attachments/OSGNameAttachment.cpp (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Attachments/OSGNameAttachment.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Attachments/OSGVoidPAttachment.cpp (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Attachments/OSGVoidPAttachment.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.h (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldContainer.cpp (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldContainer.h (modified) (6 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Base/OSGRefCountPolicies.h (modified) (5 diffs)
- trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.inl (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Base/OSGTransitPtr.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Base/OSGTransitPtr.inl (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.inl (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerSFieldHandle.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerSFieldHandle.inl (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGAttachmentMapSFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGAttachmentMapSFields.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Node/OSGCoredNodePtr.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Node/OSGCoredNodePtr.inl (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Node/OSGNode.cpp (modified) (16 diffs)
- trunk/Source/System/FieldContainer/Node/OSGNode.h (modified) (11 diffs)
- trunk/Source/System/FieldContainer/Node/OSGNode.inl (modified) (2 diffs)
- trunk/Source/System/FileIO/WRL/OSGVRMLFile.cpp (modified) (1 diff)
- trunk/Source/System/FileIO/WRL/OSGVRMLWriteAction.cpp (modified) (10 diffs)
- trunk/Source/System/FileIO/WRL/OSGVRMLWriteAction.h (modified) (2 diffs)
- trunk/Source/System/GraphOp/Base/OSGGraphOp.cpp (modified) (4 diffs)
- trunk/Source/System/GraphOp/Base/OSGGraphOp.h (modified) (2 diffs)
- trunk/Source/System/GraphOp/OSGMakeTransparentGraphOp.cpp (modified) (2 diffs)
- trunk/Source/System/GraphOp/OSGMakeTransparentGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGMaterialMergeGraphOp.cpp (modified) (2 diffs)
- trunk/Source/System/GraphOp/OSGMaterialMergeGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGMergeGraphOp.cpp (modified) (10 diffs)
- trunk/Source/System/GraphOp/OSGMergeGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGPruneGraphOp.cpp (modified) (2 diffs)
- trunk/Source/System/GraphOp/OSGPruneGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGSharePtrGraphOp.cpp (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGSharePtrGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGSingleTypeGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGSingleTypeGraphOp.inl (modified) (2 diffs)
- trunk/Source/System/GraphOp/OSGSplitGraphOp.cpp (modified) (4 diffs)
- trunk/Source/System/GraphOp/OSGSplitGraphOp.h (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGVerifyGraphOp.cpp (modified) (3 diffs)
- trunk/Source/System/GraphOp/OSGVerifyGraphOp.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGCHDRImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGCHDRImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGDATImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGDATImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGDDSImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGDDSImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/FileIO/OSGGIFImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGGIFImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/FileIO/OSGHDRImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGHDRImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGJPGImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGJPGImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGMNGImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGMNGImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/FileIO/OSGMTDImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGMTDImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGPNGImageFileType.cpp (modified) (4 diffs)
- trunk/Source/System/Image/FileIO/OSGPNGImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGPNMImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGPNMImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/FileIO/OSGSGIImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGSGIImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/FileIO/OSGTGAImageFileType.cpp (modified) (3 diffs)
- trunk/Source/System/Image/FileIO/OSGTGAImageFileType.h (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGTIFImageFileType.cpp (modified) (2 diffs)
- trunk/Source/System/Image/FileIO/OSGTIFImageFileType.h (modified) (1 diff)
- trunk/Source/System/Image/OSGImageFileHandler.cpp (modified) (7 diffs)
- trunk/Source/System/Image/OSGImageFileHandler.h (modified) (3 diffs)
- trunk/Source/System/Image/OSGImageFileType.cpp (modified) (10 diffs)
- trunk/Source/System/Image/OSGImageFileType.h (modified) (4 diffs)
- trunk/Source/System/Image/OSGImageFunctions.cpp (modified) (1 diff)
- trunk/Source/System/Image/OSGImageFunctions.h (modified) (1 diff)
- trunk/Source/System/Material/Base/OSGChunkMaterial.h (modified) (1 diff)
- trunk/Source/System/Material/Base/OSGChunkMaterial.inl (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Base/OSGDrawable.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Base/OSGDrawableStatsAttachment.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Base/OSGDrawableStatsAttachment.h (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Base/WS/OSGGeometry.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Base/WS/OSGGeometry.h (modified) (4 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Base/WS/OSGGeometry.inl (modified) (15 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGEdgeIterator.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGEdgeIterator.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGFaceIterator.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGFaceIterator.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGLineIterator.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGLineIterator.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGPrimitiveIterator.cpp (modified) (4 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGPrimitiveIterator.h (modified) (4 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGPrimitiveIterator.inl (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGTriangleIterator.cpp (modified) (2 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Iterator/OSGTriangleIterator.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoVectorProperty.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGTypedGeoIntegralProperty.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGTypedGeoVectorProperty.h (modified) (4 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Util/OSGGeoFunctions.cpp (modified) (13 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Util/OSGGeoFunctions.h (modified) (5 diffs)
- trunk/Source/System/NodeCores/Drawables/Particles/OSGParticles.cpp (modified) (4 diffs)
- trunk/Source/System/NodeCores/Drawables/Particles/OSGParticles.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Groups/DynamicStateGenerators/OSGDynamicStateGenerator.h (modified) (1 diff)
- trunk/Source/System/NodeCores/Groups/DynamicStateGenerators/OSGDynamicStateGenerator.inl (modified) (1 diff)
- trunk/Source/System/State/Base/OSGState.h (modified) (1 diff)
- trunk/Source/System/State/Base/OSGState.inl (modified) (1 diff)
- trunk/Source/System/Window/Base/OSGViewport.cpp (modified) (1 diff)
- trunk/Source/System/Window/Base/OSGViewport.h (modified) (1 diff)
- trunk/Source/Test/SystemLib/OSGFCDSParTestFC.cpp (modified) (1 diff)
- trunk/Source/Test/SystemLib/OSGFCDSParTestFC.h (modified) (1 diff)
- trunk/Source/Test/SystemLib/OSGTestFC.h (modified) (1 diff)
- trunk/Source/WindowSystem/GLUT/OSGGLUTWindow.h (modified) (1 diff)
- trunk/Source/WindowSystem/X/OSGXWindow.h (modified) (1 diff)
- trunk/Tools/fcd2code/TemplateFieldContainerBase_cpp.txt (modified) (11 diffs)
- trunk/Tools/fcd2code/TemplateFieldContainerBase_h.txt (modified) (19 diffs)
- trunk/Tools/fcd2code/TemplateFieldContainerBase_inl.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Base/Base/OSGContainerForwards.h
r1169 r1177 54 54 //--------------------------------------------------------------------------- 55 55 56 #define OLD_OSG_GEN_INTERNALPTR(CLASST) \ 57 typedef CLASST * ObjPtr; \ 58 typedef CLASST * const ObjPtrConst; \ 59 typedef const CLASST * ObjConstPtr; \ 60 typedef CLASST * const ObjPtrConstArg 61 62 #if 0 63 typedef const CLASST * const ObjConstPtrConst; \ 64 \ 65 typedef CLASST * ObjPtrArg; \ 66 typedef const CLASST * ObjConstPtrArg 67 #endif 68 69 #define OLD_OSG_GEN_CONTAINERPTR(CLASST) \ 70 typedef CLASST * CLASST##Ptr; \ 71 typedef CLASST * const CLASST##PtrConst; \ 72 typedef const CLASST * CLASST##ConstPtrArg; \ 73 typedef CLASST * const CLASST##PtrConstArg; \ 74 typedef const CLASST * const CLASST##ConstPtrConst; \ 75 typedef CLASST * CLASST##PtrArg; \ 76 typedef const CLASST * CLASST##ConstPtr; 77 78 #define NEW_REFPTR 79 80 81 #define TMP_INTERNAL_PTR(CLASST) \ 82 typedef TransitPtr< CLASST > ObjTransitPtr; \ 83 typedef RefCountPtr<CLASST, RecordedRefCountPolicy > ObjRecPtr; \ 84 typedef RefCountPtr<CLASST, UnrecordedRefCountPolicy> ObjUnrecPtr; \ 85 typedef RefCountPtr<CLASST, WeakRefCountPolicy > ObjWeakPtr; 86 87 #define TMP_PTR(CLASST) \ 88 typedef TransitPtr < CLASST > CLASST##TransitPtr; \ 89 typedef RefCountPtr< CLASST, \ 90 RecordedRefCountPolicy > CLASST##RecPtr; \ 91 typedef RefCountPtr< CLASST, \ 92 UnrecordedRefCountPolicy> CLASST##UnrecPtr; \ 93 typedef RefCountPtr< CLASST, \ 94 WeakRefCountPolicy > CLASST##WeakPtr; \ 95 typedef RefCountPtr< CLASST, \ 96 MTRecordedRefCountPolicy> CLASST##MTRecPtr; \ 97 typedef CLASST##RecPtr CLASST##RefPtr; 98 99 100 #define OSG_GEN_INTERNALPTR(CLASST) \ 101 typedef CLASST * ObjCPtr; \ 102 typedef CLASST * const ObjCPtrConst; \ 103 typedef const CLASST * ObjConstCPtr; \ 104 typedef const CLASST * const ObjConstCPtrConst; \ 105 \ 106 typedef CLASST * ObjCPtrArg; \ 107 typedef CLASST * const ObjCPtrConstArg; \ 108 typedef const CLASST * ObjConstCPtrArg; \ 109 \ 110 TMP_INTERNAL_PTR(CLASST) \ 111 \ 112 OLD_OSG_GEN_INTERNALPTR(CLASST) 113 114 115 116 #define OSG_GEN_CONTAINERPTR(CLASST) \ 117 typedef CLASST * CLASST##CPtr; \ 118 typedef CLASST * const CLASST##CPtrConst; \ 119 typedef const CLASST * CLASST##ConstCPtr; \ 120 typedef const CLASST * const CLASST##ConstCPtrConst; \ 121 \ 122 typedef CLASST * CLASST##CPtrArg; \ 123 typedef CLASST * const CLASST##CPtrConstArg; \ 124 typedef const CLASST * CLASST##ConstCPtrArg; \ 125 \ 126 TMP_PTR(CLASST) \ 127 \ 128 OLD_OSG_GEN_CONTAINERPTR(CLASST) 129 130 131 #define OSG_GEN_NAMED_PTR(CLASST, NAME) \ 132 typedef CLASST * NAME##Ptr; \ 133 typedef CLASST * const NAME##PtrConst; \ 134 typedef CLASST const * NAME##ConstPtr; \ 135 typedef CLASST const * const NAME##ConstPtrConst; \ 136 \ 137 typedef CLASST * NAME##PtrArg; \ 138 typedef CLASST * const NAME##PtrConstArg; \ 139 typedef CLASST const * NAME##ConstPtrArg 140 56 #define OSG_GEN_INTERNALPTR(CLASST) \ 57 typedef TransitPtr< CLASST > ObjTransitPtr; \ 58 typedef RefCountPtr<CLASST, RecordedRefCountPolicy > ObjRecPtr; \ 59 typedef RefCountPtr<CLASST, UnrecordedRefCountPolicy> ObjUnrecPtr; \ 60 typedef RefCountPtr<CLASST, WeakRefCountPolicy > ObjWeakPtr; \ 61 \ 62 typedef CLASST * ObjPtr; \ 63 typedef CLASST const * ConstObjPtr; \ 64 \ 65 typedef CLASST * ObjCPtr; \ 66 typedef CLASST const * ConstObjCPtr; 67 68 69 70 71 #define OSG_GEN_CONTAINERPTR(CLASST) \ 72 typedef TransitPtr < CLASST > CLASST##TransitPtr; \ 73 typedef RefCountPtr< CLASST, \ 74 RecordedRefCountPolicy > CLASST##RecPtr; \ 75 typedef RefCountPtr< CLASST, \ 76 UnrecordedRefCountPolicy> CLASST##UnrecPtr; \ 77 typedef RefCountPtr< CLASST, \ 78 WeakRefCountPolicy > CLASST##WeakPtr; \ 79 typedef RefCountPtr< CLASST, \ 80 MTRecordedRefCountPolicy> CLASST##MTRecPtr; \ 81 typedef CLASST##RecPtr CLASST##RefPtr; \ 82 typedef CLASST##MTRecPtr CLASST##MTRefPtr; \ 83 \ 84 typedef CLASST * CLASST##Ptr; \ 85 typedef CLASST const * Const##CLASST##Ptr; \ 86 \ 87 typedef CLASST * CLASST##CPtr; \ 88 typedef CLASST const * Const##CLASST##CPtr; 89 90 91 #define OSG_GEN_NAMED_PTR(CLASST, NAME) \ 92 typedef CLASST * NAME##Ptr; \ 93 typedef CLASST const * Const##NAME##Ptr; 141 94 142 95 … … 200 153 201 154 typedef boost::function< 202 void (FieldContainerCPtr Arg, ConstFieldMaskArg )> ChangedFunctor;155 void (FieldContainerCPtr, ConstFieldMaskArg )> ChangedFunctor; 203 156 204 157 typedef boost::function<void (DrawEnv *)> RenderFunctor; trunk/Source/Contrib/Manipulators/OSGExternalUpdateHandler.h
r827 r1177 50 50 public: 51 51 virtual ~ExternalUpdateHandler() {} 52 virtual void update(const NodePtr ConstTransformNode) = 0;52 virtual void update(const NodePtr TransformNode) = 0; 53 53 }; 54 54 trunk/Source/Contrib/VTK/OSGVTKMapper.h
r1167 r1177 184 184 185 185 typedef VTKMapper::ObjPtr VTKMapperPtr; 186 typedef VTKMapper:: ObjConstPtr VTKMapperConstPtr;186 typedef VTKMapper::ConstObjPtr ConstVTKMapperPtr; 187 187 188 188 OSG_END_NAMESPACE trunk/Source/System/Action/Base/OSGAction.cpp
r1160 r1177 296 296 } 297 297 298 ActionBase::ResultE Action::apply( NodePtrConstArgnode)298 ActionBase::ResultE Action::apply(const NodePtr node) 299 299 { 300 300 if(node == NullFC) … … 316 316 // recursion calling 317 317 318 ActionBase::ResultE Action::recurse( NodePtrConstArgnode)318 ActionBase::ResultE Action::recurse(const NodePtr node) 319 319 { 320 320 if(node == NullFC) … … 547 547 // default Action function: just call all kids 548 548 549 ActionBase::ResultE Action::_defaultEnterFunction( NodeCorePtrConstArg,550 Action*)549 ActionBase::ResultE Action::_defaultEnterFunction(const NodeCorePtr , 550 Action *) 551 551 { 552 552 return Continue; 553 553 } 554 554 555 ActionBase::ResultE Action::_defaultLeaveFunction( NodeCorePtrConstArg,556 Action*)555 ActionBase::ResultE Action::_defaultLeaveFunction(const NodeCorePtr , 556 Action *) 557 557 { 558 558 return Continue; … … 624 624 */ 625 625 626 ActionBase::ResultE traverse( NodePtrConstArgnode,627 TraverseEnterFunctor func )626 ActionBase::ResultE traverse(const NodePtr node, 627 TraverseEnterFunctor func ) 628 628 { 629 629 ActionBase::ResultE res = ActionBase::Continue; … … 696 696 */ 697 697 698 ActionBase::ResultE traverse( NodePtrConstArgnode,699 TraverseEnterFunctor enter,700 TraverseLeaveFunctor leave )698 ActionBase::ResultE traverse(const NodePtr node, 699 TraverseEnterFunctor enter, 700 TraverseLeaveFunctor leave ) 701 701 { 702 702 ActionBase::ResultE res = ActionBase::Continue; trunk/Source/System/Action/Base/OSGAction.h
r1160 r1177 91 91 //----------------------------------------------------------------------- 92 92 93 typedef boost::function<ResultE( NodeCorePtrConstArg,94 Action*)> Functor;95 typedef boost::function<ResultE( NodePtrConstArg,96 Action*)> NodeFunctor;93 typedef boost::function<ResultE(const NodeCorePtr, 94 Action *)> Functor; 95 typedef boost::function<ResultE(const NodePtr, 96 Action *)> NodeFunctor; 97 97 98 98 typedef ActionBase::ResultE (NodeCore::*Callback)(Action *); … … 144 144 // application 145 145 146 virtual ResultE apply( std::vector<NodePtr>::iterator begin,147 std::vector<NodePtr>::iterator end );148 149 virtual ResultE apply( NodePtrConstArgnode );146 virtual ResultE apply( std::vector<NodePtr>::iterator begin, 147 std::vector<NodePtr>::iterator end ); 148 149 virtual ResultE apply(const NodePtr node ); 150 150 151 151 /*------------------------- your_category -------------------------------*/ … … 159 159 // after the graph traversal 160 160 161 void setActNode( NodePtrConstArgnode);161 void setActNode(const NodePtr node); 162 162 163 163 /*------------------------- your_category -------------------------------*/ … … 175 175 // only the added nodes will be traversed. 176 176 177 void addNode ( NodePtrConstArgnode);177 void addNode (const NodePtr node); 178 178 179 179 // Common case: going through the children list and picking up some of … … 192 192 193 193 // recurse through the node 194 ResultE recurse( NodePtrConstArgnode);194 ResultE recurse(const NodePtr node); 195 195 196 196 /*------------------------- comparison ----------------------------------*/ … … 233 233 // call the single node. used for cascading actions 234 234 235 inline ResultE callEnter( NodeCorePtrConstArgcore);236 inline ResultE callLeave( NodeCorePtrConstArgcore);235 inline ResultE callEnter(const NodeCorePtr core); 236 inline ResultE callLeave(const NodeCorePtr core); 237 237 238 238 // start/stop functions for the action. … … 256 256 // default function 257 257 258 static ResultE _defaultEnterFunction( NodeCorePtrConstArgnode,259 Action*action);260 static ResultE _defaultLeaveFunction( NodeCorePtrConstArgnode,261 Action*action);258 static ResultE _defaultEnterFunction(const NodeCorePtr node, 259 Action *action); 260 static ResultE _defaultLeaveFunction(const NodeCorePtr node, 261 Action *action); 262 262 263 263 // functors … … 346 346 347 347 typedef boost::function< 348 Action::ResultE ( NodePtrConstArg)> TraverseEnterFunctor;348 Action::ResultE (const NodePtr )> TraverseEnterFunctor; 349 349 typedef boost::function< 350 Action::ResultE ( NodePtrConstArg,351 Action::ResultE)> TraverseLeaveFunctor;350 Action::ResultE (const NodePtr, 351 Action::ResultE)> TraverseLeaveFunctor; 352 352 353 353 … … 363 363 364 364 OSG_SYSTEM_DLLMAPPING 365 ActionBase::ResultE traverse( NodePtrConstArgroot,366 TraverseEnterFunctor func);365 ActionBase::ResultE traverse(const NodePtr root, 366 TraverseEnterFunctor func); 367 367 OSG_SYSTEM_DLLMAPPING 368 368 ActionBase::ResultE traverse(const std::vector<NodePtr> &nodeList, … … 374 374 375 375 OSG_SYSTEM_DLLMAPPING 376 ActionBase::ResultE traverse( NodePtrConstArgroot,377 TraverseEnterFunctor enter,378 TraverseLeaveFunctor leave);376 ActionBase::ResultE traverse(const NodePtr root, 377 TraverseEnterFunctor enter, 378 TraverseLeaveFunctor leave); 379 379 OSG_SYSTEM_DLLMAPPING 380 380 ActionBase::ResultE traverse(const std::vector<NodePtr> &nodeList, trunk/Source/System/Action/Base/OSGAction.inl
r917 r1177 51 51 52 52 inline 53 void Action::setActNode( NodePtrConstArgnode)53 void Action::setActNode(const NodePtr node) 54 54 { 55 55 _actNode = node; … … 70 70 71 71 inline 72 void Action::addNode( NodePtrConstArgnode)72 void Action::addNode(const NodePtr node) 73 73 { 74 74 _newList.push_back(node); … … 114 114 115 115 inline 116 ActionBase::ResultE Action::callEnter( NodeCorePtrConstArgcore)116 ActionBase::ResultE Action::callEnter(const NodeCorePtr core) 117 117 { 118 118 ResultE result; … … 148 148 149 149 inline 150 ActionBase::ResultE Action::callLeave( NodeCorePtrConstArgcore)150 ActionBase::ResultE Action::callLeave(const NodeCorePtr core) 151 151 { 152 152 ResultE result; trunk/Source/System/Action/RenderAction/OSGRenderAction.cpp
r1173 r1177 455 455 /*-------------------------- your_category---------------------------------*/ 456 456 457 ActionBase::ResultE RenderAction::recurceNoNodeCallbacks( 458 NodePtrConstArg node) 457 ActionBase::ResultE RenderAction::recurceNoNodeCallbacks(const NodePtr node) 459 458 { 460 459 if(node == NullFC) … … 769 768 } 770 769 771 void RenderAction::overrideMaterial( Material*pMaterial,772 NodePtrConstArgpNode )770 void RenderAction::overrideMaterial( Material *pMaterial, 771 const NodePtr pNode ) 773 772 { 774 773 _pActivePartition->overrideMaterial(pMaterial, pNode); … … 781 780 782 781 void RenderAction::pushPartition(UInt32 uiCopyOnPush, 783 RenderPartition::Mode eMode )782 RenderPartition::Mode eMode ) 784 783 { 785 784 _sRenderPartitionIdxStack.push(_iActivePartitionIdx); trunk/Source/System/Action/RenderAction/OSGRenderAction.h
r997 r1177 135 135 /*------------------------- your_category -------------------------------*/ 136 136 137 ResultE recurceNoNodeCallbacks( NodePtrConstArgnode);137 ResultE recurceNoNodeCallbacks(const NodePtr node); 138 138 139 139 /*------------------------- your_operators ------------------------------*/ … … 191 191 /*------------------------- comparison ----------------------------------*/ 192 192 193 void overrideMaterial( Material*pMaterial,194 NodePtrConstArgpNode );195 196 Material *getMaterial ( void);193 void overrideMaterial( Material *pMaterial, 194 const NodePtr pNode ); 195 196 Material *getMaterial ( void ); 197 197 198 198 /*------------------------- comparison ----------------------------------*/ trunk/Source/System/Action/RenderAction/OSGRenderPartition.cpp
r1004 r1177 814 814 815 815 // visibility levels 816 bool RenderPartition::pushVisibility( NodePtrConstArgpNode)816 bool RenderPartition::pushVisibility(const NodePtr pNode) 817 817 { 818 818 if(getFrustumCulling() == false) trunk/Source/System/Action/RenderAction/OSGRenderPartition.h
r997 r1177 290 290 /*-------------------------- comparison ---------------------------------*/ 291 291 292 void overrideMaterial( Material*pMaterial,293 NodePtrConstArgpNode );294 295 Material *getMaterial (void );292 void overrideMaterial( Material *pMaterial, 293 const NodePtr pNode ); 294 295 Material *getMaterial (void ); 296 296 297 297 /*-------------------------- comparison ---------------------------------*/ … … 305 305 306 306 // test a single node 307 bool isVisible ( Node*pNode);307 bool isVisible ( Node *pNode); 308 308 309 309 // visibility levels 310 bool pushVisibility( NodePtrConstArgpNode);311 void popVisibility ( void);310 bool pushVisibility(const NodePtr pNode); 311 void popVisibility ( void ); 312 312 313 313 /*-------------------------- comparison ---------------------------------*/ trunk/Source/System/Action/RenderAction/OSGRenderPartition.inl
r997 r1177 294 294 295 295 inline 296 void RenderPartition::overrideMaterial( Material*pMaterial,297 NodePtrConstArgpNode )296 void RenderPartition::overrideMaterial( Material *pMaterial, 297 const NodePtr pNode ) 298 298 { 299 299 if(_pMaterialNode == NullFC) trunk/Source/System/Cluster/Base/OSGRemoteAspect.h
r1174 r1177 78 78 79 79 /** functor called for changed containers **/ 80 typedef boost::function<bool ( FieldContainerPtrConstArg,81 RemoteAspect*)> Functor;80 typedef boost::function<bool (const FieldContainerPtr, 81 RemoteAspect *)> Functor; 82 82 83 83 trunk/Source/System/Cluster/Base/testClusterClient.cpp
r1176 r1177 193 193 } 194 194 195 void prepareSceneGraph( NodePtrConstArg &node)195 void prepareSceneGraph(const NodePtr node) 196 196 { 197 197 if(!prepared) trunk/Source/System/Cluster/Window/SortFirst/OSGTileLoadBalancer.cpp
r1160 r1177 &nbs
