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
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
9
#include "
preamble-detection-model.h
"
10
11
namespace
ns3
12
{
13
14
NS_OBJECT_ENSURE_REGISTERED
(PreambleDetectionModel);
15
16
TypeId
17
PreambleDetectionModel::GetTypeId
()
18
{
19
static
TypeId
tid =
20
TypeId
(
"ns3::PreambleDetectionModel"
).
SetParent
<
Object
>().SetGroupName(
"Wifi"
);
21
return
tid;
22
}
23
24
}
// namespace ns3
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::PreambleDetectionModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
preamble-detection-model.cc:17
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition
type-id.cc:1001
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
preamble-detection-model.h
src
wifi
model
preamble-detection-model.cc
Generated on Fri Nov 8 2024 13:59:07 for ns-3 by
1.11.0