A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
deprecated-example.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2015 Lawrence Livermore National Laboratory
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Authors: Peter D. Barnes, Jr. <pdbarnes@llnl.gov>
19
*/
20
21
/*
22
* This is an example included in the doxygen-generated documentation
23
* for NS_DEPRECATED.
24
*/
25
26
// [doxygen snippet]
27
/*
28
* Do something useful.
29
*
30
* \deprecated This method will go away in future versions of ns-3.
31
* See instead TheNewWay()
32
*/
33
NS_DEPRECATED_3_XX (
"see TheNewWay"
)
34
void
SomethingUseful
();
35
/*
36
* Do something more useful.
37
*/
38
void
TheNewWay
();
39
// [doxygen snippet]
TheNewWay
void TheNewWay()
SomethingUseful
void SomethingUseful()
src
core
doc
deprecated-example.h
Generated on Tue Feb 6 2024 19:21:16 for ns-3 by
1.9.1