event.cc (13063:c9905ead0041) | event.cc (13073:71fccb27bace) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 108 unchanged lines hidden (view full) --- 117Event::getParentObject() const 118{ 119 return parent; 120} 121 122void 123Event::notify() 124{ | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 108 unchanged lines hidden (view full) --- 117Event::getParentObject() const 118{ 119 return parent; 120} 121 122void 123Event::notify() 124{ |
125 // An immediate notification overrides any pending delayed notification. 126 if (delayedNotify.scheduled()) 127 scheduler.deschedule(&delayedNotify); 128 |
|
125 auto local_sensitivities = sensitivities; 126 for (auto s: local_sensitivities) 127 s->notify(this); 128} 129 130void 131Event::notify(const sc_core::sc_time &t) 132{ --- 37 unchanged lines hidden --- | 129 auto local_sensitivities = sensitivities; 130 for (auto s: local_sensitivities) 131 s->notify(this); 132} 133 134void 135Event::notify(const sc_core::sc_time &t) 136{ --- 37 unchanged lines hidden --- |