Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIG_LanguageParameters.h

00001 #ifndef SIGEL_ROBOT_SIG_LANGUAGEPARAMETERS_H
00002 #define SIGEL_ROBOT_SIG_LANGUAGEPARAMETERS_H
00003 
00004 namespace SIGEL_Robot { class SIG_LanguageParameters; }
00005 
00006 #include <qdict.h>
00007 #include <qtextstream.h>
00008 #include <qstring.h>
00009 #include "SIGEL_Robot/SIG_CommandParameters.h"
00010 
00011 namespace SIGEL_Robot {
00019         class SIG_LanguageParameters {
00020         private:
00025                 QDict<SIG_CommandParameters> allowedCommands;
00030                 int bitsPerRegister;
00031 
00035                 int memSize;
00036 
00040                 int maximalDelayTime;
00041 
00042         public:
00047                 SIG_LanguageParameters (void);
00053                 SIG_LanguageParameters (QTextStream & tx, bool nir = false);
00057                 ~SIG_LanguageParameters (void);
00058 
00062                 void addCommand (QString name, SIG_CommandParameters *cmdP);
00063 
00067                 void removeCommand( QString name );
00068 
00072                 bool hasCommand (QString name) const;
00076                 SIG_CommandParameters *getCommand (QString name) const;
00077 
00082                 void setRegisterWidth (int width);
00086                 int getRegisterWidth (void) const;
00087 
00091                 void setMemorySize (int amount);
00092 
00096                 int getMemorySize (void) const;
00097 
00101                 void setMaximalDelayTime( int amount );
00102 
00106                 int getMaximalDelayTime( void ) const;
00107 
00113                 void writeToFileTransfer (QTextStream & tx) const;
00114         };
00115 }
00116 
00117 #endif

Generated at Mon Sep 3 01:32:26 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000