NoCSchedulingEntity Class Reference

#include <schedulingentity.h>

Collaboration diagram for NoCSchedulingEntity:

List of all members.

Public Member Functions

 NoCSchedulingEntity (Message *m)
 ~NoCSchedulingEntity ()
MessagegetMessage () const
TTime getStartTime () const
void setStartTime (const TTime t)
TTime getDuration () const
void setDuration (const TTime d)
RoutegetRoute () const
void setRoute (Route *r)
SlotReservations getSlotReservations () const
void setSlotReservations (const SlotReservations &s)
bool resourcesReserved () const
void resourcesReserved (const bool flag)
void setCost (double c)
double getCost () const
bool operator< (const NoCSchedulingEntity &s)
ostream & print (ostream &out) const

Private Attributes

TTime startTime
TTime duration
SlotReservations slotReservations
bool reserved
double cost

Detailed Description

NoCSchedulingEntity SchedulingEntity class used for NoC scheduling

Constructor & Destructor Documentation

NoCSchedulingEntity::NoCSchedulingEntity ( Message m  )  [inline]

References route.

NoCSchedulingEntity::~NoCSchedulingEntity (  )  [inline]

References route.

Member Function Documentation

double NoCSchedulingEntity::getCost (  )  const [inline]

References cost.

Referenced by operator<().

bool NoCSchedulingEntity::operator< ( const NoCSchedulingEntity s  )  [inline]

References getCost().

Here is the call graph for this function:

ostream & NoCSchedulingEntity::print ( ostream &  out  )  const

print () Output a scheduling entity to the given stream.

References getDuration(), Message::getId(), getMessage(), getRoute(), getStartTime(), Route::print(), and slotReservations.

Referenced by SlotTable::reserveSlots().

Here is the call graph for this function:

void NoCSchedulingEntity::resourcesReserved ( const bool  flag  )  [inline]

References reserved.

bool NoCSchedulingEntity::resourcesReserved (  )  const [inline]
void NoCSchedulingEntity::setCost ( double  c  )  [inline]

References cost.

Member Data Documentation

double NoCSchedulingEntity::cost [private]

Referenced by getCost(), and setCost().

Referenced by resourcesReserved().

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