author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 11356 | 8589e611d657 |
permissions | -rw-r--r-- |
10979 | 1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 |
/* |
|
3 |
* Copyright (c) 2007 Georgia Tech Research Corporation |
|
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 |
* Author: George Riley <riley@ece.gatech.edu> |
|
19 |
* Adapted from original code in object.h by: |
|
20 |
* Authors: Gustavo Carneiro <gjcarneiro@gmail.com>, |
|
21 |
* Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
|
22 |
*/ |
|
23 |
||
2775
03a23eb5f1e8
bug: 147. Add RefCountBase
George F. Riley<riley@ece.gatech.edu>
parents:
diff
changeset
|
24 |
#include "ref-count-base.h" |
9134
7a750f032acd
Clean up function logging of core module.
Maja Grubišić <maja.grubisic@live.com>
parents:
7169
diff
changeset
|
25 |
#include "log.h" |
7a750f032acd
Clean up function logging of core module.
Maja Grubišić <maja.grubisic@live.com>
parents:
7169
diff
changeset
|
26 |
|
11356 | 27 |
/** |
28 |
* \file |
|
29 |
* \ingroup ptr |
|
30 |
* (Deprecated) ns3::RefCountBase implementation. |
|
31 |
*/ |
|
32 |
||
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
9134
diff
changeset
|
33 |
namespace ns3 { |
2775
03a23eb5f1e8
bug: 147. Add RefCountBase
George F. Riley<riley@ece.gatech.edu>
parents:
diff
changeset
|
34 |
|
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
9134
diff
changeset
|
35 |
NS_LOG_COMPONENT_DEFINE ("RefCountBase"); |
2775
03a23eb5f1e8
bug: 147. Add RefCountBase
George F. Riley<riley@ece.gatech.edu>
parents:
diff
changeset
|
36 |
|
5505
c0ac392289c3
replace RefCountBase with SimpleRefCount<> to avoid duplicate refcounting implementations.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3395
diff
changeset
|
37 |
RefCountBase::~RefCountBase () |
7169
358f71a624d8
core coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6821
diff
changeset
|
38 |
{ |
9134
7a750f032acd
Clean up function logging of core module.
Maja Grubišić <maja.grubisic@live.com>
parents:
7169
diff
changeset
|
39 |
NS_LOG_FUNCTION (this); |
7169
358f71a624d8
core coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6821
diff
changeset
|
40 |
} |
3395
3b6bc7a4f975
avoid uneeded inline
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2946
diff
changeset
|
41 |
|
2775
03a23eb5f1e8
bug: 147. Add RefCountBase
George F. Riley<riley@ece.gatech.edu>
parents:
diff
changeset
|
42 |
} // namespace ns3 |