Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4764 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jul 2, 2005, 1:55:44 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer description of the class_list.h, little changelog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/lang/class_list.h

    r4761 r4764  
    1717//! A class that handles Pointers to Objects of all type.
    1818/**
    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
    2229 */
    2330class ClassList {
Note: See TracChangeset for help on using the changeset viewer.