blob: 63b4569f9927c3c41f3f991a7ad3bd7fb6dd3c99 [file] [log] [blame]
Jeff Thompsona04f23c2013-09-16 17:48:38 -07001/**
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
9using namespace std;
10
11namespace ndn {
12
Jeff Thompson0050abe2013-09-17 12:50:25 -070013void
14ChangedEvent::fire()
Jeff Thompsona04f23c2013-09-16 17:48:38 -070015{
Jeff Thompson97223af2013-09-24 17:01:27 -070016 for (size_t i = 0; i < listeners_.size(); ++i)
Jeff Thompsona04f23c2013-09-16 17:48:38 -070017 listeners_[i]();
18}
19
20}