Changeset 496 for code/branches/FICN/src/orxonox/core/Identifier.cc
- Timestamp:
- Dec 12, 2007, 10:37:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/Identifier.cc
r384 r496 12 12 // ############################### 13 13 int Identifier::hierarchyCreatingCounter_s = 0; // Set the static member variable hierarchyCreatingCounter_s to zero 14 unsigned int Identifier::classIDcounter_s = 0; // Set the static member variable classIDcounter_s to zero14 unsigned int Identifier::classIDcounter_s = 0; // Set the static member variable classIDcounter_s to zero 15 15 16 16 /** … … 41 41 void Identifier::initialize(const IdentifierList* parents) 42 42 { 43 #if HIERARCHY_VERBOSE 44 std::cout << "*** Initialize " << this->name_ << "-Singleton.\n"; 45 #endif 43 COUT(4) << "*** Initialize " << this->name_ << "-Singleton.\n"; 46 44 this->bCreatedOneObject_ = true; 47 45 … … 72 70 { 73 71 // Abstract classes don't have a factory and therefore can't create new objects 74 std::cout<< "Error: Cannot create an object of type '" << this->name_ << "'. Class is abstract.\n";75 std::cout<< "Aborting...";72 COUT(1) << "Error: Cannot create an object of type '" << this->name_ << "'. Class is abstract.\n"; 73 COUT(1) << "Aborting..."; 76 74 abort(); 77 75 } … … 79 77 80 78 /** 81 @brief Sets the network ID to a new value and changes the entry in the Factory.82 @param id The new network ID79 @brief Sets the network ID to a new value and changes the entry in the Factory. 80 @param id The new network ID 83 81 */ 84 82 void Identifier::setNetworkID(unsigned int id)
Note: See TracChangeset
for help on using the changeset viewer.