Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4591 in orxonox.OLD for orxonox/trunk/src/util


Ignore:
Timestamp:
Jun 10, 2005, 6:21:25 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: restructure class_list.h so it supports inheritance-diagram

File:
1 edited

Legend:

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

    r4519 r4591  
    1 /*! 
     1/*!
    22    \file object_manager.h
    33    \brief this manager will ceep track of the objects  in the world
    4    
     4
    55    This is specially designed to:
    66    - Give an interface to the world data
     
    2525
    2626#include "class_list.h"
    27  
     27
    2828
    2929class WorldEntity;
     
    3333//! This defines the "template" macro function for cache(...)
    3434#define mCache( Class ) \
    35  cache(classList index, int number, Class * copyObject)        \
     35 cache(ClassID index, int number, Class * copyObject)        \
    3636{                                                              \
    3737  this->managedObjectList[index] = new tList<BaseObject>(); \
     
    5151  /** \returns a Pointer to the only object of this Class */
    5252  inline static ObjectManager* getInstance(void) { if (!singletonRef) singletonRef = new ObjectManager();  return singletonRef; };
    53  
     53
    5454  /** a class handled by the objectManage */
    5555  void mCache(Projectile);
Note: See TracChangeset for help on using the changeset viewer.