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


Public Member Functions | |
| bool | beamformingEnabled () const |
| virtual wns::service::phy::ofdma::PatternPtr | calculateAndSetBeam (wns::node::Interface *id, const std::vector< wns::node::Interface * > &undesired, wns::Power IinterPlusNoise) |
| virtual std::map < wns::node::Interface *, wns::CandI > | calculateCandIsRx (const std::vector< wns::node::Interface * > &combination, wns::Power IinterPlusNoise) |
| estimate C and I separately in the beamforming Rx case | |
| virtual std::map < wns::node::Interface *, wns::CandI > | calculateCandIsTx (const std::map< wns::node::Interface *, wns::Power > &Station2NoisePlusIintercell, wns::Power x_friendlyness, wns::Power intendedTxPower) |
| virtual std::map < wns::node::Interface *, wns::Ratio > | calculateSINRsRx (const std::vector< wns::node::Interface * > &combination, wns::Power IinterPlusNoise) |
| estimate SINR in the beamforming Rx case | |
| virtual std::map < wns::node::Interface *, wns::Ratio > | calculateSINRsTx (const std::map< wns::node::Interface *, wns::Power > &Station2NoisePlusIintercell, wns::Power x_friendlyness, wns::Power intendedTxPower) |
| virtual void | disableReception () |
| virtual void | enableReception () |
| void | endTransmission (rise::TransmissionObjectPtr t) |
| virtual double | estimateDoA (wns::node::Interface *id) |
| simTimeType | getArrivalTime (simTimeType time, int len) |
| rise::antenna::Beamforming * | getBFAntenna () const |
| virtual wns::Power | getMaxOutputPower () const |
| retrieve info about the max total output power (sum of all subbands) | |
| virtual wns::Power | getMaxPowerPerSubband () const |
| retrieve info about the used power per subband | |
| virtual wns::node::Interface * | getNode () |
| virtual int | getNumAntennas () const |
| receiver::Receiver * | getReceiver () |
| virtual wns::service::phy::ofdma::Tune | getRxTune () const |
| retrieve currently set Rx Tuning | |
| virtual rise::SystemManager * | getSystemManager () const |
| Returns the SystemManager of this Station. | |
| Transmitter< Station > * | getTransmitter () |
| virtual wns::service::phy::ofdma::Tune | getTxTune () const |
| retrieve currently set Tx Tuning | |
| virtual void | insertReceivePattern (wns::node::Interface *, wns::service::phy::ofdma::PatternPtr) |
| bool | isEIRPLimited () const |
| retrieve info about the EIRP restriction | |
| virtual bool | isReceiving () const |
| informs whether station is currently receiving data or not | |
| virtual bool | isReceptionEnabled () const |
| void | measurementUpdate (wns::node::Interface *source, wns::service::phy::power::OFDMAMeasurementPtr rxPowerMeasurementPtr) |
| delegate Phy measurements from Receiver to Layer2 | |
| void | onNewRSS (wns::Power rss) |
| observer for newRSSInterface | |
| void | onNodeCreated () |
| virtual std::string | printActiveTransmissions () const |
| returns all active transmissions (for debugging) | |
| void | receiveData (wns::osi::PDUPtr sdu, wns::service::phy::power::PowerMeasurementPtr rxPowerMeasurementPtr) |
| receive sdu plus measurement information and delegate to Layer2 | |
| virtual void | registerHandler (wns::service::phy::ofdma::Handler *_handler) |
| Notification handler provides method onData for compounds to send upStack. | |
| virtual void | registerMeasurementHandler (wns::service::phy::ofdma::MeasurementHandler *_measurementHandler) |
| Measurement handler provides method onMeasurementUpdate for measurements to send upStack. | |
| virtual void | registerRSSHandler (wns::service::phy::ofdma::RSSHandler *_rssHandler) |
| virtual void | removeReceivePattern (wns::node::Interface *) |
| virtual void | setCurrentReceivePatterns (std::map< wns::node::Interface *, wns::service::phy::ofdma::PatternPtr >) |
| void | setPowerReceivedForStation (wns::node::Interface *stack, wns::Power _rxPower) |
| virtual void | setRxTune (const wns::service::phy::ofdma::Tune &rxTune) |
| set Rx Tuning | |
| void | setTxPowerForStation (wns::node::Interface *stack, wns::Power _txPower) |
| virtual void | setTxRxSwap (bool reverse) |
| method for fast swapping of Rx/Tx frequencies, e.g. in an FDD relay | |
| virtual void | setTxTune (const wns::service::phy::ofdma::Tune &txTune) |
| set Tx Tuning | |
| virtual void | startBroadcast (wns::osi::PDUPtr sdu, int subBand, wns::Power requestedTxPower, wns::service::phy::phymode::PhyModeInterfacePtr _phyModePtr) |
| Start a single-stream broadcast transmission of sdu with given phyMode. | |
| virtual void | startBroadcast (wns::osi::PDUPtr sdu, int subBand, wns::Power requestedTxPower, int numberOfSpatialStreams=1) |
| Start a broadcast transmission of sdu. | |
| virtual void | startReceiving () |
| virtual void | startTransmission (wns::osi::PDUPtr pdu, wns::node::Interface *_recipient, int subBand, wns::service::phy::ofdma::PatternPtr pattern, wns::Power requestedTxPower, wns::service::phy::phymode::PhyModeInterfacePtr _phyModePtr) |
| virtual void | startTransmission (wns::osi::PDUPtr pdu, wns::node::Interface *_recipient, int subBand, wns::service::phy::ofdma::PatternPtr pattern, wns::Power requestedTxPower, int numberOfSpatialStreams=1) |
| virtual void | startUnicast (wns::osi::PDUPtr sdu, wns::node::Interface *_recipient, int subBand, wns::Power requestedTxPower, wns::service::phy::phymode::PhyModeInterfacePtr _phyModePtr) |
| Start a single-stream unicast transmission of sdu with given phyMode. | |
| virtual void | startUnicast (wns::osi::PDUPtr sdu, wns::node::Interface *_recipient, int subBand, wns::Power requestedTxPower, int numberOfSpatialStreams=1) |
| Start a unicast transmission of sdu. | |
| Station (Component *component, const wns::pyconfig::View &pyConfigView) | |
| virtual void | stopReceiving () |
| virtual void | stopTransmission (wns::osi::PDUPtr sdu, int subBand) |
| void | updateRequest () |
| virtual | ~Station () |
| Destructor. | |
Protected Member Functions | |
| virtual wns::Power | admit (const wns::Power &requestedPower) const |
| virtual wns::Power | getSumPower () const |
| retrieve info about the used power per subband for a certain user, currently not implemented | |
Protected Attributes | |
| bool | eirpLimited |
Private Types | |
| typedef wns::service::phy::ofdma::BFIdu | bFIdu |
Private Member Functions | |
| virtual wns::CandI | getCurrentCandI (wns::osi::PDUPtr sdu) |
| void | startTransmitting (wns::osi::PDUPtr sdu, rise::TransmissionObjectPtr txObject, int subBand) |
Private Attributes | |
| std::map< wns::osi::PDUPtr, rise::TransmissionObjectPtr > | activeTransmissions |
| rise::antenna::Beamforming * | beamformingAntenna |
| Component * | component |
| wns::service::phy::ofdma::Handler * | handler |
| bool | isReceptionEnabledFlag |
| wns::logger::Logger | logger |
| wns::Power | maxTxPowerPerSubband |
| wns::service::phy::ofdma::MeasurementHandler * | measurementHandler |
| const int | numAntennas |
| Number of antennas for MIMO. | |
| PowerAdmissionInterface * | powerAdmission |
| receiver::Receiver * | receiver |
| bool | reverseState |
| wns::service::phy::ofdma::RSSHandler * | rssHandler |
| bool | supportsBeamforming |
| SystemManager * | systemManager |
| wns::Power | totalPower |
| Transmitter< Station > * | transmitter |
| wns::service::phy::ofdma::Tune | tuneRx |
| wns::service::phy::ofdma::Tune | tuneTx |
Friends | |
| class | ofdmaphy::tests::TransmitterTest |
Classes | |
| class | ConvertNode |
Definition at line 70 of file Station.hpp.
typedef wns::service::phy::ofdma::BFIdu ofdmaphy::Station::bFIdu [private] |
Definition at line 81 of file Station.hpp.
| Station::Station | ( | Component * | component, | |
| const wns::pyconfig::View & | pyConfigView | |||
| ) |
Definition at line 49 of file Station.cpp.
| Station::~Station | ( | ) | [virtual] |
| wns::Power Station::admit | ( | const wns::Power & | requestedPower | ) | const [protected, virtual] |
| bool Station::beamformingEnabled | ( | ) | const |
Definition at line 149 of file Station.cpp.
| wns::service::phy::ofdma::PatternPtr Station::calculateAndSetBeam | ( | wns::node::Interface * | id, | |
| const std::vector< wns::node::Interface * > & | undesired, | |||
| wns::Power | IinterPlusNoise | |||
| ) | [virtual] |
| std::map< wns::node::Interface *, wns::CandI > Station::calculateCandIsRx | ( | const std::vector< wns::node::Interface * > & | , | |
| wns::Power | ||||
| ) | [virtual] |
| std::map< wns::node::Interface *, wns::CandI > Station::calculateCandIsTx | ( | const std::map< wns::node::Interface *, wns::Power > & | Station2NoisePlusIintercell, | |
| wns::Power | x_friendlyness, | |||
| wns::Power | intendedTxPower | |||
| ) | [virtual] |
Definition at line 417 of file Station.cpp.
| std::map< wns::node::Interface *, wns::Ratio > Station::calculateSINRsRx | ( | const std::vector< wns::node::Interface * > & | combination, | |
| wns::Power | Iinter | |||
| ) | [virtual] |
| std::map< wns::node::Interface *, wns::Ratio > Station::calculateSINRsTx | ( | const std::map< wns::node::Interface *, wns::Power > & | Station2NoisePlusIintercell, | |
| wns::Power | x_friendlyness, | |||
| wns::Power | intendedTxPower | |||
| ) | [virtual] |
Definition at line 396 of file Station.cpp.
| void Station::disableReception | ( | ) | [virtual] |
| void Station::enableReception | ( | ) | [virtual] |
| void ofdmaphy::Station::endTransmission | ( | rise::TransmissionObjectPtr | t | ) |
| double Station::estimateDoA | ( | wns::node::Interface * | id | ) | [virtual] |
| simTimeType ofdmaphy::Station::getArrivalTime | ( | simTimeType | time, | |
| int | len | |||
| ) |
| rise::antenna::Beamforming * Station::getBFAntenna | ( | ) | const |
Definition at line 142 of file Station.cpp.
| virtual wns::CandI ofdmaphy::Station::getCurrentCandI | ( | wns::osi::PDUPtr | sdu | ) | [private, virtual] |
| virtual wns::Power ofdmaphy::Station::getMaxOutputPower | ( | ) | const [inline, virtual] |
| virtual wns::Power ofdmaphy::Station::getMaxPowerPerSubband | ( | ) | const [inline, virtual] |
| wns::node::Interface * Station::getNode | ( | ) | [virtual] |
Definition at line 728 of file Station.cpp.
| virtual int ofdmaphy::Station::getNumAntennas | ( | ) | const [inline, virtual] |
Definition at line 295 of file Station.hpp.
| receiver::Receiver* ofdmaphy::Station::getReceiver | ( | ) | [inline] |
Definition at line 289 of file Station.hpp.
| virtual wns::service::phy::ofdma::Tune ofdmaphy::Station::getRxTune | ( | ) | const [inline, virtual] |
| wns::Power Station::getSumPower | ( | ) | const [protected, virtual] |
Definition at line 734 of file Station.cpp.
| rise::SystemManager * Station::getSystemManager | ( | ) | const [virtual] |
Each Station belongs to a special system (UMTS, H2, 802.11 ...). The SystemManager of a system keeps track of all Stations, the Scenario and other stuff belonging to this system. Further it provides a nice way to things for each Station of this system by using SystemManager::forEachStation().
Implements rise::Station.
Definition at line 294 of file Station.cpp.
| Transmitter<Station>* ofdmaphy::Station::getTransmitter | ( | ) | [inline] |
Definition at line 292 of file Station.hpp.
| virtual wns::service::phy::ofdma::Tune ofdmaphy::Station::getTxTune | ( | ) | const [inline, virtual] |
| void Station::insertReceivePattern | ( | wns::node::Interface * | _node, | |
| wns::service::phy::ofdma::PatternPtr | _pattern | |||
| ) | [virtual] |
| bool ofdmaphy::Station::isEIRPLimited | ( | ) | const [inline, virtual] |
| bool Station::isReceiving | ( | ) | const [virtual] |
| bool Station::isReceptionEnabled | ( | ) | const [virtual] |
| void Station::measurementUpdate | ( | wns::node::Interface * | source, | |
| wns::service::phy::power::OFDMAMeasurementPtr | rxPowerMeasurementPtr | |||
| ) |
Definition at line 309 of file Station.cpp.
| void Station::onNewRSS | ( | wns::Power | rss | ) |
Definition at line 324 of file Station.cpp.
| void Station::onNodeCreated | ( | ) |
Definition at line 155 of file Station.cpp.
| std::string Station::printActiveTransmissions | ( | ) | const [virtual] |
| void ofdmaphy::Station::receiveData | ( | wns::osi::PDUPtr | sdu, | |
| wns::service::phy::power::PowerMeasurementPtr | rxPowerMeasurementPtr | |||
| ) |
| virtual void ofdmaphy::Station::registerHandler | ( | wns::service::phy::ofdma::Handler * | _handler | ) | [inline, virtual] |
| virtual void ofdmaphy::Station::registerMeasurementHandler | ( | wns::service::phy::ofdma::MeasurementHandler * | _measurementHandler | ) | [inline, virtual] |
| void Station::registerRSSHandler | ( | wns::service::phy::ofdma::RSSHandler * | _rssHandler | ) | [virtual] |
| void Station::removeReceivePattern | ( | wns::node::Interface * | _node | ) | [virtual] |
| void Station::setCurrentReceivePatterns | ( | std::map< wns::node::Interface *, wns::service::phy::ofdma::PatternPtr > | _receivePatterns | ) | [virtual] |
Definition at line 645 of file Station.cpp.
| void Station::setPowerReceivedForStation | ( | wns::node::Interface * | stack, | |
| wns::Power | _rxPower | |||
| ) | [virtual] |
| void Station::setRxTune | ( | const wns::service::phy::ofdma::Tune & | rxTune | ) | [virtual] |
| void Station::setTxPowerForStation | ( | wns::node::Interface * | stack, | |
| wns::Power | _txPower | |||
| ) | [virtual] |
| void Station::setTxRxSwap | ( | bool | reverse | ) | [virtual] |
| void Station::setTxTune | ( | const wns::service::phy::ofdma::Tune & | txTune | ) | [virtual] |
| virtual void ofdmaphy::Station::startBroadcast | ( | wns::osi::PDUPtr | sdu, | |
| int | subBand, | |||
| wns::Power | requestedTxPower, | |||
| wns::service::phy::phymode::PhyModeInterfacePtr | _phyModePtr | |||
| ) | [virtual] |
| virtual void ofdmaphy::Station::startBroadcast | ( | wns::osi::PDUPtr | sdu, | |
| int | subBand, | |||
| wns::Power | requestedTxPower, | |||
| int | numberOfSpatialStreams = 1 | |||
| ) | [virtual] |
| void Station::startReceiving | ( | ) | [virtual] |
Definition at line 700 of file Station.cpp.
| virtual void ofdmaphy::Station::startTransmission | ( | wns::osi::PDUPtr | pdu, | |
| wns::node::Interface * | _recipient, | |||
| int | subBand, | |||
| wns::service::phy::ofdma::PatternPtr | pattern, | |||
| wns::Power | requestedTxPower, | |||
| wns::service::phy::phymode::PhyModeInterfacePtr | _phyModePtr | |||
| ) | [virtual] |
| virtual void ofdmaphy::Station::startTransmission | ( | wns::osi::PDUPtr | pdu, | |
| wns::node::Interface * | _recipient, | |||
| int | subBand, | |||
| wns::service::phy::ofdma::PatternPtr | pattern, | |||
| wns::Power | requestedTxPower, | |||
| int | numberOfSpatialStreams = 1 | |||
| ) | [virtual] |
| void ofdmaphy::Station::startTransmitting | ( | wns::osi::PDUPtr | sdu, | |
| rise::TransmissionObjectPtr | txObject, | |||
| int | subBand | |||
| ) | [private] |
| virtual void ofdmaphy::Station::startUnicast | ( | wns::osi::PDUPtr | sdu, | |
| wns::node::Interface * | _recipient, | |||
| int | subBand, | |||
| wns::Power | requestedTxPower, | |||
| wns::service::phy::phymode::PhyModeInterfacePtr | _phyModePtr | |||
| ) | [virtual] |
| virtual void ofdmaphy::Station::startUnicast | ( | wns::osi::PDUPtr | sdu, | |
| wns::node::Interface * | _recipient, | |||
| int | subBand, | |||
| wns::Power | requestedTxPower, | |||
| int | numberOfSpatialStreams = 1 | |||
| ) | [virtual] |
| void Station::stopReceiving | ( | ) | [virtual] |
Definition at line 705 of file Station.cpp.
| virtual void ofdmaphy::Station::stopTransmission | ( | wns::osi::PDUPtr | sdu, | |
| int | subBand | |||
| ) | [virtual] |
| void Station::updateRequest | ( | ) | [virtual] |
Reimplemented from wns::service::phy::ofdma::Notification.
Definition at line 341 of file Station.cpp.
friend class ofdmaphy::tests::TransmitterTest [friend] |
Definition at line 79 of file Station.hpp.
std::map<wns::osi::PDUPtr, rise::TransmissionObjectPtr> ofdmaphy::Station::activeTransmissions [private] |
Definition at line 338 of file Station.hpp.
Definition at line 336 of file Station.hpp.
Component* ofdmaphy::Station::component [private] |
Definition at line 342 of file Station.hpp.
bool ofdmaphy::Station::eirpLimited [protected] |
Definition at line 298 of file Station.hpp.
Definition at line 339 of file Station.hpp.
Definition at line 343 of file Station.hpp.
wns::logger::Logger ofdmaphy::Station::logger [private] |
Definition at line 318 of file Station.hpp.
Definition at line 326 of file Station.hpp.
Definition at line 341 of file Station.hpp.
const int ofdmaphy::Station::numAntennas [private] |
Definition at line 330 of file Station.hpp.
Definition at line 322 of file Station.hpp.
receiver::Receiver* ofdmaphy::Station::receiver [private] |
Definition at line 321 of file Station.hpp.
bool ofdmaphy::Station::reverseState [private] |
Definition at line 334 of file Station.hpp.
Definition at line 340 of file Station.hpp.
bool ofdmaphy::Station::supportsBeamforming [private] |
Definition at line 337 of file Station.hpp.
SystemManager* ofdmaphy::Station::systemManager [private] |
Definition at line 319 of file Station.hpp.
wns::Power ofdmaphy::Station::totalPower [private] |
Definition at line 327 of file Station.hpp.
Transmitter<Station>* ofdmaphy::Station::transmitter [private] |
Definition at line 320 of file Station.hpp.
Definition at line 332 of file Station.hpp.
Definition at line 333 of file Station.hpp.
1.5.5