MacClMsgGetAddr Class Reference

#include <mmac-clmsg.h>

Inheritance diagram for MacClMsgGetAddr:

Inheritance graph
[legend]
Collaboration diagram for MacClMsgGetAddr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MacClMsgGetAddr ()
 MacClMsgGetAddr (DestinationType dtype, int value)
 MacClMsgGetAddr (MacClMsgGetAddr *m)
ClMessagecopy ()
void setAddr (int addr)
int getAddr ()

Private Attributes

int addr_

Detailed Description

Message to get the mac address for a mac module

Definition at line 51 of file mmac-clmsg.h.


Constructor & Destructor Documentation

MacClMsgGetAddr::MacClMsgGetAddr (  ) 

Constructor #1

Definition at line 41 of file mmac-clmsg.cc.

Referenced by copy().

MacClMsgGetAddr::MacClMsgGetAddr ( DestinationType  dtype,
int  value 
)

Constructor #2

Definition at line 42 of file mmac-clmsg.cc.

MacClMsgGetAddr::MacClMsgGetAddr ( MacClMsgGetAddr m  ) 

Copy constructor

Definition at line 47 of file mmac-clmsg.cc.


Member Function Documentation

ClMessage * MacClMsgGetAddr::copy (  )  [virtual]

Creates a copy of the object

Returns:
Pointer to a copy of the object

Reimplemented from ClMessage.

Definition at line 59 of file mmac-clmsg.cc.

References MacClMsgGetAddr().

Here is the call graph for this function:

void MacClMsgGetAddr::setAddr ( int  addr  ) 

Sets the address for mac layer

Parameters:
addr Address for mac layer

Definition at line 49 of file mmac-clmsg.cc.

References addr_.

int MacClMsgGetAddr::getAddr (  ) 

Get the the address for mac layer

Returns:
Address for mac layer

Definition at line 54 of file mmac-clmsg.cc.

References addr_.

Referenced by MLLModule::getDownAddr().


Member Data Documentation

int MacClMsgGetAddr::addr_ [private]

Address for mac layer

Definition at line 82 of file mmac-clmsg.h.

Referenced by getAddr(), and setAddr().


The documentation for this class was generated from the following files:
Generated on Wed Nov 26 15:48:56 2008 for NS-MIRACLE library by  doxygen 1.5.2