User Manual, Developers Guide and API Documentation

ReadyForTransmissionBufferEmpty.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 GLUE_ARQFSM_SELECTIVEREPEAT_READYFORTRANSMISSIONBUFFEREMPTY_HPP
00014 #define GLUE_ARQFSM_SELECTIVEREPEAT_READYFORTRANSMISSIONBUFFEREMPTY_HPP
00015 
00016 #include <GLUE/arqfsm/selectiverepeat/BaseState.hpp>
00017 
00018 namespace glue { namespace arqfsm { namespace selectiverepeat {
00019 
00020     class ReadyForTransmissionBufferEmpty :
00021         public BaseState
00022     {
00023     public :
00024         ReadyForTransmissionBufferEmpty(FSMFU::BaseFSM* t) :
00025             BaseState(t, "glue_arqfsm_selectiverepeat_ReadyForTransmissionBufferEmpty")
00026         {} // ReadyForTransmissionBufferEmpty
00027 
00028     private:
00029         virtual void
00030         onInitState();
00031 
00032         virtual StateInterface*
00033         onSendData(const wns::ldk::CompoundPtr& compound);
00034 
00035         virtual StateInterface*
00036         onACK(int sequenceNumber);
00037 
00038         virtual StateInterface*
00039         onWakeup();
00040 
00041         virtual void
00042         onIsAccepting(bool& accepting) const;
00043 
00044         virtual StateInterface*
00045         onTimeout(const wns::ldk::CompoundPtr& compoundBox);
00046     };
00047 
00048 } // selectiverepeat
00049 } // arqfsm
00050 } // glue
00051 
00052 #endif // GLUE_ARQFSM_SELECTIVEREPEAT_READYFORTRANSMISSIONBUFFEREMPTY_HPP
00053 
00054 

Generated on Fri May 25 03:31:59 2012 for openWNS by  doxygen 1.5.5