Changeset 7484 for code/trunk/src/modules/notifications/dispatchers
- Timestamp:
- Sep 23, 2010, 1:00:42 PM (14 years ago)
- Location:
- code/trunk/src/modules/notifications/dispatchers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/dispatchers/CommandNotification.cc
r7474 r7484 80 80 } 81 81 82 /** 83 @brief 84 Register some variables for synchronisation. 85 */ 82 86 void CommandNotification::registerVariables(void) 83 87 { -
code/trunk/src/modules/notifications/dispatchers/CommandNotification.h
r7474 r7484 47 47 This class implements a method of displaying a Notification with information to an input command and the key the command is mapped to. 48 48 The message that is displayed is a string made out uf the concatenation of the preMessage, the key the specified command is mapped to and the postMessage. 49 50 In use it would like this: 51 @code 52 <CommandNotification preMessage="Please press " command="someCommand" postMessage=" to do something." > 53 <events> 54 <trigger> 55 <PlayerTrigger /> 56 </trigger> 57 </events> 58 </CommandNotification> 59 @endcode 60 Upon being triggered this would display the @ref orxonox::Notification "Notification" "Please press {the binding of the specified command} to do something". 61 For more information on what can be used for @code <PlayerTrigger /> @endcode see the @ref orxonox::NotificationDispatcher "NotificationDispatcher" documentation. 49 62 @author 50 63 Damian 'Mozork' Frick … … 86 99 std::string postMessage_; //!< The last part of the displayed message. 87 100 88 void registerVariables(void); 101 void registerVariables(void); //!< Register some variables for synchronisation. 89 102 90 103 /** -
code/trunk/src/modules/notifications/dispatchers/SimpleNotification.h
r7456 r7484 46 46 @brief 47 47 The SimpleNotification class enables the sending of (in XML) predefined Notifications upon some kind of triggering event. 48 49 In use it would like this: 50 @code 51 <SimpleNotification message="some message..." > 52 <events> 53 <trigger> 54 <PlayerTrigger /> 55 </trigger> 56 </events> 57 </SimpleNotification> 58 @endcode 59 For more information on what can be used for @code <PlayerTrigger /> @endcode see the @ref orxonox::NotificationDispatcher "NotificationDispatcher" documentation. 48 60 @author 49 61 Damian 'Mozork' Frick
Note: See TracChangeset
for help on using the changeset viewer.