mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-09 10:31:43 +02:00
Use speed of light in air
This commit is contained in:
parent
b0bd80c8fe
commit
37631d0758
6 changed files with 15 additions and 4 deletions
|
@ -72,9 +72,12 @@ public:
|
|||
std::size_t GetNDevices (void) const;
|
||||
virtual bool TransmitStart (Ptr<const Packet> p, uint32_t devId, Address dst, Time txTime) = 0;
|
||||
|
||||
Ptr<PropagationLossModel> GetPropagationLoss () const;
|
||||
Ptr<PropagationLossModel> GetPropagationLoss (void) const;
|
||||
void SetPropagationLoss (Ptr<PropagationLossModel> model);
|
||||
|
||||
Ptr<PropagationDelayModel> GetPropagationDelay (void) const;
|
||||
void SetPropagationDelay (Ptr<PropagationDelayModel> delay);
|
||||
|
||||
protected:
|
||||
TracedCallback<Ptr<const Packet>, // Packet being transmitted
|
||||
Ptr<NetDevice>, // Transmitting NetDevice
|
||||
|
@ -89,7 +92,6 @@ protected:
|
|||
*/
|
||||
Time GetPropagationDelay (Ptr<MobilityModel> first, Ptr<MobilityModel> second, Time txTime) const;
|
||||
|
||||
Ptr<PropagationDelayModel> GetPropagationDelay () const;
|
||||
Ptr<MockNetDevice> GetDevice (Address &addr) const;
|
||||
|
||||
bool Deliver ( Ptr<const Packet> p, Ptr<MockNetDevice> src, Ptr<MockNetDevice> dst, Time txTime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue