- Timestamp:
- Jul 2, 2005, 1:55:44 AM (19 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/ChangeLog
r4756 r4764 1 1 2005-07-01 Benjamin Grauer <bensch@orxonox.ethz.ch> 2 2 Implemented ClassList.h: 3 an interface to BaseObject saving all instances in Lists. 3 an interface to BaseObject saving all instances in Lists. 4 It also enables loadability-identifiers. 5 To decide is, if this approach is fast enough. 4 6 5 7 2005-06-10 Benjamin Grauer <bensch@orxonox.ethz.ch> -
orxonox/trunk/src/lib/lang/class_list.h
r4761 r4764 17 17 //! A class that handles Pointers to Objects of all type. 18 18 /** 19 here all the Pointers to all the Object of orxonox are stored, that implement BaseObject 20 for now, this is only for debugging reasons, and we should be able to detect undeleted 21 Objects. 19 * here all the Pointers to all the Object of orxonox are stored, that implement BaseObject 20 * for now. 21 * You can get Any Object's Reference to BaseObject with dynamic_cast<T>(ClassList::getObject(name, CL_T_NAME)); 22 * where: T: is the Class to cast to, 23 * name: the name of the Object (not className) 24 * CL_T_NAME: the class Identifier, (if CL_NULL or nothing it will take longer, because all BaseObject's are searched through) 25 * 26 * There is also the exists-function, that just checks, if a Reference is still in existence. 27 * 28 * @see ClassID, BaseObject, dynamic_cast 22 29 */ 23 30 class ClassList {
Note: See TracChangeset
for help on using the changeset viewer.