Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/paramin-beta/commandlineinfo.h
[mareframe] / trunk / paramin-beta / commandlineinfo.h Repository:
ViewVC logotype

Annotation of /trunk/paramin-beta/commandlineinfo.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef commandlineinfo_h
2 :     #define commandlineinfo_h
3 :    
4 :     #include "charptrvector.h"
5 :    
6 :     class CommandLineInfo {
7 :     public:
8 :     CommandLineInfo();
9 :     ~CommandLineInfo();
10 :     void read(int aNumber, char *const aVector[]);
11 :     void readNetworkInfo();
12 :     void showCorrectUsage(char* error);
13 :     void showCorrectUsage();
14 :     void showUsage();
15 :     int getNumProc() { return numProc; };
16 :     int getWaitMaster() { return waitMaster; };
17 :     double getRunMultiple() { return runMultiple; };
18 :     double getBestMultiple() { return bestMultiple; };
19 :     double getHostMultiple() { return hostMultiple; };
20 :     int getScale() { return scale; };
21 :     char* getInputFilename();
22 :     char* getOutputFilename();
23 :     char* getOptFilename();
24 :     int getOptInfoFileGiven();
25 :     const CharPtrVector& getFunction();
26 :     private:
27 :     CharPtrVector inputfile;
28 :     CharPtrVector outputfile;
29 :     CharPtrVector optfile;
30 :     CharPtrVector networkfile;
31 :     CharPtrVector function;
32 :     int numProc;
33 :     int scale;
34 :     // Time in sec. for how long slave will wait for
35 :     // a message from master before bailing out.
36 :     // value of 0 means that slave will check for a message from master and
37 :     // immediately return even if there is no message from master
38 :     // value of -1 will have slave wait forever for a message. Default value
39 :     // set to 300.
40 :     int waitMaster;
41 :     double runMultiple;
42 :     double hostMultiple;
43 :     double bestMultiple;
44 :     };
45 :    
46 :     #endif

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge