- Timestamp:
- Sep 11, 2010, 3:09:48 PM (14 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationDispatcher.cc
r7407 r7408 105 105 @param triggered 106 106 Whether it has been triggered or untriggered. The NotificationDispatcher only reacts to the first kind of events. 107 @param trigger 108 The object that caused the event to be fired. 107 109 @return 108 110 Returns true if the NotificationDispatcher was successfully triggered. -
code/trunk/src/modules/notifications/NotificationQueue.cc
r7403 r7408 151 151 std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin(); 152 152 // Iterate through all elements whose creation time is smaller than the current time minus the display time. 153 while(it != this->ordering_.upper_bound(&this->timeLimit_) )153 while(it != this->ordering_.upper_bound(&this->timeLimit_) && it != this->ordering_.end()) 154 154 { 155 155 NotificationContainer* temp = *it; -
code/trunk/src/modules/objects/Script.cc
r7407 r7408 80 80 void Script::XMLPort(Element& xmlelement, XMLPort::Mode mode) 81 81 { 82 SUPER(Script, XMLPort, xml Element, mode);82 SUPER(Script, XMLPort, xmlelement, mode); 83 83 84 84 XMLPortParam(Script, "code", setCode, getCode, xmlelement, mode); … … 103 103 void Script::XMLEventPort(Element& xmlelement, XMLPort::Mode mode) 104 104 { 105 SUPER(Script, XMLEventPort, xml Element, mode);105 SUPER(Script, XMLEventPort, xmlelement, mode); 106 106 107 107 XMLPortEventState(Script, BaseObject, "trigger", trigger, xmlelement, mode);
Note: See TracChangeset
for help on using the changeset viewer.