Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/ObjectList.h @ 197

Last change on this file since 197 was 197, checked in by landauf, 16 years ago

i didnt changed much:

  • separated the classes into several files
  • did some tests: it works with cc files (@ bensch)
  • finished BaseIdentifier
File size: 587 bytes
Line 
1#ifndef _ObjectList_H__
2#define _ObjectList_H__
3
4namespace orxonox
5{
6    class OrxonoxClass;
7
8    class ObjectListElement
9    {
10        public:
11            ObjectListElement(OrxonoxClass* object);
12            ~ObjectListElement();
13
14            OrxonoxClass* object_;
15            ObjectListElement* next_;
16    };
17
18    class ObjectList
19    {
20        public:
21            ObjectList();
22            ~ObjectList();
23            void add(OrxonoxClass* object);
24            void remove(OrxonoxClass* object);
25
26            ObjectListElement* first_;
27    };
28}
29
30#endif
Note: See TracBrowser for help on using the repository browser.