blob: d07f79bd004e397851746177188dd26337dd202b [file] [log] [blame]
Alexander Afanasyev042b4a72012-11-09 17:47:48 -08001/* -*- 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
21#include "per-out-face-limits.h"
22
23#include "ns3/ndn-l3-protocol.h"
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -080024#include "ns3/ndn-interest.h"
Alexander Afanasyev6eba36f2013-08-07 17:42:54 -070025#include "ns3/ndn-data.h"
Alexander Afanasyev042b4a72012-11-09 17:47:48 -080026
27#include "best-route.h"
28#include "flooding.h"
29#include "smart-flooding.h"
30
31namespace ns3 {
32namespace ndn {
33namespace fw {
34
35template class PerOutFaceLimits<BestRoute>;
36typedef PerOutFaceLimits<BestRoute> PerOutFaceLimitsBestRoute;
37NS_OBJECT_ENSURE_REGISTERED (PerOutFaceLimitsBestRoute);
38
39template class PerOutFaceLimits<Flooding>;
40typedef PerOutFaceLimits<Flooding> PerOutFaceLimitsFlooding;
41NS_OBJECT_ENSURE_REGISTERED (PerOutFaceLimitsFlooding);
42
43template class PerOutFaceLimits<SmartFlooding>;
44typedef PerOutFaceLimits<SmartFlooding> PerOutFaceLimitsSmartFlooding;
45NS_OBJECT_ENSURE_REGISTERED (PerOutFaceLimitsSmartFlooding);
46
47#ifdef DOXYGEN
48// /**
49// * \brief Strategy implementing per-out-face limits on top of BestRoute strategy
50// */
51class BestRoute::PerOutFaceLimits : public ::ns3::ndn::fw::PerOutFaceLimits<BestRoute> { };
52
53/**
54 * \brief Strategy implementing per-out-face limits on top of Flooding strategy
55 */
56class Flooding::PerOutFaceLimits : public ::ns3::ndn::fw::PerOutFaceLimits<Flooding> { };
57
58/**
59 * \brief Strategy implementing per-out-face limits on top of SmartFlooding strategy
60 */
61class SmartFlooding::PerOutFaceLimits : public ::ns3::ndn::fw::PerOutFaceLimits<SmartFlooding> { };
62#endif
63
64} // namespace fw
65} // namespace ndn
66} // namespace ns3
67