← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1900: 1. Make MetaInteractingGeometry2AABB warning more descriptive.

 

------------------------------------------------------------
revno: 1900
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Mon 2009-12-14 09:35:15 +0100
message:
  1. Make MetaInteractingGeometry2AABB warning more descriptive.
modified:
  pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.cpp
  pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.hpp
  py/system.py


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.cpp'
--- pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.cpp	2009-12-11 18:10:19 +0000
+++ pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.cpp	2009-12-14 08:35:15 +0000
@@ -16,10 +16,10 @@
 #include<limits>
 
 
-void DontUseThisClassAnymore_itWillBeRemovedInTheFuture::go(	  const shared_ptr<Shape>&
+void DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely::go(	  const shared_ptr<Shape>&
 						, shared_ptr<Bound>& bv
 						, const Se3r&
 						, const Body* body )
 {}
 	
-YADE_PLUGIN((DontUseThisClassAnymore_itWillBeRemovedInTheFuture));
+YADE_PLUGIN((DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely));

=== modified file 'pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.hpp'
--- pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.hpp	2009-12-11 18:10:19 +0000
+++ pkg/common/Engine/Functor/Bo1_SceneShape_Aabb.hpp	2009-12-14 08:35:15 +0000
@@ -9,7 +9,7 @@
 #pragma once
 #include<yade/pkg-common/BoundFunctor.hpp>
 
-class DontUseThisClassAnymore_itWillBeRemovedInTheFuture : public BoundFunctor
+class DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely : public BoundFunctor
 {
 	public :
 		void go(	  const shared_ptr<Shape>& cm
@@ -17,9 +17,9 @@
 				, const Se3r& se3
 				, const Body* );
 	FUNCTOR2D(SceneShape,AABB);
-	REGISTER_CLASS_NAME(DontUseThisClassAnymore_itWillBeRemovedInTheFuture);
+	REGISTER_CLASS_NAME(DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely);
 	REGISTER_BASE_CLASS_NAME(BoundFunctor);
 };
 
-REGISTER_SERIALIZABLE(DontUseThisClassAnymore_itWillBeRemovedInTheFuture);
+REGISTER_SERIALIZABLE(DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely);
 

=== modified file 'py/system.py'
--- py/system.py	2009-12-13 22:51:22 +0000
+++ py/system.py	2009-12-14 08:35:15 +0000
@@ -76,7 +76,6 @@
 	'MetaInteractingGeometry':'SceneShape', # Fri Dec 11 16:56:06 2009, vaclav@flux
 	'GLDrawMetaInteractingGeometry':'Gl1_SceneShape', # Fri Dec 11 17:00:00 2009, vaclav@flux
 	'GLDrawMetaInteractingGeometry':'Gl1_SceneShape', # Fri Dec 11 17:10:17 2009, vaclav@flux
-	'MetaInteractingGeometry2AABB':'DontUseThisClassAnymore_itWillBeRemovedInTheFuture', # Fri Dec 11 17:10:50 2009, vaclav@flux
 	'SpheresContactGeometry':'ScGeom', # Sun Dec 13 20:59:09 2009, vaclav@flux
 	'InteractingSphere2InteractingSphere4SpheresContactGeometry':'Ig2_Sphere_Sphere_ScGeom', # Sun Dec 13 21:02:31 2009, vaclav@flux
 	'InteractingFacet2InteractingSphere4SpheresContactGeometry':'Ig2_Facet_Sphere_ScGeom', # Sun Dec 13 21:02:57 2009, vaclav@flux
@@ -84,6 +83,7 @@
 	'InteractingSphere':'Sphere', # Sun Dec 13 21:13:40 2009, vaclav@flux
 	'InteractingFacet':'Facet', # Sun Dec 13 21:15:07 2009, vaclav@flux
 	'InteractingBox':'Box', # Sun Dec 13 21:15:16 2009, vaclav@flux
+	'MetaInteractingGeometry2AABB':'DontUseClass_MetaInteractingGeometry2AABB__youCanRemoveItSafelyFromYourSimulation_itWillBeRemovedInTheFutureCompletely', # Mon Dec 14 09:33:20 2009, vaclav@flux
 	### END_RENAMED_CLASSES_LIST ### (do not delete this line; scripts/rename-class.py uses it
 }