Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/lang/new_class_id.h @ 9663

Last change on this file since 9663 was 9663, checked in by bensch, 18 years ago

more work on classID's

File size: 502 bytes
Line 
1/*!
2 * @file new_class_id.h
3 * @brief Definition of a dynamically allocating ClassID
4 *
5 */
6
7#ifndef _NEW_CLASS_ID_H
8#define _NEW_CLASS_ID_H
9
10#include "type_info.h"
11#include <set>
12#include <string>
13
14#include "new_object_list.h"
15
16//! A class to dynamically allocate ClassID's and support a isA operator
17class NewClassID
18{
19public:
20  NewClassID();
21  ~NewClassID();
22
23  void registerObject(NewObjectListBase* object);
24
25private:
26  std::string                   _className;
27
28};
29
30
31#endif /* _NEW_CLASS_ID_H */
Note: See TracBrowser for help on using the repository browser.