Changeset 3533 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 13, 2005, 11:19:00 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 6 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 -
orxonox/trunk/src/track_node.cc
r3528 r3533 66 66 TrackNode::~TrackNode () 67 67 { 68 singletonRef = NULL;68 this->destroy(); 69 69 } 70 70 71 /** 72 \brief destroys the TrackNode and all its alocated memory. 73 */ 74 void TrackNode::destroy(void) 75 { 76 singletonRef = NULL; 77 78 static_cast<PNode*>(this)->destroy(); 79 } -
orxonox/trunk/src/track_node.h
r3522 r3533 21 21 public: 22 22 static TrackNode* getInstance (); 23 ~TrackNode ();24 23 virtual ~TrackNode (); 24 void destroy(); 25 25 26 26 private:
Note: See TracChangeset
for help on using the changeset viewer.