#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include "PEtherApp.h"
#include <string>
#include "INETDefs.h"
#include "MACAddress.h"
#include "BA_API.h"
#include "InformationItem.h"
#include "IITableAccess.h"
#include "IITable.h"
#include "BasePSApp.h"
#include "Ieee802Ctrl_m.h"
#include <omnetpp.h>
#include <sys/types.h>
#include <iostream>
Functions | |
Define_Module (PEtherApp) | |
std::ostream & | operator<< (std::ostream &os, const struct StreamData *data) |
The Publish Ethernet Application class source
std::ostream& operator<< | ( | std::ostream & | os, | |
const struct StreamData * | data | |||
) |
00032 { 00033 os << data->FID << endl; 00034 os << "Path:"; 00035 for(uint i=0;i<data->path.size();i++) 00036 os << data->path[i] << ", "; 00037 os << endl; 00038 os << data->byteSize << " : "; 00039 if(data->active) 00040 os << " (Active)"; 00041 else 00042 os << " (Paused)"; 00043 return os; 00044 };