Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 5 and Version 6 of code/doc/ClassFactory


Ignore:
Timestamp:
Apr 12, 2017, 10:34:34 PM (8 years ago)
Author:
landauf
Comment:

fixed links

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/ClassFactory

    v5 v6  
    11= !ClassFactory =
    2 [[TracNav(TracNav/TOC_Development)]]
    32
    43== Description ==
    54
    6 The !ClassFactory is a template, creating objects of the specified template argument. Every class calling the '''CreateFactory('''''classname''''')''' macro from [wiki:CoreIncludes] has a !ClassFactory in its [wiki:Identifier] to create new objects with the fabricate() function.
     5The !ClassFactory is a template, creating objects of the specified template argument. Every class calling the '''!CreateFactory('''''classname''''')''' macro from [wiki:CoreIncludes] has a !ClassFactory in its [wiki:Identifier] to create new objects with the fabricate() function.
    76
    87Additionally the !ClassFactory helps creating the class hierarchy. To generate the class tree, instances of the leaves of the tree have to be created. But only classes with an existing !ClassFactory can be created. Of course the class tree can be created on the fly, but the earlier an object gets created, the earlier informations like the name of the class are available in the Identifier. That's why the !ClassFactory plays an important role.