A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fatal-impl.cc File Reference
#include "fatal-impl.h"
#include "log.h"
#include <iostream>
#include <list>
#include <cstdlib>
#include <cstdio>
#include <csignal>
+ Include dependency graph for fatal-impl.cc:

Go to the source code of this file.


struct  ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::destructor


 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 Note on implementation: the singleton pattern we use here is tricky because it has to deal with:


void ns3::FatalImpl::FlushStreams (void)
 Flush all currently registered streams. More...
std::list< std::ostream * > * ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::GetStreamList (void)
std::list< std::ostream * > ** ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::PeekStreamList (void)
void ns3::FatalImpl::RegisterStream (std::ostream *stream)
 Register a stream to be flushed on abnormal exit. More...
void ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::sigHandler (int sig)
void ns3::FatalImpl::UnregisterStream (std::ostream *stream)
 Unregister a stream for flushing on abnormal exit. More...