![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <macr/Scorer.hpp>


Public Member Functions | |
| void | deleteRoute (const wns::service::dll::UnicastAddress &source) |
| wns::service::dll::UnicastAddress | getRoute (const wns::service::dll::UnicastAddress &source) |
| bool | hasRoute (const wns::service::dll::UnicastAddress &source) |
| virtual lte::helper::Route | score (const wns::ldk::CompoundPtr &compound) |
| return a route (including) the score for this compound to support the MACg scheduling process | |
| Scorer (const std::string &_modeName, const wns::pyconfig::View &config) | |
| void | setAssociationService (dll::services::control::Association *service) |
| void | setRLC (wns::ldk::CommandReaderInterface *_rlcReader) |
| void | setRoute (const wns::service::dll::UnicastAddress &source, const wns::service::dll::UnicastAddress &receivedFrom) |
| virtual | ~Scorer () |
Private Types | |
| typedef std::map < wns::service::dll::UnicastAddress, wns::service::dll::UnicastAddress > | SeenTable |
| the SeenTable is a dataStructure to support Layer2-Routing in the Multihop case. It relates the DLL address of a packet's original sender to the DLL address of the sender we actually received it from. | |
Private Attributes | |
| dll::services::control::Association * | associationService |
| wns::logger::Logger | logger |
| std::string | modeName |
| wns::ldk::CommandReaderInterface * | rlcReader |
| SeenTable | seen |
| map of source DLL Addresses to lte::main::Layer2 pointers, used for "Routing" | |
Definition at line 39 of file Scorer.hpp.
typedef std::map<wns::service::dll::UnicastAddress, wns::service::dll::UnicastAddress> lte::macr::Scorer::SeenTable [private] |
Definition at line 77 of file Scorer.hpp.
| Scorer::Scorer | ( | const std::string & | _modeName, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 35 of file Scorer.cpp.
| Scorer::~Scorer | ( | ) | [virtual] |
Definition at line 43 of file Scorer.cpp.
| void Scorer::deleteRoute | ( | const wns::service::dll::UnicastAddress & | source | ) |
Definition at line 111 of file Scorer.cpp.
| wns::service::dll::UnicastAddress Scorer::getRoute | ( | const wns::service::dll::UnicastAddress & | source | ) |
Definition at line 127 of file Scorer.cpp.
| bool Scorer::hasRoute | ( | const wns::service::dll::UnicastAddress & | source | ) |
Definition at line 118 of file Scorer.cpp.
| lte::helper::Route Scorer::score | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
| void Scorer::setAssociationService | ( | dll::services::control::Association * | service | ) |
Definition at line 134 of file Scorer.cpp.
| void Scorer::setRLC | ( | wns::ldk::CommandReaderInterface * | _rlcReader | ) |
Definition at line 140 of file Scorer.cpp.
| void Scorer::setRoute | ( | const wns::service::dll::UnicastAddress & | source, | |
| const wns::service::dll::UnicastAddress & | receivedFrom | |||
| ) |
Definition at line 104 of file Scorer.cpp.
Definition at line 83 of file Scorer.hpp.
wns::logger::Logger lte::macr::Scorer::logger [private] |
Definition at line 85 of file Scorer.hpp.
std::string lte::macr::Scorer::modeName [private] |
Definition at line 84 of file Scorer.hpp.
Definition at line 86 of file Scorer.hpp.
SeenTable lte::macr::Scorer::seen [private] |
Definition at line 82 of file Scorer.hpp.
1.5.5