Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/util/object_manager.h @ 5790

Last change on this file since 5790 was 5750, checked in by bensch, 19 years ago

orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD

conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk

File size: 784 bytes
RevLine 
[4838]1/*!
[5629]2 * @file object_manager.h
[4838]3 * @brief Definition of the ... singleton Class
[3655]4*/
5
[5629]6#ifndef _OBJECT_MANAGER_H
7#define _OBJECT_MANAGER_H
[3655]8
9#include "base_object.h"
[5682]10#include <list>
[3655]11
[5405]12// FORWARD DECLARATION
[3655]13
[5682]14
15class ObjectGroupList
16{
17
18
19
20};
21
22
[3655]23//! A default singleton class.
[5629]24class ObjectManager : public BaseObject {
[3655]25
26 public:
[5629]27  virtual ~ObjectManager(void);
[4838]28  /** @returns a Pointer to the only object of this Class */
[5629]29  inline static ObjectManager* getInstance(void) { if (!ObjectManager::singletonRef) ObjectManager::singletonRef = new ObjectManager();  return ObjectManager::singletonRef; };
[3655]30
[5682]31
32  ObjectGroupList* getGroupList( );
33
[3655]34 private:
[5629]35  ObjectManager(void);
36  static ObjectManager* singletonRef;
[5682]37
38  std::list<ObjectGroupList>           groupList;
39
40
[3655]41};
42
[5629]43#endif /* _OBJECT_MANAGER_H */
Note: See TracBrowser for help on using the repository browser.