A Discrete-Event Network Simulator
API
fatal-example.cc File Reference

Example program illustrating use of the NS_FATAL error handlers. More...

#include "ns3/fatal-error.h"
#include "ns3/assert.h"
#include "ns3/simulator.h"
#include <iostream>
+ Include dependency graph for fatal-example.cc:

Go to the source code of this file.

Functions

void Fatal (void)
 
void FatalCont (void)
 
void FatalNoMsg (void)
 

Detailed Description

Example program illustrating use of the NS_FATAL error handlers.

Definition in file fatal-example.cc.

Function Documentation

◆ Fatal()

void Fatal ( void  )

Definition at line 53 of file fatal-example.cc.

References NS_FATAL_ERROR.

◆ FatalCont()

void FatalCont ( void  )

Definition at line 45 of file fatal-example.cc.

References NS_FATAL_ERROR_CONT.

◆ FatalNoMsg()

void FatalNoMsg ( void  )

Definition at line 37 of file fatal-example.cc.

References NS_FATAL_ERROR_NO_MSG_CONT.