inet::InetPacketBytesPrinter::InetPacketBytesPrinter |
( |
| ) |
|
|
inline |
bool showEncapsulatedPackets
Definition: InetPacketBytesPrinter.cc:25
virtual inet::InetPacketBytesPrinter::~InetPacketBytesPrinter |
( |
| ) |
|
|
inlinevirtual |
int inet::InetPacketBytesPrinter::getScoreFor |
( |
cMessage * |
msg | ) |
const |
|
overridevirtual |
41 return msg->isPacket() ? 18 : 0;
void inet::InetPacketBytesPrinter::printMessage |
( |
std::ostream & |
os, |
|
|
cMessage * |
msg |
|
) |
| const |
|
overridevirtual |
51 for (cPacket *pk = dynamic_cast<cPacket *>(msg);
showEncapsulatedPackets && pk; pk = pk->getEncapsulatedPacket()) {
52 std::ostringstream out;
53 out << pk->getClassName() <<
":" << pk->getByteLength() <<
" bytes";
55 out << INFO_SEPAR << outs;
bool showEncapsulatedPackets
Definition: InetPacketBytesPrinter.cc:25
bool inet::InetPacketBytesPrinter::showEncapsulatedPackets |
|
mutableprotected |
The documentation for this class was generated from the following file: