Changeset 1263 for code/branches/merge/src/core
- Timestamp:
- May 13, 2008, 3:45:19 PM (17 years ago)
- Location:
- code/branches/merge/src/core
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/core/BaseObject.cc
r1209 r1263 45 45 @brief Constructor: Registers the object in the BaseObject-list. 46 46 */ 47 BaseObject::BaseObject() 47 BaseObject::BaseObject() : 48 bActive_(true), 49 bVisible_(true), 50 level_(0), 51 namespace_(0) 48 52 { 49 53 RegisterRootObject(BaseObject); 50 51 this->bActive_ = true;52 this->bVisible_ = true;53 this->level_ = 0;54 this->namespace_ = 0;55 54 } 56 55 -
code/branches/merge/src/core/CoreIncludes.h
r1062 r1263 59 59 if (orxonox::Identifier::isCreatingHierarchy() && this->getParents()) \ 60 60 this->getParents()->insert(this->getParents()->end(), this->getIdentifier()); \ 61 orxonox::ClassManager<ClassName>::getIdentifier()->addObject(this) 61 orxonox::ClassManager<ClassName>::getIdentifier()->addObject(this); \ 62 if (orxonox::Identifier::isCreatingHierarchy()) \ 63 return 62 64 63 65 /** -
code/branches/merge/src/core/Debug.h
r1219 r1263 273 273 #define CCOUT_EXEC(x) \ 274 274 orxonox::OutputHandler::getOutStream().setOutputLevel(x) \ 275 << "*** " <<this->getIdentifier()->getName() << ": "275 << this->getIdentifier()->getName() << ": " 276 276 277 277 #ifndef CCOUT -
code/branches/merge/src/core/Error.cc
r1062 r1263 37 37 namespace orxonox 38 38 { 39 Error::Error()40 {41 Error(0,"");42 }43 44 39 Error::Error(std::string errorMsg, int errorCode) 45 {46 Error(errorCode, errorMsg);47 }48 49 Error::Error(int errorCode, std::string errorMsg)50 40 { 51 41 COUT(1) << "############################ "<< std::endl -
code/branches/merge/src/core/Error.h
r1062 r1263 44 44 { 45 45 public: 46 Error(); 47 Error(std::string errorMsg, int errorCode = 0); 48 Error(int errorCode, std::string errorMsg = ""); 46 Error(std::string errorMsg = "", int errorCode = 0); 49 47 private: 50 48 -
code/branches/merge/src/core/Namespace.cc
r1062 r1263 37 37 CreateFactory(Namespace); 38 38 39 Namespace::Namespace() 39 Namespace::Namespace() : 40 bAutogeneratedFileRootNamespace_(false), 41 bRoot_(false), 42 operator_("or") 40 43 { 41 44 RegisterObject(Namespace); 42 43 this->bAutogeneratedFileRootNamespace_ = false;44 this->bRoot_ = false;45 this->operator_ = "or";46 45 } 47 46 -
code/branches/merge/src/core/OrxonoxClass.cc
r1056 r1263 37 37 { 38 38 /** @brief Constructor: Sets the default values. */ 39 OrxonoxClass::OrxonoxClass() 39 OrxonoxClass::OrxonoxClass() : 40 identifier_(0), 41 parents_(0) 40 42 { 41 43 this->setConfigValues(); 42 43 this->identifier_ = 0;44 this->parents_ = 0;45 44 } 46 45
Note: See TracChangeset
for help on using the changeset viewer.