20 #ifndef SATELLITE_RX_POWER_OUTPUT_TRACE_CONTAINER_H
21 #define SATELLITE_RX_POWER_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;
109 Ptr<SatOutputFileStreamDoubleContainer>
AddNode(
110 std::pair<Address, SatEnums::ChannelType_t> key);
Base class for trace containers such as interference or fading traces.
Class for Rx power output trace container.
Ptr< SatOutputFileStreamDoubleContainer > AddNode(std::pair< Address, SatEnums::ChannelType_t > key)
Function for adding the node to the map.
void Reset()
Function for resetting the variables.
static TypeId GetTypeId(void)
NS-3 type id function.
~SatRxPowerOutputTraceContainer()
Destructor.
Ptr< SatOutputFileStreamDoubleContainer > FindNode(key_t key)
Function for finding the container matching the key.
std::map< key_t, Ptr< SatOutputFileStreamDoubleContainer > > container_t
typedef for map of containers
SatRxPowerOutputTraceContainer()
Constructor.
std::pair< Address, SatEnums::ChannelType_t > key_t
typedef for map key
void WriteToFile()
Write the contents of a container matching to the key into a file.
void AddToContainer(key_t key, std::vector< double > newItem)
Add the vector containing the values to container matching the key.
bool m_enableFigureOutput
Switch for figure output.
container_t m_container
Map for containers.
void DoDispose()
Do needed dispose actions.
TypeId GetInstanceTypeId(void) const
NS-3 instance type id function.
void EnableFigureOutput(bool enableFigureOutput)
Function for enabling / disabling figure output.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.