Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4448 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Jun 1, 2005, 10:55:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: doxygen-tags, and cleanup of NullParent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/null_parent.cc

    r4444 r4448  
    2424NullParent* NullParent::singletonRef = 0;
    2525
     26/**
     27   \returns the Reference to the NullParent
     28*/
    2629NullParent* NullParent::getInstance ()
    2730{
     
    3134}
    3235
     36/**
     37   \brief creates the one and only NullParent
     38   \param absCoordinate the cordinate of the Parent (normally Vector(0,0,0))
     39*/
    3340NullParent::NullParent (const Vector& absCoordinate) : PNode (absCoordinate, NULL)
    3441{
     42  this->setClassID(CL_NULL_PARENT, "NullParent");
    3543  this->setName("NullParent");
    36   this->setClassID(CL_NULL_PARENT, "NullParent");
     44
     45  this->setParentMode(PNODE_ALL);
    3746  NullParent::singletonRef = this;
    38   this->setParentMode(PNODE_ALL);
    3947}
    4048
     
    4250/**
    4351   \brief standard deconstructor
    44 
    45    \todo this deconstructor is not jet implemented - do it
    4652*/
    4753NullParent::~NullParent ()
    4854{
    4955  //delete singletonRef;
    50   singletonRef = NULL;
     56  NullParent::singletonRef = NULL;
    5157}
Note: See TracChangeset for help on using the changeset viewer.