Changeset 10587 for trunk/FACT++/src/ftmctrl.cc
- Timestamp:
- 05/04/11 20:41:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r10581 r10587 418 418 fIsVerbose(true), fIsDynamicOut(false), fIsHexOutput(false) 419 419 { 420 cout << "xFTM" << endl;421 420 SetLogStream(&imp); 422 cout << "check" << endl;423 421 } 424 422 … … 1236 1234 WindowLog &wout = shell.GetStreamOut(); 1237 1235 */ 1238 cout << "Start" << endl;1239 1236 1240 1237 if (conf.Has("log")) 1241 1238 if (!wout.OpenLogFile(conf.Get<string>("log"))) 1242 1239 wout << kRed << "ERROR - Couldn't open log-file " << conf.Get<string>("log") << ": " << strerror(errno) << endl; 1243 cout << "Start" << endl;1244 1240 1245 1241 // Start io_service.Run to use the StateMachineImp::Run() loop 1246 1242 // Start io_service.run to only use the commandHandler command detaching 1247 1243 StateMachineFTM<S, T> io_service(wout); 1248 cout << "Start" << endl;1249 1244 if (!io_service.SetConfiguration(conf)) 1250 1245 return -1; 1251 1246 1252 cout << "Start" << endl;1253 1247 io_service.Run(); 1254 1248
Note:
See TracChangeset
for help on using the changeset viewer.