Changeset 4764 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jul 2, 2005, 1:55:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.