Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/lib/event/event_handler.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/lib/event/event_handler.cc

    r4457 r4519  
    5555*/
    5656EventHandler* EventHandler::singletonRef = NULL;
    57 
    58 
    59 /**
    60    \returns a Pointer to this Class
    61 */
    62 EventHandler* EventHandler::getInstance(void)
    63 {
    64   if (!EventHandler::singletonRef)
    65     EventHandler::singletonRef = new EventHandler();
    66   return EventHandler::singletonRef;
    67 }
    6857
    6958
Note: See TracChangeset for help on using the changeset viewer.