Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

NicEntryDebug.h

00001 /* -*- mode:c++ -*- ********************************************************
00002  * file:        NicEntryDebug.h
00003  *
00004  * author:      Daniel Willkomm
00005  *
00006  * copyright:   (C) 2005 Telecommunication Networks Group (TKN) at
00007  *              Technische Universitaet Berlin, Germany.
00008  *
00009  *              This program is free software; you can redistribute it 
00010  *              and/or modify it under the terms of the GNU General Public 
00011  *              License as published by the Free Software Foundation; either
00012  *              version 2 of the License, or (at your option) any later 
00013  *              version.
00014  *              For further information see file COPYING 
00015  *              in the top level directory
00016  ***************************************************************************
00017  * part of:     framework implementation developed by tkn
00018  * description: Class to store information about a nic for the 
00019  *              ChannelControl module
00020  **************************************************************************/
00021 
00022 #ifndef NICENTRYDEBUG_H
00023 #define NICENTRYDEBUG_H
00024 
00025 #include "NicEntry.h"
00026 
00027 #include <map>
00028 #include <vector>
00029 
00038 class NicEntryDebug: public NicEntry
00039 {
00040   protected:
00042     int inCnt;
00043     
00045     int outCnt;
00046     
00048     std::vector<cGate* > freeInGates;
00049     
00051     std::vector<cGate* > freeOutGates;
00052         
00053   protected:
00055     cGate* requestInGate(void);
00056         
00058     cGate* requestOutGate(void);
00059         
00060   public:
00064     NicEntryDebug(bool debug) : NicEntry(debug), inCnt(0), outCnt(0) {};
00065   
00070     virtual ~NicEntryDebug() {}
00071 
00073     virtual void connectTo(NicEntry*);
00074     
00076     virtual void disconnectFrom(NicEntry*);
00077 };
00078 
00079 #endif

Generated on Fri Jan 12 08:29:32 2007 for Mobility Framework by  doxygen 1.4.4