Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/util/object_manager.cc


Ignore:
Timestamp:
Jun 6, 2005, 2:36:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed all getInstances into inline functions to save some (minor) time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/object_manager.cc

    r4485 r4519  
    4444*/
    4545ObjectManager* ObjectManager::singletonRef = NULL;
    46 
    47 /**
    48    \returns a Pointer to this Class
    49 */
    50 ObjectManager* ObjectManager::getInstance(void)
    51 {
    52   if (!ObjectManager::singletonRef)
    53     ObjectManager::singletonRef = new ObjectManager();
    54   return ObjectManager::singletonRef;
    55 }
    56 
    5746
    5847/**
Note: See TracChangeset for help on using the changeset viewer.