#include <iostream>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/netanim-module.h"
#include "ns3/applications-module.h"
#include "ns3/point-to-point-layout-module.h"
Go to the source code of this file.
Classes | |
struct | rgb |
Functions | |
int | main (int argc, char *argv[]) |
void | modify () |
Variables | |
struct rgb | colors [] |
AnimationInterface * | pAnim = 0 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 88 of file dynamic_linknode.cc.
References ns3::ApplicationContainer::Add(), ns3::CommandLine::AddValue(), ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(), ns3::PointToPointDumbbellHelper::BoundingBox(), first::clientApps, ns3::Simulator::Destroy(), ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(), ns3::PointToPointDumbbellHelper::GetRight(), ns3::OnOffHelper::Install(), ns3::PointToPointDumbbellHelper::InstallStack(), modify(), pAnim, ns3::CommandLine::Parse(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), ns3::PointToPointDumbbellHelper::RightCount(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::OnOffHelper::SetAttribute(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), first::stack, ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
void modify | ( | ) |
Definition at line 45 of file dynamic_linknode.cc.
References rgb::b, colors, rgb::g, ns3::Time::GetSeconds(), ns3::Simulator::Now(), pAnim, rgb::r, ns3::Simulator::Schedule(), ns3::AnimationInterface::ShowNode(), ns3::AnimationInterface::UpdateLinkDescription(), ns3::AnimationInterface::UpdateNodeColor(), and ns3::AnimationInterface::UpdateNodeDescription().
Referenced by main().
struct rgb colors[] |
Definition at line 39 of file dynamic_linknode.cc.
Referenced by modify().
AnimationInterface* pAnim = 0 |
Definition at line 31 of file dynamic_linknode.cc.