Changeset 8823 for code/branches/ai2/src/modules
- Timestamp:
- Aug 4, 2011, 12:51:24 PM (13 years ago)
- Location:
- code/branches/ai2/src/modules/notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/modules/notifications/NotificationDispatcher.cc
r8821 r8823 84 84 85 85 XMLPortParam(NotificationDispatcher, "sender", setSender, getSender, xmlelement, mode); 86 XMLPortParam(NotificationDispatcher, " meh", setBroadcasting, isBroadcasting, xmlelement, mode);86 XMLPortParam(NotificationDispatcher, "broadcast", setBroadcasting, isBroadcasting, xmlelement, mode); 87 87 88 88 XMLPortEventSink(NotificationDispatcher, BaseObject, "trigger", trigger, xmlelement, mode); … … 111 111 void NotificationDispatcher::broadcast(void) 112 112 { 113 COUT(0) << "meh" << endl;114 113 // TODO: Needed? 115 114 const std::string message = this->createNotificationMessage(); -
code/branches/ai2/src/modules/notifications/NotificationDispatcher.h
r8821 r8823 50 50 A NotificationDispatcher is an entity that, upon being triggered, dispatches (or sends) a specified @ref orxonox::Notification "Notification". 51 51 52 There a te two parameter to be set:52 There are two parameter to be set: 53 53 - The @b sender . The sender specifies the part of Orxonox the sent @ref orxonox::Notification "Notification" comes from. The default value is set by the classes implementing NotificationDispatcher. 54 54 - The @b broadcast . Specifies whether messages are broadcast (i.e. sent to all clients) or just sent to a specific player.
Note: See TracChangeset
for help on using the changeset viewer.