A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
bug780-test.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License version 2 as
5
* published by the Free Software Foundation;
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software
14
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
*
16
* Authors: Pavel Boyko <boyko@iitp.ru>
17
*/
18
19
#ifndef BUG780_TEST_H
20
#define BUG780_TEST_H
21
22
#include "ns3/test.h"
23
#include "ns3/nstime.h"
24
#include "ns3/node-container.h"
25
26
namespace
ns3
27
{
28
namespace
olsr
29
{
31
class
Bug780Test
:
public
TestCase
32
{
33
public
:
34
Bug780Test
();
35
~Bug780Test
();
36
private
:
38
static
const
char
*
const
PREFIX
;
40
const
Time
m_time
;
42
void
CreateNodes
();
44
void
CheckResults
();
46
void
DoRun
();
47
};
48
49
}
50
}
51
52
#endif
/* BUG780_TEST_H */
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition:
nstime.h:95
ns3::olsr::Bug780Test::Bug780Test
Bug780Test()
Definition:
bug780-test.cc:68
ns3::olsr::Bug780Test
See Bug 780
Definition:
bug780-test.h:31
ns3::TestCase
encapsulates test code
Definition:
test.h:1102
ns3::olsr::Bug780Test::m_time
const Time m_time
Total simulation time.
Definition:
bug780-test.h:40
ns3::olsr::Bug780Test::CheckResults
void CheckResults()
Compare traces with reference ones.
Definition:
bug780-test.cc:194
ns3::olsr::Bug780Test::~Bug780Test
~Bug780Test()
Definition:
bug780-test.cc:74
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
olsr
Definition:
olsr.py:1
ns3::olsr::Bug780Test::PREFIX
static const char *const PREFIX
Unique PCAP files prefix for this test.
Definition:
bug780-test.h:38
ns3::olsr::Bug780Test::DoRun
void DoRun()
Go.
Definition:
bug780-test.cc:79
ns3::olsr::Bug780Test::CreateNodes
void CreateNodes()
Create & configure test network.
Definition:
bug780-test.cc:93
src
olsr
test
bug780-test.h
Generated on Thu Feb 5 2015 18:33:51 for ns-3 by
1.8.9.1