33NS_LOG_COMPONENT_DEFINE(
"SatPositionInputTraceContainer");
43 static TypeId tid = TypeId(
"ns3::SatPositionInputTraceContainer")
45 .AddConstructor<SatPositionInputTraceContainer>();
51 NS_LOG_FUNCTION(
this);
56 NS_LOG_FUNCTION(
this);
64 NS_LOG_FUNCTION(
this);
68 SatBaseTraceContainer::DoDispose();
74 NS_LOG_FUNCTION(
this);
82Ptr<SatInputFileStreamTimeDoubleContainer>
85 NS_LOG_FUNCTION(
this << filename);
87 std::pair<container_t::iterator, bool> result =
m_container.insert(
88 std::make_pair(filename,
89 CreateObject<SatInputFileStreamTimeDoubleContainer>(
94 if (result.second ==
false)
96 NS_FATAL_ERROR(
"SatPositionInputTraceContainer::AddNode failed");
99 return result.first->second;
102Ptr<SatInputFileStreamTimeDoubleContainer>
105 NS_LOG_FUNCTION(
this);
107 container_t::iterator iter =
m_container.find(key);
121 NS_LOG_FUNCTION(
this);
123 std::vector<double> row =
FindNode(key)->InterpolateBetweenClosestTimeSamples();
GeoCoordinate class is used to store and operate with geodetic coordinates.
static const uint32_t POSITION_TRACE_DEFAULT_ALTITUDE_INDEX
Default altitude value index for positions traces.
static const uint32_t POSITION_TRACE_DEFAULT_LATITUDE_INDEX
Default latitude value index for positions traces.
static const uint32_t POSITION_TRACE_DEFAULT_LONGITUDE_INDEX
Default longitude value index for positions traces.
SatBaseTraceContainer()
Constructor.
static const uint32_t POSITION_TRACE_DEFAULT_NUMBER_OF_COLUMNS
Default number of columns for position traces.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.