blob: 08dcb9842e00767fece796316f450692f4000067 [file] [log] [blame]
Jeff Thompson25b4e612013-10-10 16:03:24 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
Jeff Thompsona04f23c2013-09-16 17:48:38 -07002/**
3 * Copyright (C) 2013 Regents of the University of California.
4 * @author: Jeff Thompson <jefft0@remap.ucla.edu>
5 * See COPYING for copyright and distribution information.
6 */
7
8#include "changed-event.hpp"
9
10using namespace std;
11
12namespace ndn {
13
Jeff Thompson0050abe2013-09-17 12:50:25 -070014void
15ChangedEvent::fire()
Jeff Thompsona04f23c2013-09-16 17:48:38 -070016{
Jeff Thompson97223af2013-09-24 17:01:27 -070017 for (size_t i = 0; i < listeners_.size(); ++i)
Jeff Thompsona04f23c2013-09-16 17:48:38 -070018 listeners_[i]();
19}
20
21}