Update doxygen documentation

This commit is contained in:
Tim Schubert 2020-09-06 21:37:47 +02:00
parent 61b6fd7ea1
commit f17ff6abc6
38 changed files with 1023 additions and 124 deletions

View file

@ -23,32 +23,82 @@
#include "ns3/object.h"
#include "ns3/waypoint.h"
/**
* \file
* \ingroup leo
* Declares LeoWaypointInputFileStreamContainer
*/
using namespace std;
namespace ns3
{
/**
* \ingroup leo
* \brief Wrapper around a stream of Waypoint
*/
class LeoWaypointInputFileStreamContainer : public Object
{
public:
/**
* \brief Get the type ID.
* \return the object TypeId
*/
static TypeId GetTypeId (void);
/// constructor
LeoWaypointInputFileStreamContainer ();
/// destructor
virtual ~LeoWaypointInputFileStreamContainer ();
/**
* constructor
*
* \param filePath path to waypoints file
* \param lastTime the time until which to read waypoints
*/
LeoWaypointInputFileStreamContainer (string filePath, Time lastTime);
/**
* \brief Get next waypoint
* \param [out] next waypoint
* \return true iff there are more waypoints
*/
bool GetNextSample (Waypoint &sample);
/**
* \brief Set the path to the waypoint file
* \param path path to the waypoint file
*/
void SetFile (const string path);
/**
* \brief Get the path to the waypoint file
* \return path to the waypoint file
*/
string GetFile () const;
/**
* \brief Set the path to the last time slot
* \param lastTime last time slot
*/
void SetLastTime (const Time lastTime);
/**
* \brief Get the last time slot
* \return last time slot
*/
Time GetLastTime () const;
private:
/// Path to the waypoints file
string m_filePath;
/// Time of the last timestamp
Time m_lastTime;
/// Waypoint file stream
ifstream m_input;
};