blob: 7880194678a1c4460b46a1cda9c0a9ac12a4be35 [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 Afanasyevccd5bb42012-10-31 17:27:49 -070021#include "simple-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 Afanasyevccd5bb42012-10-31 17:27:49 -070035template class SimpleLimits<BestRoute>;
36typedef SimpleLimits<BestRoute> SimpleLimitsBestRoute;
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070037NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsBestRoute);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070038
Alexander Afanasyevccd5bb42012-10-31 17:27:49 -070039template class SimpleLimits<Flooding>;
40typedef SimpleLimits<Flooding> SimpleLimitsFlooding;
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070041NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsFlooding);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070042
Alexander Afanasyevccd5bb42012-10-31 17:27:49 -070043template class SimpleLimits<SmartFlooding>;
44typedef SimpleLimits<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 Afanasyevccd5bb42012-10-31 17:27:49 -070049class SimpleLimitsBestRoute : public SimpleLimits<BestRoute> { };
50class SimpleLimitsFlooding : public SimpleLimits<Flooding> { };
51class SimpleLimitsSmartFlooding : public SimpleLimits<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