Jeff Thompson | a04f23c | 2013-09-16 17:48:38 -0700 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (C) 2013 Regents of the University of California. |
| 3 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #include "changed-event.hpp" |
| 8 | |
| 9 | using namespace std; |
| 10 | |
| 11 | namespace ndn { |
| 12 | |
Jeff Thompson | 0050abe | 2013-09-17 12:50:25 -0700 | [diff] [blame] | 13 | void |
| 14 | ChangedEvent::fire() |
Jeff Thompson | a04f23c | 2013-09-16 17:48:38 -0700 | [diff] [blame] | 15 | { |
Jeff Thompson | 97223af | 2013-09-24 17:01:27 -0700 | [diff] [blame^] | 16 | for (size_t i = 0; i < listeners_.size(); ++i) |
Jeff Thompson | a04f23c | 2013-09-16 17:48:38 -0700 | [diff] [blame] | 17 | listeners_[i](); |
| 18 | } |
| 19 | |
| 20 | } |