- Timestamp:
- Mar 24, 2013, 8:51:37 PM (11 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/object/Destroyable.cc
r9565 r9570 29 29 /** 30 30 @file 31 @brief Implementation of OrxonoxClass.31 @brief Implementation of Destroyable. 32 32 */ 33 33 34 #include " OrxonoxClass.h"34 #include "Destroyable.h" 35 35 36 36 #include <cassert> 37 #include "core/object/MetaObjectList.h"38 #include "core/object/Context.h"39 #include "Identifier.h"40 37 41 38 namespace orxonox … … 44 41 @brief Constructor: Sets the default values. 45 42 */ 46 OrxonoxClass::OrxonoxClass()43 Destroyable::Destroyable() 47 44 { 48 45 this->referenceCount_ = 0; … … 53 50 @brief Destructor: Notifies all DestructionListener (for example @ref WeakPtr "weak pointers") that this object is being deleted. 54 51 */ 55 OrxonoxClass::~OrxonoxClass()52 Destroyable::~Destroyable() 56 53 { 57 54 assert(this->referenceCount_ <= 0); … … 65 62 @brief Deletes the object if no @ref orxonox::SmartPtr "smart pointers" point to this object. Otherwise schedules the object to be deleted as soon as possible. 66 63 */ 67 void OrxonoxClass::destroy()64 void Destroyable::destroy() 68 65 { 69 66 assert(this); // Just in case someone tries to delete a NULL pointer
Note: See TracChangeset
for help on using the changeset viewer.