Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/event


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/lib/event
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/event/event.cc

    r4457 r4836  
    2222
    2323/**
    24    \brief standard constructor
     24 * standard constructor
    2525*/
    2626Event::Event ()
     
    3232
    3333/**
    34    \brief standard deconstructor
     34 * standard deconstructor
    3535
    3636*/
  • orxonox/trunk/src/lib/event/event.h

    r4782 r4836  
    11/*!
    22    \file event.h
    3     \brief an abstract event
     3  * an abstract event
    44
    55*/
  • orxonox/trunk/src/lib/event/event_def.h

    r4782 r4836  
    11/*!
    22    \file event_def.h
    3     \brief some central definitions
     3  * some central definitions
    44
    55*/
  • orxonox/trunk/src/lib/event/event_handler.cc

    r4817 r4836  
    2929
    3030/**
    31    \brief standard constructor
     31 * standard constructor
    3232*/
    3333EventHandler::EventHandler ()
     
    5252
    5353/**
    54    \brief the singleton reference to this class
     54 * the singleton reference to this class
    5555*/
    5656EventHandler* EventHandler::singletonRef = NULL;
     
    5858
    5959/**
    60    \brief standard deconstructor
     60 * standard deconstructor
    6161
    6262*/
     
    8080
    8181/**
    82    \brief initializes the event handler
     82 * initializes the event handler
    8383
    8484   this has to be called before the use of the event handler
     
    9292
    9393/**
    94    \brief set the state of the event handler
    95    \param state: to which the event handler shall change
     94 * set the state of the event handler
     95 * @param state: to which the event handler shall change
    9696*/
    9797void EventHandler::setState(elState state)
     
    102102
    103103/**
    104    \brief subscribe to an event
    105    \param el: the event listener that wants to subscribe itself, the listener that will be called when the evetn occures
    106    \param state: for which the listener wants to receive events
    107    \param eventType: the event type that wants to be listened for.
     104 * subscribe to an event
     105 * @param el: the event listener that wants to subscribe itself, the listener that will be called when the evetn occures
     106 * @param state: for which the listener wants to receive events
     107 * @param eventType: the event type that wants to be listened for.
    108108
    109109   This is one of the most important function of the EventHandler. If you would like to subscribe for more
     
    111111   state = ES_ALL, which will subscribe your listener for all states together.
    112112 *
    113  * \todo this can also be done with the & operator, and checking for states, just set the esState to 1,2,4,8, and then 15 is equal to ES_ALL
     113 * @todo this can also be done with the & operator, and checking for states, just set the esState to 1,2,4,8, and then 15 is equal to ES_ALL
    114114*/
    115115void EventHandler::subscribe(EventListener* el, elState state, int eventType)
     
    135135
    136136/**
    137    \brief unsubscribe from the EventHandler
    138    \param state: the stat in which it has been subscribed
    139    \param eventType: the event, that shall be unsubscribed
     137 * unsubscribe from the EventHandler
     138 * @param state: the stat in which it has been subscribed
     139 * @param eventType: the event, that shall be unsubscribed
    140140
    141141   if you want to unsubscribe an event listener from all subscribed events, just use the
     
    150150
    151151/**
    152    \brief unsubscribe all events from a specific listener
    153    \param el: the listener that wants to unsubscribe itself
    154    \param state: the state in which the events shall be unsubscribed
     152 * unsubscribe all events from a specific listener
     153 * @param el: the listener that wants to unsubscribe itself
     154 * @param state: the state in which the events shall be unsubscribed
    155155
    156156*/
     
    182182
    183183/**
    184    \brief flush all registered events
    185    \param state: a specific state
     184 * flush all registered events
     185 * @param state: a specific state
    186186*/
    187187void EventHandler::flush(elState state)
     
    208208
    209209/**
    210    \brief core function of event handler: receives all events from SDL
     210 * core function of event handler: receives all events from SDL
    211211
    212212   The event from the SDL framework are collected here and distributed to all listeners.
  • orxonox/trunk/src/lib/event/event_handler.h

    r4834 r4836  
    11/*!
    22    \file event_handler.h
    3     \brief Definition of the EventHandler
     3  * Definition of the EventHandler
    44
    55*/
     
    2121 public:
    2222  virtual ~EventHandler();
    23   /** \returns a Pointer to the only object of this Class */
     23  /** @returns a Pointer to the only object of this Class */
    2424  inline static EventHandler* getInstance() { if (!singletonRef) singletonRef = new EventHandler();  return singletonRef; };
    2525  void init();
  • orxonox/trunk/src/lib/event/event_listener.cc

    r4817 r4836  
    2323
    2424/**
    25    \brief standard constructor
     25 * standard constructor
    2626*/
    2727EventListener::EventListener ()
    2828{
    29    this->setClassID(CL_EVENT_LISTENER, "EventListener");
     29  this->setClassID(CL_EVENT_LISTENER, "EventListener");
    3030}
    3131
    3232
    3333/**
    34    \brief standard deconstructor
    35 
     34 *  standard deconstructor
    3635*/
    3736EventListener::~EventListener ()
  • orxonox/trunk/src/lib/event/event_listener.h

    r4457 r4836  
    11/*!
    22    \file event_listener.h
    3     \brief Definition of an event listener base class
     3  * Definition of an event listener base class
    44
    55*/
     
    2121
    2222  /**
    23      \brief abstract function that processes events from the handler
    24      \param event: the event
     23   * abstract function that processes events from the handler
     24   * @param event: the event
    2525  */
    2626  virtual void process(const Event &event) = NULL;
  • orxonox/trunk/src/lib/event/key_mapper.cc

    r4834 r4836  
    9292
    9393/**
    94    \brief standard constructor
     94 * standard constructor
    9595*/
    9696KeyMapper::KeyMapper ()
     
    101101
    102102/**
    103    \brief standard deconstructor
     103 * standard deconstructor
    104104*/
    105105KeyMapper::~KeyMapper ()
     
    109109
    110110/**
    111    \brief loads new key bindings from a file
    112    \param filename: The path and name of the file to load the bindings from
     111 * loads new key bindings from a file
     112 * @param filename: The path and name of the file to load the bindings from
    113113*/
    114114void KeyMapper::loadKeyBindings (const char* fileName)
     
    189189
    190190/**
    191    \brief this function looks up name to key index
    192    \param the name of the button
     191 * this function looks up name to key index
     192 * @param the name of the button
    193193*/
    194194int* KeyMapper::nameToIndex (char* name)
     
    212212
    213213/**
    214    \brief the function maps name to key ids
    215    \param name of the key
    216    \param id of the key
     214 * the function maps name to key ids
     215 * @param name of the key
     216 * @param id of the key
    217217*/
    218218void KeyMapper::mapKeys(char* name, int keyID)
     
    231231
    232232/**
    233    \brief this function gives some debug information about the key mapper class
     233 * this function gives some debug information about the key mapper class
    234234*/
    235235void KeyMapper::debug()
  • orxonox/trunk/src/lib/event/key_mapper.h

    r4457 r4836  
    11/*!
    22    \file key_mapper.h
    3     \brief a construct to map player defined keys to SDL keys
     3  * a construct to map player defined keys to SDL keys
    44
    55*/
  • orxonox/trunk/src/lib/event/key_names.h

    r4780 r4836  
    11/*!
    22    \file keynames.h
    3     \brief Key/button naming functions
     3  * Key/button naming functions
    44
    55                Converts strings to SDLK/SDL_BUTTON values and vice versa
     
    99
    1010/**
    11         \brief converts a button name string to a integer representing the corresponding SDL mouse button identifier
    12         \param name: the name of the mouse button
    13         \return an int containing the SDL identifier of the mouse button or -1 if the button name is not valid
     11      * converts a button name string to a integer representing the corresponding SDL mouse button identifier
     12      * @param name: the name of the mouse button
     13      * @return an int containing the SDL identifier of the mouse button or -1 if the button name is not valid
    1414*/
    1515int buttonnameToSDLB(const char* name);
    1616
    1717/**
    18         \brief converst a SDL mouse button identifier to a name string
    19         \param button: an SDL mouse button identifier
    20         \return a pointer to a string containing the name of the mouse button
     18      * converst a SDL mouse button identifier to a name string
     19      * @param button: an SDL mouse button identifier
     20      * @return a pointer to a string containing the name of the mouse button
    2121*/
    2222char* SDLBToButtonname( int button);
    2323
    2424/**
    25         \brief converts a key name string to a integer representing the corresponding SDLK sym
    26         \param name: the name of the key
    27         \return the SDLK sym of the named key or -1 if the key name is not valid
     25      * converts a key name string to a integer representing the corresponding SDLK sym
     26      * @param name: the name of the key
     27      * @return the SDLK sym of the named key or -1 if the key name is not valid
    2828*/
    2929int keynameToSDLK(const char* name);
    3030
    3131/**
    32         \brief converts an SDLK sym to a name string
    33         \param key: the SDLK sym
    34         \return a pointer to a string containig the name of the key
     32      * converts an SDLK sym to a name string
     33      * @param key: the SDLK sym
     34      * @return a pointer to a string containig the name of the key
    3535*/
    3636char* SDLKToKeyname( int key);
Note: See TracChangeset for help on using the changeset viewer.