A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
fatal-impl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2010 NICTA
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Quincy Tse <quincy.tse@nicta.com.au>
18
*/
19
20
#ifndef FATAL_IMPL_H
21
#define FATAL_IMPL_H
22
23
#include <ostream>
24
37
namespace
ns3
38
{
39
44
namespace
FatalImpl
45
{
46
60
void
RegisterStream
(std::ostream* stream);
61
75
void
UnregisterStream
(std::ostream* stream);
76
95
void
FlushStreams
();
96
97
}
// namespace FatalImpl
98
}
// namespace ns3
99
100
#endif
ns3::FatalImpl::UnregisterStream
void UnregisterStream(std::ostream *stream)
Unregister a stream for flushing on abnormal exit.
Definition:
fatal-impl.cc:143
ns3::FatalImpl::RegisterStream
void RegisterStream(std::ostream *stream)
Register a stream to be flushed on abnormal exit.
Definition:
fatal-impl.cc:136
ns3::FatalImpl::FlushStreams
void FlushStreams()
Flush all currently registered streams.
Definition:
fatal-impl.cc:187
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
core
model
fatal-impl.h
Generated on Sun Mar 3 2024 17:10:55 for ns-3 by
1.9.1