A Discrete-Event Network Simulator
API
Functions | Variables
adhoc-aloha-ideal-phy-with-microwave-oven.cc File Reference
#include <iostream>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/spectrum-model-ism2400MHz-res1MHz.h>
#include <ns3/spectrum-model-300kHz-300GHz-log.h>
#include <ns3/wifi-spectrum-value-helper.h>
#include <ns3/multi-model-spectrum-channel.h>
#include <ns3/waveform-generator.h>
#include <ns3/spectrum-analyzer.h>
#include <ns3/log.h>
#include <string>
#include <ns3/friis-spectrum-propagation-loss.h>
#include <ns3/propagation-delay-model.h>
#include <ns3/mobility-module.h>
#include <ns3/spectrum-helper.h>
#include <ns3/applications-module.h>
#include <ns3/adhoc-aloha-noack-ideal-phy-helper.h>
#include <ns3/waveform-generator-helper.h>
#include <ns3/spectrum-analyzer-helper.h>
#include <ns3/non-communicating-net-device.h>
#include <ns3/microwave-oven-spectrum-value-helper.h>

Go to the source code of this file.

Functions

void PhyRxEndErrorTrace (std::string context, Ptr< const Packet > p)
 
void PhyRxEndOkTrace (std::string context, Ptr< const Packet > p)
 
void PhyRxStartTrace (std::string context, Ptr< const Packet > p)
 
void PhyTxEndTrace (std::string context, Ptr< const Packet > p)
 
void PhyTxStartTrace (std::string context, Ptr< const Packet > p)
 
void ReceivePacket (Ptr< Socket > socket)
 
Ptr< SocketSetupPacketReceive (Ptr< Node > node)
 

Variables

static bool g_verbose = false
 

Function Documentation

◆ PhyRxEndErrorTrace()

void PhyRxEndErrorTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 91 of file adhoc-aloha-ideal-phy-with-microwave-oven.cc.

References g_verbose.

◆ PhyRxEndOkTrace()

void PhyRxEndOkTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 82 of file adhoc-aloha-ideal-phy-with-microwave-oven.cc.

References g_verbose.

◆ PhyRxStartTrace()

void PhyRxStartTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 73 of file adhoc-aloha-ideal-phy-with-microwave-oven.cc.

References g_verbose.

◆ PhyTxEndTrace()

void PhyTxEndTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 64 of file adhoc-aloha-ideal-phy-with-microwave-oven.cc.

References g_verbose.

◆ PhyTxStartTrace()

void PhyTxStartTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 54 of file adhoc-aloha-ideal-phy-with-microwave-oven.cc.

References g_verbose.

◆ ReceivePacket()

void ReceivePacket ( Ptr< Socket socket)

◆ SetupPacketReceive()

Ptr<Socket> SetupPacketReceive ( Ptr< Node node)

Variable Documentation

◆ g_verbose

bool g_verbose = false
static