A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
pmp-regression.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2009 IITP RAS
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Authors: Pavel Boyko <boyko@iitp.ru>
7 */
8
9#ifndef PMP_REGRESSION_H
10#define PMP_REGRESSION_H
11#include "ns3/node-container.h"
12#include "ns3/nstime.h"
13#include "ns3/test.h"
14
15using namespace ns3;
16
17/**
18 * @ingroup dot11s-test
19 *
20 * @brief Peering Management Protocol regression test
21 *
22 * Initiate scenario with 2 stations. Procedure of opening peer link
23 * is the following:
24 * @verbatim
25 * |----------->| Beacon
26 * |----------->| Peer Link Open frame
27 * |<-----------| Peer Link Confirm frame
28 * |<-----------| Peer Link Open frame
29 * |----------->| Peer Link Confirm frame
30 * |............|
31 * |<---------->| Other beacons
32 * @endverbatim
33 */
35{
36 public:
39
40 private:
41 /// @internal It is important to have pointers here
43 /// Simulation time
45
46 /// Create nodes function
47 void CreateNodes();
48 /// Create devices function
49 void CreateDevices();
50 /// Check results function
51 void CheckResults();
52 void DoRun() override;
53};
54#endif /* PMP_REGRESSION_H */
void CreateDevices()
Create devices function.
void DoRun() override
Implementation to actually run this TestCase.
void CheckResults()
Check results function.
void CreateNodes()
Create nodes function.
keep track of a set of node pointers.
TestCase(const TestCase &)=delete
Simulation virtual time values and global simulation resolution.
Definition nstime.h:94
Every class exported by the ns3 library is enclosed in the ns3 namespace.