#include "fatal-impl.h"
#include "log.h"
#include <iostream>
#include <list>
#include <cstdlib>
#include <cstdio>
#include <csignal>
Go to the source code of this file.
Classes | |
struct | ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::destructor |
Namespaces | |
ns3 | |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
ns3::FatalImpl | |
ns3::FatalImpl::anonymous_namespace{fatal-impl.cc} | |
Note on implementation: the singleton pattern we use here is tricky because it has to deal with: | |
Functions | |
void | ns3::FatalImpl::FlushStreams (void) |
Flush all currently registered streams. More... | |
std::list< std::ostream * > * | ns3::FatalImpl::anonymous_namespace{fatal-impl.cc}::GetStreamList (void) |
NS_LOG_COMPONENT_DEFINE ("FatalImpl") | |
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... | |
NS_LOG_COMPONENT_DEFINE | ( | "FatalImpl" | ) |