NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn-network-region-table-helper.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20
#ifndef NDNSIM_HELPER_NDN_NETWORK_REGION_TABLE_HELPER_HPP
21
#define NDNSIM_HELPER_NDN_NETWORK_REGION_TABLE_HELPER_HPP
22
23
#include "ns3/node-container.h"
24
25
#include "ns3/ndnSIM/model/ndn-common.hpp"
26
27
namespace
ns3
{
28
namespace
ndn
{
29
38
class
NetworkRegionTableHelper
39
{
40
public
:
41
static
void
42
AddRegionName
(Ptr<Node> node,
const
Name
& regionName);
43
44
static
void
45
AddRegionName
(NodeContainer& c,
const
Name
& regionName);
46
47
static
void
48
AddRegionName
(Ptr<Node> node, std::initializer_list<Name> regionNames);
49
50
static
void
51
AddRegionName
(
const
NodeContainer& c, std::initializer_list<Name> regionNames);
52
53
static
void
54
RemoveRegionName
(Ptr<Node> node,
const
Name
& regionName);
55
56
static
void
57
RemoveRegionName
(
const
NodeContainer& c,
const
Name
& regionName);
58
59
static
void
60
RemoveRegionName
(Ptr<Node> node, std::initializer_list<Name> regionNames);
61
62
static
void
63
RemoveRegionName
(
const
NodeContainer& c, std::initializer_list<Name> regionNames);
64
65
static
void
66
EmptyNetworkRegionTable
(Ptr<Node> node);
67
68
static
void
69
EmptyNetworkRegionTable
(
const
NodeContainer& c);
70
};
71
72
}
// namespace ndn
73
}
// namespace ns3
74
75
#endif // NDNSIM_HELPER_NDN_NETWORK_REGION_TABLE_HELPER_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ns3::ndn::NetworkRegionTableHelper::AddRegionName
static void AddRegionName(Ptr< Node > node, const Name ®ionName)
Definition:
ndn-network-region-table-helper.cpp:30
ns3::ndn::NetworkRegionTableHelper::EmptyNetworkRegionTable
static void EmptyNetworkRegionTable(Ptr< Node > node)
Definition:
ndn-network-region-table-helper.cpp:100
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
content-store-impl.cpp:38
ns3::ndn::NetworkRegionTableHelper::RemoveRegionName
static void RemoveRegionName(Ptr< Node > node, const Name ®ionName)
Definition:
ndn-network-region-table-helper.cpp:65
ns3::ndn::NetworkRegionTableHelper
Network Region Table Helper.
Definition:
ndn-network-region-table-helper.hpp:38
ndnSIM
helper
ndn-network-region-table-helper.hpp
Generated on Sun Feb 25 2018 13:27:04 for ndnSIM by
1.8.14