Ignore:
Timestamp:
Dec 13, 2011, 9:46:12 AM (14 years ago)
Author:
Frederik Heber <heber@…>
Children:
75d156
Parents:
549b62
git-author:
Frederik Heber <heber@…> (12/02/11 09:58:19)
git-committer:
Frederik Heber <heber@…> (12/13/11 09:46:12)
Message:

Added Observable::signOn() to get int wrapped in class PriorityLevel.

  • PriorityLevel makes the valid range check.
  • also this is preparatory for using size_t channelno instead of the ref to the notification in signing on to channels.
  • this is required for relaying notifications.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/Cacheable.hpp

    r549b62 r8fe1e2  
    180180    // we sign on with the best(=lowest) priority, so cached values are recalculated before
    181181    // anybody else might ask for updated values
    182     owner->signOn(this,-20);
     182    owner->signOn(this,Observable::PriorityLevel(int(-20)));
    183183  }
    184184
Note: See TracChangeset for help on using the changeset viewer.