- Timestamp:
- 03/13/12 15:07:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r12954 r13083 460 460 void DataLogger::AddService(const string& server, const string& service, const string&, bool isCmd) 461 461 { 462 Info("Got request to add service: "+server+"/"+service); 462 463 //dataLogger does not subscribe to commands 463 464 if (isCmd) … … 483 484 if ((server == "FAD_CONTROL") && (service == "START_RUN")) 484 485 fRunNumberService = list[service].dimInfo.get(); 485 if (fDebugIsOn) 486 Debug("Added subscription to " + server + "/" + service); 486 Info("Added subscription to " + server + "/" + service); 487 487 } 488 488 // -------------------------------------------------------------------------- … … 495 495 void DataLogger::RemoveService(string server, string service, bool isCmd) 496 496 { 497 Info("Got request for removing service: "+server+"/"+service); 497 498 if (fDestructing)//this function is called by the super class, after the destructor has deleted its own subscriptions 498 499 return; … … 521 522 fRunNumberService = NULL; 522 523 523 if (fDebugIsOn) 524 { 525 Debug("Removed subscription to " + server + "/" + service); 526 } 524 Info("Removed subscription to " + server + "/" + service); 527 525 } 528 526 // -------------------------------------------------------------------------- … … 533 531 void DataLogger::RemoveAllServices(const string& server) 534 532 { 533 Info("Got request for removing all services from: "+server); 535 534 if (fServiceSubscriptions.find(server)==fServiceSubscriptions.end()) 536 535 { … … 1029 1028 return; 1030 1029 } 1030 cout.precision(20); 1031 cout << "Orig timestamp: " << Time(I->getTimestamp(), I->getTimestampMillisecs()*1000).Mjd() << endl; 1031 1032 // FIXME: Here we have to check if we have received the 1032 1033 // service with the run-number.
Note:
See TracChangeset
for help on using the changeset viewer.