print the dataLogger's current state. invoked by the PRINT command
1566 Message(
"------------------------------------------");
1567 Message(
"------- DATA LOGGER CURRENT STATE --------");
1568 Message(
"------------------------------------------");
1571 #if BOOST_VERSION < 104600 1572 Message(
"File path: " + boost::filesystem::system_complete(boost::filesystem::path(
fFilePath)).directory_string());
1574 Message(
"File path: " + boost::filesystem::system_complete(boost::filesystem::path(
fFilePath)).parent_path().
string());
1583 str <<
"Active Run Numbers:";
1585 str <<
" " << it->runNumber;
1591 Message(
"------------ OPEN FILES ----------------");
1606 Message(
"FITS output disabled at compilation");
1608 Message(
"----------------- STATS ------------------");
1616 Message(
"Statistics updates are currently disabled.");
1618 str <<
"Total Size written: " << statVar.
sizeWritten/1000 <<
" kB";
1621 str <<
"Disk free space: " << statVar.
freeSpace/1000000 <<
" MB";
1624 Message(
"------------ DIM SUBSCRIPTIONS -----------");
1631 for (map<string, SubscriptionType>::const_iterator it2=it->second.begin(); it2!=it->second.end(); it2++)
1634 Message(
"--------------- BLOCK LIST ---------------");
1640 Message(
"--------------- ALLOW LIST ---------------");
1646 Message(
"-------------- GROUPING LIST -------------");
1647 Message(
"The following servers and/or services will");
1648 Message(
"be grouped into a single fits file:");
1654 Message(
"------------------------------------------");
1655 Message(
"-------- END OF DATA LOGGER STATE --------");
1656 Message(
"------------------------------------------");
DimWriteStatistics fFilesStats
uint32_t numSubscriptions
int GetCurrentState() const
return the current state of the machine
ofstream fNightlyLogFile
ofstream for the NightlyLogfile
string fFilePath
ofstream for the Nightly report file
set< string > fBlackList
black/white listing
uint16_t GetUpdateInterval() const
uint32_t fRunNumberTimeout
old run numbers time-out delay (in seconds)
const Stats & GetTotalSizeWritten() const
SubscriptionsListType fServiceSubscriptions
All the services to which we have subscribed to, sorted by server name.
NumSubAndFitsType fNumSubAndFitsData
list< RunNumberType > fRunNumber
run numbers
int Message(const std::string &str)
string fFullNightlyLogFileName
full name of the nightly log file
set< string > fGrouping
list of services to be grouped