#include "satellite-isl-arbiter.h"
Inheritance diagram for ns3::SatIslArbiter:
Collaboration diagram for ns3::SatIslArbiter:Public Member Functions | |
| SatIslArbiter () | |
| Default constructor. More... | |
| SatIslArbiter (Ptr< Node > node) | |
| Constructor. More... | |
| int32_t | BaseDecide (Ptr< Packet > pkt, Mac48Address destination) |
| Base decide how to forward. More... | |
| virtual int32_t | Decide (int32_t sourceSatId, int32_t targetSatId, Ptr< Packet > pkt)=0 |
| Decide how to forward. More... | |
| virtual std::string | StringReprOfForwardingState ()=0 |
| Convert the forwarding state (i.e., routing table) to a string representation. More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
Protected Attributes | |
| uint32_t | m_nodeId |
Definition at line 39 of file satellite-isl-arbiter.h.
| ns3::SatIslArbiter::SatIslArbiter | ( | ) |
Default constructor.
Definition at line 45 of file satellite-isl-arbiter.cc.
| ns3::SatIslArbiter::SatIslArbiter | ( | Ptr< Node > | node | ) |
Constructor.
| node | The satellite node this arbiter is attached |
Definition at line 52 of file satellite-isl-arbiter.cc.
References m_nodeId.
| int32_t ns3::SatIslArbiter::BaseDecide | ( | Ptr< Packet > | pkt, |
| Mac48Address | destination | ||
| ) |
Base decide how to forward.
| pkt | Packet |
| destination | IP header of the packet |
Definition at line 60 of file satellite-isl-arbiter.cc.
References Decide(), and m_nodeId.
Here is the call graph for this function:
|
pure virtual |
Decide how to forward.
Implemented in subclasses
| sourceSatId | Satellite ID where the packet originated from |
| targetSatId | Satellite ID where the packet has to go to |
| pkt | Packet |
Implemented in ns3::SatIslArbiterUnicast.
Referenced by BaseDecide().
Here is the caller graph for this function:
|
static |
Definition at line 39 of file satellite-isl-arbiter.cc.
|
pure virtual |
Convert the forwarding state (i.e., routing table) to a string representation.
Implemented in ns3::SatIslArbiterUnicast.
|
protected |
Definition at line 84 of file satellite-isl-arbiter.h.
Referenced by SatIslArbiter(), BaseDecide(), and ns3::SatIslArbiterUnicast::StringReprOfForwardingState().