Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7408 for code


Ignore:
Timestamp:
Sep 11, 2010, 3:09:48 PM (14 years ago)
Author:
dafrick
Message:

Did not get all xmlElements…

Location:
code/trunk/src/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationDispatcher.cc

    r7407 r7408  
    105105    @param triggered
    106106        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.
    107109    @return
    108110        Returns true if the NotificationDispatcher was successfully triggered.
  • code/trunk/src/modules/notifications/NotificationQueue.cc

    r7403 r7408  
    151151            std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin();
    152152            // 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())
    154154            {
    155155                NotificationContainer* temp = *it;
  • code/trunk/src/modules/objects/Script.cc

    r7407 r7408  
    8080    void Script::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    8181    {
    82         SUPER(Script, XMLPort, xmlElement, mode);
     82        SUPER(Script, XMLPort, xmlelement, mode);
    8383
    8484        XMLPortParam(Script, "code", setCode, getCode, xmlelement, mode);
     
    103103    void Script::XMLEventPort(Element& xmlelement, XMLPort::Mode mode)
    104104    {
    105         SUPER(Script, XMLEventPort, xmlElement, mode);
     105        SUPER(Script, XMLEventPort, xmlelement, mode);
    106106
    107107        XMLPortEventState(Script, BaseObject, "trigger", trigger, xmlelement, mode);
Note: See TracChangeset for help on using the changeset viewer.