21 #ifndef SAT_OUTPUT_FSTREAM_STRING_CONTAINER_H
22 #define SAT_OUTPUT_FSTREAM_STRING_CONTAINER_H
26 #include "ns3/object.h"
27 #include <ns3/gnuplot.h>
Class for output file stream container for strings.
SatOutputFileStreamStringContainer()
Constructor.
~SatOutputFileStreamStringContainer()
Destructor.
void AddToContainer(std::string newLine)
Function for adding the line to container.
std::string m_fileName
File name.
void DoDispose()
Do needed dispose actions.
std::ios::openmode m_fileMode
File mode.
void Reset()
Function for resetting the variables.
void OpenStream()
Function for opening the output file stream.
void WriteContainerToFile()
Function for writing the container contents to file.
std::ofstream * m_outputFileStream
Pointer to output file stream.
void ResetStream()
Function for resetting the stream.
std::vector< std::string > m_container
Container for lines.
static TypeId GetTypeId(void)
NS-3 function for type id.
SatOutputFileStreamWrapper * m_outputFileStreamWrapper
Pointer to output file stream wrapper.
void ClearContainer()
Function for clearing the container.
A class encapsulating an STL output stream.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.