9#ifndef RTA_TIG_MOBILE_GAMING_H
10#define RTA_TIG_MOBILE_GAMING_H
14#include "ns3/address.h"
15#include "ns3/event-id.h"
An identifier for simulation events.
The Largest Extreme Value distribution Random Number Generator (RNG).
Smart pointer class similar to boost::intrusive_ptr.
void DoStartApplication() override
Application specific startup code for child subclasses.
~RtaTigMobileGaming() override
TracedCallback< Ptr< const Packet >, TrafficModelStage > m_txStageTrace
Traced Callback: transmitted packets and their stage.
void CancelEvents() override
Cancel all pending events.
EventId m_txEvent
Event ID of pending TX event scheduling.
ModelPresets
Model presets enumeration.
Ptr< UniformRandomVariable > m_endSizeUniform
Uniform random variable to generate the end packet size.
TrafficModelStage m_currentStage
Hold the current stage.
void DoInitialize() override
Initialize() implementation.
int64_t AssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this Application object.
void(* TxTracedCallback)(Ptr< const Packet > packet, TrafficModelStage stage)
TracedCallback signature for packet and stage.
void SendPacket()
Transmit one initial, gaming or ending packet.
Ptr< LargestExtremeValueRandomVariable > m_levArrivals
Largest extreme value random variable to generate packet arrival times.
static TypeId GetTypeId()
Get the type ID.
ModelPresets m_modelPresets
Model presets to use to configure the traffic generator.
void ScheduleNext()
Schedule the next packet transmission.
Ptr< LargestExtremeValueRandomVariable > m_levSizes
Largest extreme value random variable to generate packet sizes.
TrafficModelStage
Traffic model stages.
void DoConnectionSucceeded(Ptr< Socket > socket) override
Application specific code for child subclasses upon a Connection Succeed event.
void DoStopApplication() override
Application specific shutdown code for child subclasses.
Ptr< UniformRandomVariable > m_initialSizeUniform
Uniform random variable to generate the initial packet size.
SourceApplication(bool allowPacketSocket=true)
Constructor.
Forward calls to a chain of Callback.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::ostream & operator<<(std::ostream &os, const Angles &a)