#include <fstream>
#include <string>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mobility-module.h"
#include "ns3/config-store-module.h"
#include "ns3/wifi-module.h"
#include "ns3/csma-module.h"
#include "ns3/olsr-helper.h"
#include "ns3/internet-module.h"
Go to the source code of this file.
Functions | |
static void | CourseChangeCallback (std::string path, Ptr< const MobilityModel > model) |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("MixedWireless") | |
|
static |
Definition at line 85 of file mixed-wireless.cc.
References ns3::MobilityModel::GetPosition(), ns3::Vector3D::x, ns3::Vector3D::y, and ns3::Vector3D::z.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 92 of file mixed-wireless.cc.
References ns3::ListPositionAllocator::Add(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), CourseChangeCallback(), ns3::YansWifiChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::YansWifiChannelHelper::Default(), ns3::NqosWifiMacHelper::Default(), ns3::WifiHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Simulator::Destroy(), ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(), ns3::PcapHelperForDevice::EnablePcap(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::NodeContainer::Get(), ns3::Ipv4Address::GetAny(), ns3::Node::GetId(), ns3::NodeList::GetNode(), ns3::Object::GetObject(), ns3::PacketSinkHelper::Install(), ns3::OnOffHelper::Install(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::MobilityHelper::Install(), ns3::MakeCallback(), ns3::Ipv4AddressHelper::NewNetwork(), NS_ASSERT, NS_LOG_INFO, ns3::CommandLine::Parse(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), port, ns3::MobilityHelper::PushReferenceMobilityModel(), ns3::InternetStackHelper::Reset(), ns3::Simulator::Run(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::CsmaHelper::SetChannelAttribute(), ns3::OnOffHelper::SetConstantRate(), ns3::Config::SetDefault(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::WifiHelper::SetRemoteStationManager(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::NqosWifiMacHelper::SetType(), ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), ns3::ApplicationContainer::Stop(), stopTime, and sample-rng-plot::x.
NS_LOG_COMPONENT_DEFINE | ( | "MixedWireless" | ) |