Changeset 6540 for code/trunk/src/modules/pickup/PickupManager.cc
- Timestamp:
- Mar 16, 2010, 9:35:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupManager.cc
r6524 r6540 28 28 29 29 /** 30 @file 30 @file PickupManager.cc 31 31 @brief Implementation of the PickupManager class. 32 32 */ … … 50 50 Constructor. Registers the PickupManager and creates the default PickupRepresentation. 51 51 */ 52 PickupManager::PickupManager() 52 PickupManager::PickupManager() : defaultRepresentation_(NULL) 53 53 { 54 this->defaultRepresentation_ = NULL;55 this->pickupCarrierStructure_ = NULL;56 54 RegisterRootObject(PickupManager); 57 55 … … 68 66 if(this->defaultRepresentation_ != NULL) 69 67 this->defaultRepresentation_->destroy(); 70 71 if(this->pickupCarrierStructure_ != NULL)72 delete this->pickupCarrierStructure_;73 68 } 74 69 … … 84 79 Returns true if successful and false if not. 85 80 */ 86 //TODO: Make sure that either the PickupRepresentation is destroyed upon destruction of the PickupManager if the representation wasn't created with XMLPort.87 81 bool PickupManager::registerRepresentation(const PickupIdentifier* identifier, PickupRepresentation* representation) 88 82 {
Note: See TracChangeset
for help on using the changeset viewer.