mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-09 10:31:43 +02:00
Make examples runable as tests
This commit is contained in:
parent
fccc05f6c2
commit
3f4ba0a8c1
5 changed files with 107 additions and 26 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "ns3/node-container.h"
|
||||
#include "ns3/leo-circular-orbit-mobility-model.h"
|
||||
#include "ns3/leo-circular-orbit-position-allocator.h"
|
||||
#include "ns3/leo-orbit.h"
|
||||
|
||||
/**
|
||||
* \brief Builds a node container of nodes with LEO positions using a list of
|
||||
|
@ -33,6 +34,20 @@ public:
|
|||
*/
|
||||
NodeContainer Install (const std::string &orbitFile);
|
||||
|
||||
/**
|
||||
*
|
||||
* \param orbits orbit definitions
|
||||
* \returns a node container containing nodes using the specified attributes
|
||||
*/
|
||||
NodeContainer Install (const std::vector<LeoOrbit> &orbits);
|
||||
|
||||
/**
|
||||
*
|
||||
* \param orbit orbit definition
|
||||
* \returns a node container containing nodes using the specified attributes
|
||||
*/
|
||||
NodeContainer Install (const LeoOrbit &orbit);
|
||||
|
||||
/**
|
||||
* Set an attribute for each node
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue