Changeset 4448 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc
- Timestamp:
- Jun 1, 2005, 10:55:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/null_parent.cc
r4444 r4448 24 24 NullParent* NullParent::singletonRef = 0; 25 25 26 /** 27 \returns the Reference to the NullParent 28 */ 26 29 NullParent* NullParent::getInstance () 27 30 { … … 31 34 } 32 35 36 /** 37 \brief creates the one and only NullParent 38 \param absCoordinate the cordinate of the Parent (normally Vector(0,0,0)) 39 */ 33 40 NullParent::NullParent (const Vector& absCoordinate) : PNode (absCoordinate, NULL) 34 41 { 42 this->setClassID(CL_NULL_PARENT, "NullParent"); 35 43 this->setName("NullParent"); 36 this->setClassID(CL_NULL_PARENT, "NullParent"); 44 45 this->setParentMode(PNODE_ALL); 37 46 NullParent::singletonRef = this; 38 this->setParentMode(PNODE_ALL);39 47 } 40 48 … … 42 50 /** 43 51 \brief standard deconstructor 44 45 \todo this deconstructor is not jet implemented - do it46 52 */ 47 53 NullParent::~NullParent () 48 54 { 49 55 //delete singletonRef; 50 singletonRef = NULL;56 NullParent::singletonRef = NULL; 51 57 }
Note: See TracChangeset
for help on using the changeset viewer.