Changeset 1676 for code/branches/core3/src/core
- Timestamp:
- Aug 28, 2008, 11:50:53 PM (16 years ago)
- Location:
- code/branches/core3/src/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/ConfigFileManager.cc
r1658 r1676 327 327 file.close(); 328 328 329 COUT( 3) << "Loaded config file \"" << this->filename_ << "\"." << std::endl;329 COUT(0) << "Loaded config file \"" << this->filename_ << "\"." << std::endl; 330 330 331 331 // Save the file in case something changed (like stripped whitespaces) -
code/branches/core3/src/core/Factory.cc
r1586 r1676 98 98 } 99 99 (*getFactoryPointer()->identifierStringMap_.begin()).second->stopCreatingHierarchy(); 100 /* 101 for (it = Identifier::getIdentifierMapIntern().begin(); it != Identifier::getIdentifierMapIntern().end(); ++it) 102 (*it).second->createSuperFunctionCaller(); 103 */ 100 104 COUT(3) << "*** Factory: Finished class-hierarchy creation" << std::endl; 101 105 } -
code/branches/core3/src/core/Identifier.cc
r1610 r1676 145 145 // Tell the parent we're one of it's direct children 146 146 (*it)->getDirectChildrenIntern().insert((*it)->getDirectChildrenIntern().end(), this); 147 148 // Create the super-function dependencies 149 (*it)->createSuperFunctionCaller(); 147 150 } 148 151 } -
code/branches/core3/src/core/Identifier.h
r1610 r1676 62 62 #include "MetaObjectList.h" 63 63 #include "Iterator.h" 64 #undef SUPER_INTRUSIVE 65 #include "Super.h" 64 66 #include "util/Debug.h" 65 67 #include "util/String.h" … … 224 226 static Identifier* getIdentifierSingleton(const std::string& name, Identifier* proposal); 225 227 228 virtual void createSuperFunctionCaller() const = 0; 229 226 230 /** @brief Returns the map that stores all Identifiers. @return The map */ 227 231 static std::map<std::string, Identifier*>& getIdentifierMapIntern(); … … 229 233 static std::map<std::string, Identifier*>& getLowercaseIdentifierMapIntern(); 230 234 231 bool bCreatedOneObject_; //!< True if at least one object of the given type was created (used to determine the need of storing the parents)232 ObjectListBase* objects_; //!< The list of all objects of this class233 234 private:235 235 /** @brief Returns the children of the class the Identifier belongs to. @return The list of all children */ 236 236 inline std::set<const Identifier*>& getChildrenIntern() const { return (*this->children_); } … … 238 238 inline std::set<const Identifier*>& getDirectChildrenIntern() const { return (*this->directChildren_); } 239 239 240 bool bCreatedOneObject_; //!< True if at least one object of the given type was created (used to determine the need of storing the parents) 241 ObjectListBase* objects_; //!< The list of all objects of this class 242 243 private: 240 244 /** 241 245 @brief Increases the hierarchyCreatingCounter_s variable, causing all new objects to store their parents. … … 295 299 class ClassIdentifier : public Identifier 296 300 { 301 #define SUPER_INTRUSIVE_DECLARATION 302 #include "Super.h" 303 297 304 public: 298 305 static ClassIdentifier<T> *getIdentifier(); … … 311 318 312 319 private: 313 ClassIdentifier() {} 320 ClassIdentifier() 321 { 322 #define SUPER_INTRUSIVE_CONSTRUCTOR 323 #include "Super.h" 324 } 314 325 ClassIdentifier(const ClassIdentifier<T>& identifier) {} // don't copy 315 326 ~ClassIdentifier() {} // don't delete
Note: See TracChangeset
for help on using the changeset viewer.