Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4764 in orxonox.OLD for orxonox


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

Location:
orxonox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/ChangeLog

    r4756 r4764  
    112005-07-01      Benjamin Grauer <bensch@orxonox.ethz.ch>
    22        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.
    46
    572005-06-10      Benjamin Grauer <bensch@orxonox.ethz.ch>
  • 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.