INET Framework for OMNeT++/OMNEST
STPTCN Class Reference

#include <STPTCN_m.h>

List of all members.

Public Member Functions

 STPTCN (const char *name=NULL, int kind=0)
 STPTCN (const STPTCN &other)
virtual ~STPTCN ()
STPTCNoperator= (const STPTCN &other)
virtual STPTCNdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual unsigned int getVlan () const
virtual void setVlan (unsigned int vlan)

Protected Member Functions

bool operator== (const STPTCN &)

Protected Attributes

unsigned int vlan_var

Private Member Functions

void copy (const STPTCN &other)

Detailed Description

Class generated from ansa/switch/stp/STPTCN.msg by opp_msgc.

 packet STPTCN {
 	unsigned int vlan;
 }
 

Definition at line 26 of file STPTCN_m.h.


Constructor & Destructor Documentation

STPTCN::STPTCN ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

STPTCN::STPTCN ( const STPTCN other)
virtual STPTCN::~STPTCN ( ) [virtual]

Member Function Documentation

void STPTCN::copy ( const STPTCN other) [private]
virtual STPTCN* STPTCN::dup ( ) const [inline, virtual]

Definition at line 43 of file STPTCN_m.h.

{return new STPTCN(*this);}
virtual unsigned int STPTCN::getVlan ( ) const [virtual]

Referenced by Stp::handleTCN().

STPTCN& STPTCN::operator= ( const STPTCN other)
bool STPTCN::operator== ( const STPTCN ) [protected]
virtual void STPTCN::parsimPack ( cCommBuffer *  b) [virtual]

Referenced by doPacking().

virtual void STPTCN::parsimUnpack ( cCommBuffer *  b) [virtual]

Referenced by doUnpacking().

virtual void STPTCN::setVlan ( unsigned int  vlan) [virtual]

Referenced by stpi::generateTCN().


Member Data Documentation

unsigned int STPTCN::vlan_var [protected]

Definition at line 29 of file STPTCN_m.h.


The documentation for this class was generated from the following file: