A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
preamble-detection-model.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 University of Washington
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Sébastien Deronne <sebastien.deronne@gmail.com>
7 */
8
10
11namespace ns3
12{
13
14NS_OBJECT_ENSURE_REGISTERED(PreambleDetectionModel);
15
16TypeId
18{
19 static TypeId tid =
20 TypeId("ns3::PreambleDetectionModel").SetParent<Object>().SetGroupName("Wifi");
21 return tid;
22}
23
24} // namespace ns3
A base class which provides memory management and object aggregation.
Definition object.h:78
static TypeId GetTypeId()
Get the type ID.
a unique identifier for an interface.
Definition type-id.h:48
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition type-id.cc:1001
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition object-base.h:35
Every class exported by the ns3 library is enclosed in the ns3 namespace.