User Manual, Developers Guide and API Documentation

wns::scheduler::harq::HARQEntity Class Reference

There is one HARQEntity per user (link) in BS. UTs only have one.

#include <scheduler/harq/HARQ.hpp>

Inheritance diagram for wns::scheduler::harq::HARQEntity:

Inheritance graph
[legend]
Collaboration diagram for wns::scheduler::harq::HARQEntity:

Collaboration graph
[legend]

List of all members.

Public Member Functions

HARQInterface::DecodeStatusContainer decode ()
void enqueueRetransmission (wns::scheduler::SchedulingTimeSlotPtr &)
wns::scheduler::SchedulingTimeSlotPtr getNextRetransmission (int processID)
 Returns the next HARQ Retransmission block and removes it from the pending retransmission list.
int getNumberOfPeerRetransmissions (int processID) const
int getNumberOfRetransmissions (int processID)
std::list< intgetPeerProcessesWithRetransmissions () const
std::list< intgetProcessesWithRetransmissions () const
 HARQEntity (const HARQEntity &)
 HARQEntity (const wns::pyconfig::View &, int numSenderProcesses, int numReceiverProcesses, int numRVs, int retransmissionLimit, wns::logger::Logger logger)
bool hasCapacity (long int transportBlockID)
bool hasReceiverCapacity ()
bool hasRetransmissions ()
void newTransmission (long int transportBlockID, const wns::scheduler::SchedulingTimeSlotPtr &)
void onTimeSlotReceived (const wns::scheduler::SchedulingTimeSlotPtr &, HARQInterface::TimeSlotInfo)
virtual
wns::scheduler::SchedulingTimeSlotPtr 
peekNextRetransmission (int processID) const
 Returns the next HARQ Retransmission block, but keeps it in the pending retransmission list.
void schedulePeerRetransmissions (int processID)
void sendPendingFeedback ()

Public Attributes

std::auto_ptr< IDecoderdecoder_

Private Attributes

wns::logger::Logger logger_
int numReceiverProcesses_
int numRVs_
int numSenderProcesses_
std::vector< HARQReceiverProcessreceiverProcesses_
int retransmissionLimit_
int scheduledPeerRetransmissionCounter_
std::vector< HARQSenderProcesssenderProcesses_


Detailed Description

Definition at line 270 of file HARQ.hpp.


Constructor & Destructor Documentation

HARQEntity::HARQEntity ( const wns::pyconfig::View config,
int  numSenderProcesses,
int  numReceiverProcesses,
int  numRVs,
int  retransmissionLimit,
wns::logger::Logger  logger 
)

Definition at line 500 of file HARQ.cpp.

HARQEntity::HARQEntity ( const HARQEntity other  ) 

Definition at line 524 of file HARQ.cpp.


Member Function Documentation

HARQInterface::DecodeStatusContainer HARQEntity::decode (  ) 

Definition at line 623 of file HARQ.cpp.

void wns::scheduler::harq::HARQEntity::enqueueRetransmission ( wns::scheduler::SchedulingTimeSlotPtr  ) 

wns::scheduler::SchedulingTimeSlotPtr HARQEntity::getNextRetransmission ( int  processID  ) 

No matter which size [bits]. No matter which PhyMode. The order is defined internally (FCFS).

Definition at line 680 of file HARQ.cpp.

int HARQEntity::getNumberOfPeerRetransmissions ( int  processID  )  const

Definition at line 709 of file HARQ.cpp.

int HARQEntity::getNumberOfRetransmissions ( int  processID  ) 

Definition at line 661 of file HARQ.cpp.

std::list< int > HARQEntity::getPeerProcessesWithRetransmissions (  )  const

Definition at line 692 of file HARQ.cpp.

std::list< int > HARQEntity::getProcessesWithRetransmissions (  )  const

Definition at line 644 of file HARQ.cpp.

bool HARQEntity::hasCapacity ( long int  transportBlockID  ) 

Definition at line 574 of file HARQ.cpp.

bool HARQEntity::hasReceiverCapacity (  ) 

Definition at line 588 of file HARQ.cpp.

bool HARQEntity::hasRetransmissions (  ) 

Definition at line 667 of file HARQ.cpp.

void HARQEntity::newTransmission ( long int  transportBlockID,
const wns::scheduler::SchedulingTimeSlotPtr resourceBlock 
)

Definition at line 547 of file HARQ.cpp.

void HARQEntity::onTimeSlotReceived ( const wns::scheduler::SchedulingTimeSlotPtr resourceBlock,
HARQInterface::TimeSlotInfo  info 
)

Definition at line 609 of file HARQ.cpp.

wns::scheduler::SchedulingTimeSlotPtr HARQEntity::peekNextRetransmission ( int  processID  )  const [virtual]

No matter which size [bits]. No matter which PhyMode. The order is defined internally (FCFS).

Definition at line 686 of file HARQ.cpp.

void HARQEntity::schedulePeerRetransmissions ( int  processID  ) 

Definition at line 715 of file HARQ.cpp.

void HARQEntity::sendPendingFeedback (  ) 

Definition at line 721 of file HARQ.cpp.


Member Data Documentation

Definition at line 337 of file HARQ.hpp.

Definition at line 352 of file HARQ.hpp.

Definition at line 346 of file HARQ.hpp.

Definition at line 348 of file HARQ.hpp.

Definition at line 344 of file HARQ.hpp.

Definition at line 342 of file HARQ.hpp.

Definition at line 350 of file HARQ.hpp.

Definition at line 354 of file HARQ.hpp.

Definition at line 340 of file HARQ.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 27 03:33:04 2012 for openWNS by  doxygen 1.5.5