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

network_NNI.h

Go to the documentation of this file.
00001 #ifndef NETWORK_H
00002 #define NETWORK_H
00003 
00004 #include <netnode.h>
00005 #include "networkdata.h"
00006 #include "networkrun.h"
00007 
00008 class NetworkNetNode;
00009 class NetworkEdit;
00010 class SystemFile;
00011 
00012 class ANetwork : public ANetNodeInstance{
00013 
00014 public :
00015 
00016       ANetwork( NetworkNetNode * PNN );
00017 
00018       RuntimeInfo * runtime( void ) 
00019         { return
00020            ( RT ) ? RT : ( RT = new NetworkRun( this, Data ) );
00021         }
00022 
00023       QWidget * edit( QWidget * parent );
00024       QString acceptable( void );
00025       void commit( void );
00026 
00027       virtual void * data( void ) 
00028         { return (void *)&Data; }
00029 
00030       virtual bool hasDataForFile( SystemFile & SF );
00031       virtual short generateFile( SystemFile &TS,
00032                                    long DevNr );
00033 
00034 protected :
00035 
00036       virtual void setSpecificAttribute( QString & Attr, QString & Value );
00037       virtual void saveSpecificAttribute( QTextStream & TS );
00038 
00039 private :
00040 
00041       NetworkEdit * GUI;
00042       NetworkData Data;
00043       NetworkRun * RT;
00044 };
00045 
00046 #endif

Generated on Sat Nov 5 16:17:53 2005 for OPIE by  doxygen 1.4.2