#include "satellite-helper.h"
#include <ns3/application-container.h>
#include <ns3/cbr-application.h>
#include <ns3/config.h>
#include <ns3/object.h>
#include <ns3/satellite-stats-helper-container.h>
#include <ns3/string.h>
#include <map>
#include <stdint.h>
#include <string>
Go to the source code of this file.
◆ STRINGIFY
#define STRINGIFY |
( |
|
x | ) |
#x |
◆ TOSTRING
◆ TRAFFIC_MODEL_CODEC_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_CODEC_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##Codec(SatTrafficHelper::VoipCodec_t value) \
{ \
return SetTrafficCodec(
TOSTRING(index), value); \
} \
inline SatTrafficHelper::VoipCodec_t GetTraffic##index##Codec() const \
{ \
return GetTrafficCodec(
TOSTRING(index)); \
}
Definition at line 1078 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_DATA_RATE_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_DATA_RATE_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##DataRate(DataRate value) \
{ \
return SetTrafficDataRate(
TOSTRING(index), value); \
} \
inline DataRate GetTraffic##index##DataRate() const \
{ \
return GetTrafficDataRate(
TOSTRING(index)); \
}
Definition at line 1018 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_DIRECTION_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_DIRECTION_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##Direction(TrafficDirection_t value) \
{ \
return SetTrafficDirection(
TOSTRING(index), value); \
} \
inline TrafficDirection_t GetTraffic##index##Direction() const \
{ \
return GetTrafficDirection(
TOSTRING(index)); \
}
Definition at line 998 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_INTERVAL_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_INTERVAL_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##Interval(Time value) \
{ \
return SetTrafficInterval(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##Interval() const \
{ \
return GetTrafficInterval(
TOSTRING(index)); \
}
Definition at line 1008 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_OFF_TIME_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_OFF_TIME_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##OffTime(Time value) \
{ \
return SetTrafficOffTime(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##OffTime() const \
{ \
return GetTrafficOffTime(
TOSTRING(index)); \
}
Definition at line 1068 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_OFF_TIME_PATTERN_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_OFF_TIME_PATTERN_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##OffTimePattern(std::string value) \
{ \
return SetTrafficOffTimePattern(
TOSTRING(index), value); \
} \
inline std::string GetTraffic##index##OffTimePattern() const \
{ \
return GetTrafficOffTimePattern(
TOSTRING(index)); \
}
Definition at line 1048 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_ON_TIME_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_ON_TIME_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##OnTime(Time value) \
{ \
return SetTrafficOnTime(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##OnTime() const \
{ \
return GetTrafficOnTime(
TOSTRING(index)); \
}
Definition at line 1058 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_ON_TIME_PATTERN_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_ON_TIME_PATTERN_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##OnTimePattern(std::string value) \
{ \
return SetTrafficOnTimePattern(
TOSTRING(index), value); \
} \
inline std::string GetTraffic##index##OnTimePattern() const \
{ \
return GetTrafficOnTimePattern(
TOSTRING(index)); \
}
Definition at line 1038 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_PACKET_SIZE_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_PACKET_SIZE_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##PacketSize(uint32_t value) \
{ \
return SetTrafficPacketSize(
TOSTRING(index), value); \
} \
inline uint32_t GetTraffic##index##PacketSize() const \
{ \
return GetTrafficPacketSize(
TOSTRING(index)); \
}
Definition at line 1028 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_PERCENTAGE_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_PERCENTAGE_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##Percentage(double value) \
{ \
return SetTrafficPercentage(
TOSTRING(index), value); \
} \
inline double GetTraffic##index##Percentage() const \
{ \
return GetTrafficPercentage(
TOSTRING(index)); \
}
Definition at line 1118 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_PROTOCOL_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_PROTOCOL_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##Protocol(TransportLayerProtocol_t value) \
{ \
return SetTrafficProtocol(
TOSTRING(index), value); \
} \
inline TransportLayerProtocol_t GetTraffic##index##Protocol() const \
{ \
return GetTrafficProtocol(
TOSTRING(index)); \
}
Definition at line 988 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_START_DELAY_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_START_DELAY_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##StartDelay(Time value) \
{ \
return SetTrafficStartDelay(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##StartDelay() const \
{ \
return GetTrafficStartDelay(
TOSTRING(index)); \
}
Definition at line 1108 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_START_TIME_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_START_TIME_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##StartTime(Time value) \
{ \
return SetTrafficStartTime(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##StartTime() const \
{ \
return GetTrafficStartTime(
TOSTRING(index)); \
}
Definition at line 1088 of file satellite-traffic-helper.h.
◆ TRAFFIC_MODEL_STOP_TIME_ATTRIBUTE_ACCESSOR_DEFINE
#define TRAFFIC_MODEL_STOP_TIME_ATTRIBUTE_ACCESSOR_DEFINE |
( |
|
index | ) |
|
Value: inline void SetTraffic##index##StopTime(Time value) \
{ \
return SetTrafficStopTime(
TOSTRING(index), value); \
} \
inline Time GetTraffic##index##StopTime() const \
{ \
return GetTrafficStopTime(
TOSTRING(index)); \
}
Definition at line 1098 of file satellite-traffic-helper.h.