User Manual, Developers Guide and API Documentation

CarrierSensing.hpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  * WNS (Wireless Network Simulator)                                           *
00003  * __________________________________________________________________________ *
00004  *                                                                            *
00005  * Copyright (C) 2004-2006                                                    *
00006  * Chair of Communication Networks (ComNets)                                  *
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany                                 *
00008  * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242                   *
00009  * email: wns@comnets.rwth-aachen.de                                          *
00010  * www: http://wns.comnets.rwth-aachen.de                                     *
00011  ******************************************************************************/
00012 
00013 #ifndef WNS_SERVICE_PHY_COPPER_CARRIERSENSING_HPP
00014 #define WNS_SERVICE_PHY_COPPER_CARRIERSENSING_HPP
00015 
00016 namespace wns { namespace service { namespace phy { namespace copper {
00017 
00018     class CarrierSensing
00019     {
00020     public:
00024         virtual
00025         ~CarrierSensing()
00026         {}
00027 
00032         virtual void
00033         onCarrierIdle() = 0;
00034 
00039         virtual void
00040         onCarrierBusy() = 0;
00041 
00045         virtual void
00046         onCollision() = 0;
00047     };
00048 
00049 } // copper
00050 } // phy
00051 } // service
00052 } // wns
00053 
00054 #endif // WNS_SERVICE_PHY_CARRIERSENSING_HPP
00055 
00056 

Generated on Sun May 27 03:31:54 2012 for openWNS by  doxygen 1.5.5