blob: bbe07bc2a20ac5c8e3707f8e70ac5dd5119b7a61 [file] [log] [blame]
Zhenkai Zhue25def92012-03-12 16:39:25 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
2/*
Alexander Afanasyev8722d872014-07-02 13:00:29 -07003 * Copyright (c) 2012-2014 University of California, Los Angeles
Zhenkai Zhue25def92012-03-12 16:39:25 -07004 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07005 * This file is part of ChronoSync, synchronization library for distributed realtime
6 * applications for NDN.
Zhenkai Zhue25def92012-03-12 16:39:25 -07007 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -07008 * ChronoSync is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation, either
10 * version 3 of the License, or (at your option) any later version.
Zhenkai Zhue25def92012-03-12 16:39:25 -070011 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070012 * ChronoSync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
Zhenkai Zhue25def92012-03-12 16:39:25 -070015 *
Alexander Afanasyev8722d872014-07-02 13:00:29 -070016 * You should have received a copy of the GNU General Public License along with
17 * ChronoSync, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * @author Zhenkai Zhu <http://irl.cs.ucla.edu/~zhenkai/>
20 * @author Chaoyi Bian <bcy@pku.edu.cn>
21 * @author Alexander Afanasyev <http://lasr.cs.ucla.edu/afanasyev/index.html>
Zhenkai Zhue25def92012-03-12 16:39:25 -070022 */
23
Alexander Afanasyevca6f3292012-04-09 10:03:30 -070024#ifndef SYNC_EVENT_H
25#define SYNC_EVENT_H
Zhenkai Zhue25def92012-03-12 16:39:25 -070026
Alexander Afanasyevca6f3292012-04-09 10:03:30 -070027#include <boost/function.hpp>
Zhenkai Zhue25def92012-03-12 16:39:25 -070028
Alexander Afanasyevca6f3292012-04-09 10:03:30 -070029namespace Sync
30{
Zhenkai Zhue25def92012-03-12 16:39:25 -070031
Alexander Afanasyevca6f3292012-04-09 10:03:30 -070032typedef boost::function< void ( ) > Event;
33
34} // Sync
35
36#endif // SYNC_EVENT_H