ChannelControl.cc File Reference

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

Defines

#define coreEV   (ev.disabled()||!coreDebug) ? std::cout : 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.disabled()||!coreDebug) ? std::cout : 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->fullPath() << " (x=" << h.pos.x << ",y=" << h.pos.y << "), "
00031        << h.neighbors.size() << " neighbor(s)";
00032     return os;
00033 }


Generated on Wed Apr 4 13:20:18 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7