A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mixed-wireless.cc File Reference
#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"
#include "ns3/netanim-module.h"
+ Include dependency graph for mixed-wireless.cc:

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[])
 

Function Documentation

static void CourseChangeCallback ( std::string  path,
Ptr< const MobilityModel model 
)
static

Definition at line 86 of file mixed-wireless.cc.

References ns3::MobilityModel::GetPosition(), ns3::Vector3D::x, ns3::Vector3D::y, and ns3::Vector3D::z.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 93 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::NodeContainer::GetN(), 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(), port, ns3::MobilityHelper::PushReferenceMobilityModel(), ns3::Simulator::Run(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::CsmaHelper::SetChannelAttribute(), 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(), and stopTime.

+ Here is the call graph for this function: