20 #ifndef SATELLITE_ON_OFF_HELPER_H
21 #define SATELLITE_ON_OFF_HELPER_H
23 #include "ns3/address.h"
24 #include "ns3/application-container.h"
25 #include "ns3/attribute.h"
26 #include "ns3/node-container.h"
27 #include "ns3/object-factory.h"
28 #include "ns3/satellite-on-off-application.h"
63 void SetAttribute(std::string name,
const AttributeValue& value);
83 ApplicationContainer
Install(NodeContainer c)
const;
92 ApplicationContainer
Install(Ptr<Node> node)
const;
102 Ptr<Application>
InstallPriv(Ptr<Node> node)
const;
A helper to make it easier to instantiate an ns3::SatOnOffApplication on a set of nodes.
ApplicationContainer Install(NodeContainer c) const
Install an ns3::SatOnOffApplication on each node of the input container configured with all the attri...
SatOnOffHelper(std::string protocol, Address address)
Create an SatOnOffHelper to make it easier to work with SatOnOffApplications.
ObjectFactory m_factory
Object factory.
void SetAttribute(std::string name, const AttributeValue &value)
Helper function used to set the underlying application attributes.
void SetConstantRate(DataRate dataRate, uint32_t packetSize=512)
Helper function to set a constant rate source.
Ptr< Application > InstallPriv(Ptr< Node > node) const
Install an ns3::SatOnOffApplication on the node configured with all the attributes set with SetAttrib...
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.