blob: 8939fa983bcc5eedf8c2aaf9871f61c1b3849823 [file] [log] [blame]
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2011 University of California, Los Angeles
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
19 */
20
Alexander Afanasyevf5c07742012-10-31 13:13:05 -070021#include "simple-window-limits.h"
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070022
23#include "ns3/ndn-l3-protocol.h"
24#include "ns3/ndn-interest-header.h"
25#include "ns3/ndn-content-object-header.h"
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070026
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070027#include "best-route.h"
28#include "flooding.h"
29#include "smart-flooding.h"
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070030
31namespace ns3 {
32namespace ndn {
33namespace fw {
34
Alexander Afanasyevf5c07742012-10-31 13:13:05 -070035template class SimpleWindowLimits<BestRoute>;
36typedef SimpleWindowLimits<BestRoute> SimpleLimitsBestRoute;
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070037NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsBestRoute);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070038
Alexander Afanasyevf5c07742012-10-31 13:13:05 -070039template class SimpleWindowLimits<Flooding>;
40typedef SimpleWindowLimits<Flooding> SimpleLimitsFlooding;
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070041NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsFlooding);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070042
Alexander Afanasyevf5c07742012-10-31 13:13:05 -070043template class SimpleWindowLimits<SmartFlooding>;
44typedef SimpleWindowLimits<SmartFlooding> SimpleLimitsSmartFlooding;
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070045NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsSmartFlooding);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070046
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070047#ifdef DOXYGEN
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070048
Alexander Afanasyevf5c07742012-10-31 13:13:05 -070049class SimpleWindowLimitsBestRoute : public SimpleWindowLimits<BestRoute> { };
50class SimpleWindowLimitsFlooding : public SimpleWindowLimits<Flooding> { };
51class SimpleWindowLimitsSmartFlooding : public SimpleWindowLimits<SmartFlooding> { };
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070052
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070053#endif
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070054
55} // namespace fw
56} // namespace ndn
57} // namespace ns3