Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of code/howto/ConfigValue


Ignore:
Timestamp:
Apr 12, 2017, 11:46:00 PM (8 years ago)
Author:
landauf
Comment:

fixed links

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/ConfigValue

    v3 v4  
    11= HowTo: ConfigValue =
    2 [[TracNav(TracNav/TOC_Development)]]
    32[[TOC]]
    43
     
    76
    87To use config-values in your class, you have to follow those steps:
    9  1. Inherit from [wiki:OrxonoxClass] or a derivative
     8 1. Inherit from [wiki:doc/OrxonoxClass] or a derivative
    109 1. Then you have to add {{{void setConfigValues()}}} to the class
    11  1. Include [wiki:ConfigValueIncludes core/ConfigValueIncludes.h] in the source file
     10 1. Include [wiki:doc/ConfigValueIncludes core/ConfigValueIncludes.h] in the source file
    1211 1. Add '''SetConfigValue('''''variable, defaultvalue''''')''' macro-calls into {{{setConfigValues()}}}
    1312 1. Call {{{setConfigValues()}}} from the constructor of your class
     
    181180== More ==
    182181There are many other features that come with config-values, for example configurable arrays or modifier functions. Read the related wiki page to learn more:
    183  * [wiki:ConfigValueIncludes]
     182 * [wiki:doc/ConfigValueIncludes]