EPONImplementationforOMNet++  0.8Beta
_srv_item Struct Reference

The Service Item currently holds only name and priority. More...

#include <ServiceConfig.h>

List of all members.

Public Member Functions

bool operator< (const struct _srv_item &b) const

Public Attributes

std::string name
double priority
uint16_t vlan
double msr
double mrr

Friends

std::ostream & operator<< (std::ostream &out, const struct _srv_item &sit)

Detailed Description

The Service Item currently holds only name and priority.

Generally it should have all the attributes/parameters that characterize this service.


Member Function Documentation

bool _srv_item::operator< ( const struct _srv_item b) const [inline]
                                                       {
            EV<<"Called"<<endl;
            return (priority > b.priority);}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const struct _srv_item sit 
) [friend]
                                                                       {
      out<<"Service Name="<<sit.name<<", VlanID="<<sit.vlan<<", Priority="<<sit.priority <<", MSR="<<sit.msr;
      return out;
}

Member Data Documentation

std::string _srv_item::name
uint16_t _srv_item::vlan

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines