Changeset 3533 in orxonox.OLD for orxonox/trunk/src/lib/coord
- Timestamp:
- Mar 13, 2005, 11:19:00 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/coord
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/helper_parent.cc
r3488 r3533 39 39 \todo this deconstructor is not jet implemented - do it 40 40 */ 41 HelperParent::~HelperParent () {} 41 HelperParent::~HelperParent () 42 { 43 this->destroy(); 44 } 42 45 46 47 /** 48 \brief destroys all allocated memory 49 */ 50 void HelperParent::destroy(void) 51 { 52 53 54 static_cast<PNode*>(this)->destroy(); 55 } -
orxonox/trunk/src/lib/coord/helper_parent.h
r3488 r3533 17 17 public: 18 18 HelperParent (); 19 ~HelperParent ();20 19 virtual ~HelperParent (); 20 void destroy(void); 21 21 22 22 }; -
orxonox/trunk/src/lib/coord/null_parent.cc
r3529 r3533 61 61 NullParent::~NullParent () 62 62 { 63 this->destroy(); 64 } 65 66 /** 67 \brief destroys all allocated memory 68 */ 69 void NullParent::destroy(void) 70 { 63 71 //delete singletonRef; 64 72 singletonRef = NULL; 73 74 static_cast<PNode*>(this)->destroy(); 65 75 } 66 67 76 68 77 -
orxonox/trunk/src/lib/coord/null_parent.h
r3488 r3533 16 16 public: 17 17 static NullParent* getInstance (); 18 ~NullParent (); 18 virtual ~NullParent (); 19 void destroy(void); 19 20 21 20 22 static NullParent* singletonRef; 21 23
Note: See TracChangeset
for help on using the changeset viewer.