A Discrete-Event Network Simulator
API
power-adaptation-distance.cc File Reference
#include <sstream>
#include <fstream>
#include <math.h>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"
#include "ns3/applications-module.h"
#include "ns3/stats-module.h"
#include "ns3/flow-monitor-module.h"
+ Include dependency graph for power-adaptation-distance.cc:

Go to the source code of this file.

Classes

class  NodeStatistics
 

Functions

void PowerCallback (std::string path, uint8_t power, Mac48Address dest)
 
void RateCallback (std::string path, uint32_t rate, Mac48Address dest)
 

Variables

static const uint32_t packetSize = 1420
 

Function Documentation

void PowerCallback ( std::string  path,
uint8_t  power,
Mac48Address  dest 
)

Definition at line 287 of file power-adaptation-distance.cc.

References ns3::Simulator::Now(), and NS_LOG_INFO.

+ Here is the call graph for this function:

void RateCallback ( std::string  path,
uint32_t  rate,
Mac48Address  dest 
)

Definition at line 292 of file power-adaptation-distance.cc.

References ns3::Simulator::Now(), and NS_LOG_INFO.

+ Here is the call graph for this function:

Variable Documentation