8#ifndef ANTHOCNET_HELPER_H
9#define ANTHOCNET_HELPER_H
11#include "ns3/ipv4-routing-helper.h"
12#include "ns3/object-factory.h"
13#include "ns3/node-container.h"
23 Ptr<Ipv4RoutingProtocol>
Create(Ptr<Node> node)
const override;
26 void Set(std::string name,
const AttributeValue& value);
32 ObjectFactory m_agentFactory;
void Set(std::string name, const AttributeValue &value)
Set an attribute on the routing protocol to be created.
AntHocNetHelper * Copy() const override
int64_t AssignStreams(NodeContainer c, int64_t stream)
Seed the protocol RNGs on the given nodes; returns streams used.
Ptr< Ipv4RoutingProtocol > Create(Ptr< Node > node) const override