4 #ifndef EventFilter_StorageManager_DiskWriter_h
5 #define EventFilter_StorageManager_DiskWriter_h
7 #include "boost/date_time/posix_time/posix_time_types.hpp"
8 #include "boost/shared_ptr.hpp"
13 #include "toolbox/lang/Class.h"
14 #include "toolbox/task/WaitingWorkLoop.h"
15 #include "xdaq/Application.h"
166 #endif // EventFilter_StorageManager_DiskWriter_h
void checkForFileTimeOuts(const bool doItNow=false)
boost::shared_ptr< ErrStrConfigList > ErrStrConfigListPtr
void writeEndOfRunMarker()
DiskWriter & operator=(DiskWriter const &)
utils::TimePoint_t lastFileTimeoutCheckTime_
SharedResourcesPtr sharedResources_
boost::shared_ptr< SharedResources > SharedResourcesPtr
void checkStreamChangeRequest()
void writeEventToStreams(const I2OChain &)
DiskWritingParams dwParams_
boost::shared_ptr< EndOfRunReport > EndOfRunReportPtr
boost::shared_ptr< EvtStrConfigList > EvtStrConfigListPtr
void makeEventStream(EventStreamConfigurationInfo &)
void configureEventStreams(EvtStrConfigListPtr)
boost::shared_ptr< DbFileHandler > DbFileHandlerPtr
void configureErrorStreams(ErrStrConfigListPtr)
void reportRemainingLumiSections()
boost::posix_time::ptime TimePoint_t
void closeTimedOutFiles(const utils::TimePoint_t)
std::vector< StreamHandlerPtr > StreamHandlers
boost::posix_time::time_duration timeout_
void processEndOfLumiSection(const I2OChain &)
boost::shared_ptr< StreamHandler > StreamHandlerPtr
StreamHandlers streamHandlers_
DiskWriter(xdaq::Application *, SharedResourcesPtr sr)
void makeFaultyEventStream()
const DbFileHandlerPtr dbFileHandler_
void makeErrorStream(ErrorStreamConfigurationInfo &)
bool writeAction(toolbox::task::WorkLoop *)
void startWorkLoop(std::string workloopName)
StreamsMonitorCollection::EndOfRunReportPtr endOfRunReport_
toolbox::task::WorkLoop * writingWL_