20#ifndef SATELLITE_FADING_OUTPUT_TRACE_CONTAINER_H
21#define SATELLITE_FADING_OUTPUT_TRACE_CONTAINER_H
26#include "ns3/mac48-address.h"
27#include "ns3/satellite-output-fstream-double-container.h"
48 typedef std::pair<Address, SatEnums::ChannelType_t>
key_t;
53 typedef std::map<key_t, Ptr<SatOutputFileStreamDoubleContainer>>
container_t;
103 Ptr<SatOutputFileStreamDoubleContainer>
AddNode(
104 std::pair<Address, SatEnums::ChannelType_t> key);
SatBaseTraceContainer()
Constructor.
static TypeId GetTypeId(void)
NS-3 type id function.
void AddToContainer(key_t key, std::vector< double > newItem)
Add the vector containing the values to container matching the key.
std::map< key_t, Ptr< SatOutputFileStreamDoubleContainer > > container_t
typedef for map of containers
bool m_enableFigureOutput
Switch for figure output.
std::pair< Address, SatEnums::ChannelType_t > key_t
typedef for map key
container_t m_container
Map for containers.
void EnableFigureOutput(bool enableFigureOutput)
Function for enabling / disabling figure output.
Ptr< SatOutputFileStreamDoubleContainer > AddNode(std::pair< Address, SatEnums::ChannelType_t > key)
Function for adding the node to the map.
Ptr< SatOutputFileStreamDoubleContainer > FindNode(key_t key)
Function for finding the container matching the key.
~SatFadingOutputTraceContainer()
Destructor.
SatFadingOutputTraceContainer()
Constructor.
void DoDispose()
Do needed dispose actions.
void WriteToFile()
Write the contents of a container matching to the key into a file.
void Reset()
Function for resetting the variables.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.