#include "ns3/core-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/csma-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"
#include "ns3/internet-module.h"
#include "ns3/netanim-module.h"
#include "ns3/basic-energy-source.h"
#include "ns3/simple-device-energy-model.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("WirelessAnimationExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 39 of file wireless-animation.cc.
References ns3::NodeContainer::Add(), first::address, ns3::CommandLine::AddValue(), ns3::Object::AggregateObject(), ns3::Ipv4AddressHelper::Assign(), first::clientApps, ns3::YansWifiChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::YansWifiChannelHelper::Default(), ns3::NqosWifiMacHelper::Default(), ns3::WifiHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Simulator::Destroy(), first::echoClient, first::echoServer, ns3::AnimationInterface::EnableIpv4RouteTracking(), ns3::AnimationInterface::EnablePacketMetadata(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::UdpEchoServerHelper::Install(), ns3::CsmaHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::MobilityHelper::Install(), ns3::CommandLine::Parse(), first::pointToPoint, ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), ns3::Simulator::Run(), first::serverApps, ns3::Ipv4AddressHelper::SetBase(), ns3::AnimationInterface::SetBoundary(), ns3::YansWifiPhyHelper::SetChannel(), ns3::CsmaHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::AnimationInterface::SetConstantPosition(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::MobilityHelper::SetMobilityModel(), ns3::AnimationInterface::SetNodeColor(), ns3::AnimationInterface::SetNodeDescription(), ns3::MobilityHelper::SetPositionAllocator(), ns3::WifiHelper::SetRemoteStationManager(), ns3::NqosWifiMacHelper::SetType(), first::stack, ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), and ns3::ApplicationContainer::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "WirelessAnimationExample" | ) |