ChannelControl.cc File Reference

#include "ChannelControl.h"
#include "FWMath.h"
#include <cassert>

Defines

#define coreEV   (ev.isDisabled()||!coreDebug) ? ev : ev << "ChannelControl: "

Functions

 Define_Module (ChannelControl)
std::ostream & operator<< (std::ostream &os, const ChannelControl::HostEntry &h)
std::ostream & operator<< (std::ostream &os, const ChannelControl::TransmissionList &tl)


Define Documentation

#define coreEV   (ev.isDisabled()||!coreDebug) ? ev : ev << "ChannelControl: "


Function Documentation

Define_Module ( ChannelControl   ) 

std::ostream& operator<< ( std::ostream &  os,
const ChannelControl::TransmissionList tl 
)

00036 {
00037     for (ChannelControl::TransmissionList::const_iterator it = tl.begin(); it != tl.end(); ++it)
00038         os << endl << *it;
00039     return os;
00040 }

std::ostream& operator<< ( std::ostream &  os,
const ChannelControl::HostEntry h 
)

00029 {
00030     os << h.host->getFullPath() << " (x=" << h.pos.x << ",y=" << h.pos.y << "), "
00031        << h.neighbors.size() << " neighbor(s)";
00032     return os;
00033 }


Generated on Fri Mar 20 18:51:16 2009 for INET Framework for OMNeT++/OMNEST by  doxygen 1.5.5