A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
buildings-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2012 CTTC
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Nicola Baldo <nbaldo@cttc.es>
7
*/
8
9
#ifndef BUILDINGS_HELPER_H
10
#define BUILDINGS_HELPER_H
11
12
#include <ns3/attribute.h>
13
#include <ns3/node-container.h>
14
#include <ns3/object-factory.h>
15
#include <ns3/ptr.h>
16
17
#include <string>
18
19
namespace
ns3
20
{
21
22
class
MobilityModel;
23
class
Building;
24
25
/**
26
* \ingroup buildings
27
*
28
* Helper used to install a MobilityBuildingInfo into a set of nodes.
29
*/
30
class
BuildingsHelper
31
{
32
public
:
33
/**
34
* Install the MobilityBuildingInfo to a node
35
*
36
* \param node the mobility model of the node to be updated
37
*/
38
static
void
Install
(
Ptr<Node>
node);
// for any nodes
39
/**
40
* Install the MobilityBuildingInfo to the set of nodes in a NodeContainer
41
*
42
* \param c the NodeContainer including the nodes to be updated
43
*/
44
static
void
Install
(
NodeContainer
c);
// for any nodes
45
};
46
47
}
// namespace ns3
48
49
#endif
/* BUILDINGS_HELPER_H */
ns3::BuildingsHelper
Helper used to install a MobilityBuildingInfo into a set of nodes.
Definition
buildings-helper.h:31
ns3::BuildingsHelper::Install
static void Install(Ptr< Node > node)
Install the MobilityBuildingInfo to a node.
Definition
buildings-helper.cc:34
ns3::NodeContainer
keep track of a set of node pointers.
Definition
node-container.h:29
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
buildings
helper
buildings-helper.h
Generated on Fri Nov 8 2024 13:58:59 for ns-3 by
1.11.0