www.pudn.com > 3.rar > layer0.h, change:2004-03-23,size:859b


//-------------------------------------------------------------------
//  file name: layer.h
// 
//    - header file for the layer0 class
//    - see the .cpp file for more details
//
//-------------------------------------------------------------------


#ifndef __LAYER0_H
#define __LAYER0_H


#include <omnetpp.h>
#include "globaldef.h"

/** layer0 simple module class. it is responsible for:
 *- the communication with the manager
 *- for delivering the messages to the nodes within the transmission range 
 *- refreshing the display
 *- computing and updating the RWP data structures */
class layer0 : public cSimpleModule
{
    /** omnet++ specific code */
	Module_Class_Members(layer0,cSimpleModule,16384);
	
	/** the initialization function */
	void initialize();
	
	/** main loop function */
	void activity();
};


Define_Module( layer0 );


#endif