Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4871 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.h


Ignore:
Timestamp:
Jul 15, 2005, 1:22:52 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: classList is now able to show Information on single Classes

File:
1 edited

Legend:

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

    r4836 r4871  
    1 /*! 
     1/*!
    22    \file null_parent.h
    33  *  Definition of the NullParent, the higest PNode of them all.
     
    1313class NullParent : public PNode {
    1414
    15  public:
    16   static NullParent* getInstance ();
    17   virtual ~NullParent ();
     15  public:
     16    /** @returns a Pointer to the only object of this Class */
     17    inline static NullParent* getInstance() { if (!singletonRef) singletonRef = new NullParent();  return singletonRef; };
     18    virtual ~NullParent ();
    1819
    19  private:
    20   NullParent (const Vector& absCoordinate = Vector());
     20  private:
     21    NullParent (const Vector& absCoordinate = Vector());
    2122
    22  private:
    23   static NullParent* singletonRef;        //!< A reference to the NullParent
     23  private:
     24    static NullParent* singletonRef;        //!< A reference to the NullParent
    2425
    2526};
Note: See TracChangeset for help on using the changeset viewer.