Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/util/loading


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

Location:
orxonox/trunk/src/util/loading
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/loading/factory.cc

    r4739 r4836  
    2626
    2727/**
    28    \brief constructor
     28 * constructor
    2929
    3030   set everything to zero and define factoryName
     
    4444
    4545/**
    46    \brief destructor
     46 * destructor
    4747
    4848   clear the Q
     
    5858
    5959/**
    60    \brief add a Factory to the Factory Queue
    61    \param factory a Factory to be registered
     60 * add a Factory to the Factory Queue
     61 * @param factory a Factory to be registered
    6262*/
    6363void Factory::registerFactory( Factory* factory)
  • orxonox/trunk/src/util/loading/factory.h

    r4746 r4836  
    3333    Creates a factory to a Loadable Class.
    3434    this should be used at the beginning of all the Classes that should be loadable (in the cc-file)
    35   \todo make factoryName a BaseObject-parameter. (else it would be redundant)
     35  @todo make factoryName a BaseObject-parameter. (else it would be redundant)
    3636*/
    3737#define CREATE_FACTORY(CLASS_NAME) tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(#CLASS_NAME)
     
    4848
    4949  static void registerFactory( Factory* factory);
    50   /** \brief sets the Next factory in the list \param nextFactory the next factory */
     50  /** \brief sets the Next factory in the list @param nextFactory the next factory */
    5151  inline void setNext( Factory* nextFactory) { this->next = nextFactory; };
    52   /** \returns the first factory */
     52  /** @returns the first factory */
    5353  static Factory* getFirst() { return Factory::first; };
    54   /** \returns the next factory */
     54  /** @returns the next factory */
    5555  Factory* getNext() const { return this->next; };
    5656
     
    6464
    6565/**
    66    \brief a factory that is able to load any kind of Object
     66 * a factory that is able to load any kind of Object
    6767   (this is a Functor)
    6868*/
     
    7878
    7979/**
    80    \brief construnts a factory with
    81    \param factoryName the name of the factory
     80 * construnts a factory with
     81 * @param factoryName the name of the factory
    8282*/
    8383template<class T>
  • orxonox/trunk/src/util/loading/game_loader.cc

    r4817 r4836  
    3737
    3838/**
    39    \brief simple constructor
     39 * simple constructor
    4040*/
    4141GameLoader::GameLoader ()
     
    4747
    4848/**
    49    \brief simple deconstructor
     49 * simple deconstructor
    5050*/
    5151GameLoader::~GameLoader ()
     
    5959
    6060/**
    61    \brief this class is a singleton class
    62    \returns an instance of itself
     61 * this class is a singleton class
     62 * @returns an instance of itself
    6363
    6464   if you are unsure about singleton classes, check the theory out on the internet :)
     
    7272
    7373/**
    74    \brief initializes the GameLoader
     74 * initializes the GameLoader
    7575*/
    7676ErrorMessage GameLoader::init()
     
    8888
    8989/**
    90    \brief reads a campaign definition file into a campaign class
    91    \param fileName to be loaded
    92    \returns the loaded campaign
     90 * reads a campaign definition file into a campaign class
     91 * @param fileName to be loaded
     92 * @returns the loaded campaign
    9393
    9494   this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns
     
    109109
    110110/**
    111    \brief loads a debug campaign for test purposes only.
    112    \param campaignID the identifier of the campaign.
    113    \returns error message if not able to do so.
     111 * loads a debug campaign for test purposes only.
     112 * @param campaignID the identifier of the campaign.
     113 * @returns error message if not able to do so.
    114114*/
    115115ErrorMessage GameLoader::loadDebugCampaign(Uint32 campaignID)
     
    147147
    148148/**
    149     \brief starts the current entity
    150     \returns error code if this action has caused a error
     149  * starts the current entity
     150  * @returns error code if this action has caused a error
    151151*/
    152152ErrorMessage GameLoader::start()
     
    158158
    159159/**
    160     \brief stops the current entity
    161     \returns error code if this action has caused a error
     160  * stops the current entity
     161  * @returns error code if this action has caused a error
    162162
    163163    ATTENTION: this function shouldn't call other functions, or if so, they must return
     
    175175
    176176/**
    177     \brief pause the current entity
    178     \returns error code if this action has caused a error
     177  * pause the current entity
     178  * @returns error code if this action has caused a error
    179179
    180180    this pauses the current entity or passes this call forth to the running entity.
     
    189189
    190190/**
    191     \brief resumes a pause
    192     \returns error code if this action has caused a error
     191  * resumes a pause
     192  * @returns error code if this action has caused a error
    193193
    194194    this resumess the current entity or passes this call forth to the running entity.
     
    203203
    204204/**
    205    \brief release the mem ATTENTION: not implemented
     205 * release the mem ATTENTION: not implemented
    206206 */
    207207ErrorMessage GameLoader::destroy()
     
    212212
    213213/**
    214    \brief reads a campaign definition file into a campaign class
    215    \param fileName to be loaded
    216    \returns the loaded campaign
     214 * reads a campaign definition file into a campaign class
     215 * @param fileName to be loaded
     216 * @returns the loaded campaign
    217217
    218218   this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns
     
    264264
    265265/**
    266    \brief handle keyboard commands
    267    \param event the event to handle
     266 * handle keyboard commands
     267 * @param event the event to handle
    268268*/
    269269void GameLoader::process(const Event& event)
     
    322322
    323323/**
    324    \brief load a StoryEntity
    325    \param element a XMLElement containing all the needed info
     324 * load a StoryEntity
     325 * @param element a XMLElement containing all the needed info
    326326*/
    327327BaseObject* GameLoader::fabricate(const TiXmlElement* element)
  • orxonox/trunk/src/util/loading/game_loader.h

    r4739 r4836  
    11/*!
    22    \file game_loader.h
    3     \brief loads campaigns, worlds and all other story_entities
     3  * loads campaigns, worlds and all other story_entities
    44*/
    55
     
    5757  void previousLevel();
    5858
    59   /** \brief a world command to send to the GameLoader \param cmd the command */
     59  /** \brief a world command to send to the GameLoader @param cmd the command */
    6060  bool worldCommand(Command* cmd);
    6161  ErrorMessage loadDebugCampaign(Uint32 campaignID);
  • orxonox/trunk/src/util/loading/load_param.cc

    r4746 r4836  
    2222
    2323/**
    24    \param object The object this Parameter is loaded too.
    25    \param root: the XML-element to load this option from.
    26    \param paramName: The name of the parameter loaded.
    27    \param paramCount: how many parameters this loading-function takes
    28    \param multi: if false LoadParam assumes only one occurence of this parameter in root, if true it assumes multiple occurences.
    29    \param ...: the parameter information (1. Parameter, 2. Default Value for the Parameter, ...)
     24 * @param object The object this Parameter is loaded too.
     25 * @param root: the XML-element to load this option from.
     26 * @param paramName: The name of the parameter loaded.
     27 * @param paramCount: how many parameters this loading-function takes
     28 * @param multi: if false LoadParam assumes only one occurence of this parameter in root, if true it assumes multiple occurences.
     29 * @param ...: the parameter information (1. Parameter, 2. Default Value for the Parameter, ...)
    3030*/
    3131BaseLoadParam::BaseLoadParam(const TiXmlElement* root, BaseObject* object, const char* paramName,
     
    152152
    153153/**
    154    \param descriptionText The text to set as a description for this Parameter
    155    \returns a pointer to itself.
     154 * @param descriptionText The text to set as a description for this Parameter
     155 * @returns a pointer to itself.
    156156*/
    157157BaseLoadParam* BaseLoadParam::describe(const char* descriptionText)
     
    165165
    166166/**
    167    \param paramName the name of the parameter to load
     167 * @param paramName the name of the parameter to load
    168168*/
    169169LoadParamDescription::LoadParamDescription(const char* paramName)
     
    177177
    178178/**
    179    \brief removes all the alocated memory
     179 * removes all the alocated memory
    180180*/
    181181LoadParamDescription::~LoadParamDescription()
     
    197197
    198198/**
    199    \param descriptionText The text to set as a description for this Parameter
     199 * @param descriptionText The text to set as a description for this Parameter
    200200*/
    201201void LoadParamDescription::setDescription(const char* descriptionText)
     
    206206
    207207/**
    208    \brief prints out this parameter, its input method and the description (if availiable)
     208 * prints out this parameter, its input method and the description (if availiable)
    209209*/
    210210void LoadParamDescription::print() const
     
    243243
    244244/**
    245    \brief A list, that holds all the classes that are loadable (classes not objects!!)
     245 * A list, that holds all the classes that are loadable (classes not objects!!)
    246246*/
    247247tList<LoadClassDescription>* LoadClassDescription::classList = new tList<LoadClassDescription>;
    248248
    249249/**
    250    \brief if the description of Parameters should be executed
     250 * if the description of Parameters should be executed
    251251*/
    252252bool LoadClassDescription::parametersDescription = true;
    253253
    254254/**
    255    \param className the name of the class to be loadable
     255 * @param className the name of the class to be loadable
    256256*/
    257257LoadClassDescription::LoadClassDescription(const char* className)
     
    266266
    267267/**
    268    \brief deletes a classDescription (deletes all the parameterDescriptions as well
     268 * deletes a classDescription (deletes all the parameterDescriptions as well
    269269*/
    270270LoadClassDescription::~LoadClassDescription()
     
    283283
    284284/**
    285    \brief adds a class to the list of loadable classes
    286    \param className The name of the class to add
     285 * adds a class to the list of loadable classes
     286 * @param className The name of the class to add
    287287
    288288   this function searches for the className string, and if found just returns the appropriate Class.
     
    308308
    309309/**
    310    \brief does the same as addClass(const char* className), but with params
    311    \param paramName the name of the parameter to add.
     310 * does the same as addClass(const char* className), but with params
     311 * @param paramName the name of the parameter to add.
    312312*/
    313313LoadParamDescription* LoadClassDescription::addParam(const char* paramName)
     
    331331
    332332/**
    333    \brief prints out all loadable Classes, and their parameters
     333 * prints out all loadable Classes, and their parameters
    334334*/
    335335void LoadClassDescription::printAll(const char* fileName)
     
    361361
    362362/**
    363    \param root: The XML-element to grab a parameter from
    364    \param parameterName: the parameter to grab
    365    \returns the Value of the parameter if found, NULL otherwise
     363 * @param root: The XML-element to grab a parameter from
     364 * @param parameterName: the parameter to grab
     365 * @returns the Value of the parameter if found, NULL otherwise
    366366*/
    367367const char* grabParameter(const TiXmlElement* root, const char* parameterName)
  • orxonox/trunk/src/util/loading/load_param.h

    r4834 r4836  
    1616/*!
    1717    \file load_param.h
    18     \brief A Class and macro-functions, that makes our lives easy to load-in parameters
     18  * A Class and macro-functions, that makes our lives easy to load-in parameters
    1919*/
    2020
     
    111111// 1. TYPE
    112112/**
    113    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 1 argument
    114    \param type1 The type of the first functionParameter
     113 * a Macro to easily implement many different Constructors for the LoadParam-Class with 1 argument
     114 * @param type1 The type of the first functionParameter
    115115*/
    116116#define LoadParam1(type1) \
     
    128128// 2. TYPES
    129129/**
    130    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 2 arguments
    131    \param type1 The type of the first functionParameter
    132    \param type2 The type of the second functionParameter
     130 * a Macro to easily implement many different Constructors for the LoadParam-Class with 2 arguments
     131 * @param type1 The type of the first functionParameter
     132 * @param type2 The type of the second functionParameter
    133133*/
    134134#define LoadParam2(type1, type2) \
     
    153153// 3. TYPES
    154154/**
    155    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 3 arguments
    156    \param type1 The type of the first functionParameter
    157    \param type2 The type of the second functionParameter
    158    \param type3 The type of the third functionParameter
     155 * a Macro to easily implement many different Constructors for the LoadParam-Class with 3 arguments
     156 * @param type1 The type of the first functionParameter
     157 * @param type2 The type of the second functionParameter
     158 * @param type3 The type of the third functionParameter
    159159*/
    160160#define LoadParam3(type1, type2, type3) \
     
    179179// 4. TYPES
    180180/**
    181    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 4 arguments
    182    \param type1 The type of the first functionParameter
    183    \param type2 The type of the second functionParameter
    184    \param type3 The type of the third functionParameter
    185    \param type4 The type of the forth functionParameter
     181 * a Macro to easily implement many different Constructors for the LoadParam-Class with 4 arguments
     182 * @param type1 The type of the first functionParameter
     183 * @param type2 The type of the second functionParameter
     184 * @param type3 The type of the third functionParameter
     185 * @param type4 The type of the forth functionParameter
    186186*/
    187187#define LoadParam4(type1, type2, type3, type4) \
     
    208208// 5. TYPES
    209209/**
    210    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with 5 arguments
    211    \param type1 The type of the first functionParameter
    212    \param type2 The type of the second functionParameter
    213    \param type3 The type of the third functionParameter
    214    \param type4 The type of the forth functionParameter
    215    \param type5 The type of the fifth functionParameter
     210 * a Macro to easily implement many different Constructors for the LoadParam-Class with 5 arguments
     211 * @param type1 The type of the first functionParameter
     212 * @param type2 The type of the second functionParameter
     213 * @param type3 The type of the third functionParameter
     214 * @param type4 The type of the forth functionParameter
     215 * @param type5 The type of the fifth functionParameter
    216216*/
    217217#define LoadParam5(type1, type2, type3, type4, type5) \
     
    238238// Pointer TYPE
    239239/**
    240    \brief a Macro to easily implement many different Constructors for the LoadParam-Class with one Pointer argument
    241    \param type1 The type of the Pointer
     240 * a Macro to easily implement many different Constructors for the LoadParam-Class with one Pointer argument
     241 * @param type1 The type of the Pointer
    242242 */
    243243#define LoadParamPT(type1) \
     
    276276
    277277  void setDescription(const char* descriptionText);
    278   /** \returns the descriptionString */
     278  /** @returns the descriptionString */
    279279  const char* getDescription() { return this->description; };
    280280
Note: See TracChangeset for help on using the changeset viewer.