EcoliSimulator  2.0.1a
mainFunctions.h
Go to the documentation of this file.
1 //
2 // mainFunctions.h
3 // Ecoli_4.1.4c
4 //
5 // Created by Stefano Belloni on 24/02/16.
6 // Copyright © 2016 Stefano Belloni. All rights reserved.
7 //
8 
9 //#ifndef mainFunctions_h
10 //#define mainFunctions_h
11 
12 
13 #include <thread>
14 
22 void initial_page();
23 
28 void seed();
29 
30 
41 void GestioneArgv(int argc, const char * argv[], string &versione_Matlab);
42 
43 int GestioneArgvV2(int argc, const char * argv[], string &versione_Matlab, int &readfromfile);
44 
48 int import_path(string versione_MATLAB);
49 
54 void ErrorImportPath();
55 
62 int set_MODE_Program(string &versione_Matlab, int &demo_mode, int readfromfile);
63 
64 
71 int SetMainFolder(int demo_mode);
72 
73 
78 void ReadableFileRisp(int &stat_sim, int demo_mode);
79 
80 
87 int FunzBiginEnd(int &number_routine, int &cont_gen_sim, int &read_par_file, string &versione_Matlab,vector<string> *pt_name_file_satistics, vector<string> *pt_name_info_satistics, int &demo_mode, int &stat_sim);
88 
97 int ConditionEnd(int &read_par_file, int &stat_sim, int &BiginEnd);
98 
99 
104 void last_deleting();
105 
109 int save_path(string versione_MATLAB);
110 
111 
117 void CopyEcoliFiles();
118 
119 
124 int Congedo(int number_routine);
125 
126 //#endif /* mainFunctions_h */
127 
128 
129 //void seedRandomObj(int n_this_thread, long hash_code);
130 void seedRandomObj(int n_this_thread, std::thread::id hash_code);
131 
132 
133 int writeLog(string topic, string message);
int Congedo(int number_routine)
Definition: FunzBiginEnd.cpp:288
int save_path(string versione_MATLAB)
Definition: save_path.cpp:112
void GestioneArgv(int argc, const char *argv[], string &versione_Matlab)
void initial_page()
Definition: initial_page.cpp:75
void ReadableFileRisp(int &stat_sim, int demo_mode)
Definition: FunzBiginEnd.cpp:305
int set_MODE_Program(string &versione_Matlab, int &demo_mode, int readfromfile)
Definition: Set_MODE_Program.cpp:36
int import_path(string versione_MATLAB)
Definition: save_path.cpp:40
int FunzBiginEnd(int &number_routine, int &cont_gen_sim, int &read_par_file, string &versione_Matlab, vector< string > *pt_name_file_satistics, vector< string > *pt_name_info_satistics, int &demo_mode, int &stat_sim)
Definition: FunzBiginEnd.cpp:38
void seed()
Definition: FunzRand.cpp:36
void ErrorImportPath()
int ConditionEnd(int &read_par_file, int &stat_sim, int &BiginEnd)
Definition: FunzBiginEnd.cpp:139
void CopyEcoliFiles()
Definition: Desktop_Folder_LateX.cpp:251
int writeLog(string topic, string message)
this function write to the Log file.
Definition: FunzBiginEnd.cpp:654
int SetMainFolder(int demo_mode)
Definition: Desktop_Folder_LateX.cpp:36
int GestioneArgvV2(int argc, const char *argv[], string &versione_Matlab, int &readfromfile)
New version of gestion Arg.
Definition: FunzBiginEnd.cpp:385
void last_deleting()
Definition: last_deleting.cpp:11
void seedRandomObj(int n_this_thread, std::thread::id hash_code)