diff --git a/doc-6.0/doxygen/CC/html/dd/db4/_writer_m_t_8h_source.html b/doc-6.0/doxygen/CC/html/dd/db4/_writer_m_t_8h_source.html
index 6d304edf..c33153c3 100644
--- a/doc-6.0/doxygen/CC/html/dd/db4/_writer_m_t_8h_source.html
+++ b/doc-6.0/doxygen/CC/html/dd/db4/_writer_m_t_8h_source.html
@@ -191,221 +191,231 @@
- 143 if (thd.try_join_for(boost::chrono::milliseconds(1))) {
-
-
-
-
-
- 149 supply->errorAlert();
-
- 151 if (thd.joinable()) {
-
-
-
-
-
-
- 159 void waitForLastItem() {
-
-
-
- 163 while (supply->getLastSequence() > lastSeqProcessed.load()) {
- 164 std::this_thread::sleep_for(std::chrono::milliseconds(1));
-
-
-
-
-
- 170 catch (Disruptor::AlertException & e) {
-
-
-
-
-
-
-
-
-
-
-
- 183 auto item = supply->getToWrite();
-
-
-
- 187 boost::this_thread::interruption_point();
- 188 boost::this_thread::disable_interruption d1;
+
+
+
+
+ 147 if (thd.joinable()) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 164 void waitForLastItem() {
+
+
+
+ 168 while (supply->getLastSequence() > lastSeqProcessed.load()) {
+ 169 std::this_thread::sleep_for(std::chrono::milliseconds(1));
+
+
+
+
+
+ 175 catch (Disruptor::AlertException & e) {
+
+
+
+
+
+
+
+
+
+
+
+ 188 auto item = supply->getToWrite();
- 190 int64_t currentSeq = item->getSequence();
-
- 192 std::shared_ptr<RecordOutput> record = item->getRecord();
-
-
- 195 auto header = record->getHeader();
- 196 int bytesToWrite = header->getLength();
-
- 198 writer->recordLengths->push_back(bytesToWrite);
-
- 200 writer->recordLengths->push_back(header->getEntries());
- 201 writer->writerBytesWritten += bytesToWrite;
-
- 203 auto buf = record->getBinaryBuffer();
-
-
- 206 writer->outFile.write(
reinterpret_cast<const char *
>(buf->array()), bytesToWrite);
- 207 if (writer->outFile.fail()) {
-
-
-
-
-
-
- 214 lastSeqProcessed = currentSeq;
+
+
+ 192 boost::this_thread::interruption_point();
+ 193 boost::this_thread::disable_interruption d1;
+
+ 195 int64_t currentSeq = item->getSequence();
+
+ 197 std::shared_ptr<RecordOutput> record = item->getRecord();
+
+
+ 200 auto header = record->getHeader();
+ 201 int bytesToWrite = header->getLength();
+
+ 203 writer->recordLengths->push_back(bytesToWrite);
+
+ 205 writer->recordLengths->push_back(header->getEntries());
+ 206 writer->writerBytesWritten += bytesToWrite;
+
+ 208 auto buf = record->getBinaryBuffer();
+
+
+ 211 writer->outFile.write(
reinterpret_cast<const char *
>(buf->array()), bytesToWrite);
+ 212 if (writer->outFile.fail()) {
+
+
-
- 217 supply->releaseWriter(item);
-
-
-
- 221 catch (Disruptor::AlertException & e) {
-
-
-
- 225 catch (boost::thread_interrupted & e) {
-
-
-
- 229 catch (std::runtime_error & e) {
- 230 std::string err = e.what();
- 231 supply->haveError(
true);
- 232 supply->setError(err);
-
-
-
-
-
-
-
-
- 242 size_t writerBytesWritten = 0ULL;
- 244 uint8_t* firstEvent =
nullptr;
- 246 uint32_t firstEventLength = 0;
- 248 uint32_t maxEventCount = 0;
- 250 uint32_t maxBufferSize = 0;
- 252 uint32_t recordNumber = 1;
- 254 uint32_t compressionThreadCount = 1;
-
- 257 std::string fileName;
-
- 260 std::ofstream outFile;
-
-
-
- 266 std::string dictionary;
-
- 269 std::shared_ptr<ByteBuffer> dictionaryFirstEventBuffer;
-
-
-
- 275 std::shared_ptr<RecordOutput> outputRecord;
-
- 278 std::vector<uint8_t> headerArray;
-
-
-
- 285 std::shared_ptr<std::vector<uint32_t>> recordLengths;
+
+
+
+ 219 lastSeqProcessed = currentSeq;
+
+
+ 222 supply->releaseWriter(item);
+
+
+
+ 226 catch (Disruptor::AlertException & e) {
+
+
+
+ 230 catch (boost::thread_interrupted & e) {
+
+
+ 233 if (supply->getLastSequence() > lastSeqProcessed.load()) {
+ 234 lastSeqProcessed = supply->getLastSequence();
+
+
+
+
+ 239 catch (std::runtime_error & e) {
+ 240 std::string err = e.what();
+ 241 supply->haveError(
true);
+ 242 supply->setError(err);
+
+
+
+
+
+
+
+
+ 252 size_t writerBytesWritten = 0ULL;
+ 254 uint8_t* firstEvent =
nullptr;
+ 256 uint32_t firstEventLength = 0;
+ 258 uint32_t maxEventCount = 0;
+ 260 uint32_t maxBufferSize = 0;
+ 262 uint32_t recordNumber = 1;
+ 264 uint32_t compressionThreadCount = 1;
+
+ 267 std::string fileName;
+
+ 270 std::ofstream outFile;
+
+
+
+ 276 std::string dictionary;
+
+ 279 std::shared_ptr<ByteBuffer> dictionaryFirstEventBuffer;
+
+
+
+ 285 std::shared_ptr<RecordOutput> outputRecord;
- 288 std::shared_ptr<RecordSupply> supply;
+ 288 std::vector<uint8_t> headerArray;
- 292 std::vector<RecordWriter> recordWriterThreads;
-
- 295 std::vector<RecordCompressor> recordCompressorThreads;
+
+
+ 295 std::shared_ptr<std::vector<uint32_t>> recordLengths;
- 298 std::shared_ptr<RecordRingItem> ringItem;
+ 298 std::shared_ptr<RecordSupply> supply;
-
- 302 bool addingTrailer =
true;
- 304 bool addTrailerIndex =
false;
-
-
- 310 bool haveDictionary =
false;
- 312 bool haveFirstEvent =
false;
- 314 bool haveUserHeader =
false;
-
-
-
-
-
-
- 321 WriterMT(
const ByteOrder & order, uint32_t maxEventCount, uint32_t maxBufferSize,
-
-
-
-
-
- 327 uint32_t maxEventCount = 0,
- 328 uint32_t maxBufferSize = 0,
- 329 const std::string & dictionary =
"",
- 330 uint8_t* firstEvent =
nullptr,
- 331 uint32_t firstEventLen = 0,
-
- 333 uint32_t compressionThreads = 1,
- 334 bool addTrailerIndex =
false,
- 335 uint32_t ringSize = 16);
-
- 337 explicit WriterMT(
const std::string & filename);
-
- 339 WriterMT(
const std::string & filename,
const ByteOrder & order, uint32_t maxEventCount, uint32_t maxBufferSize,
-
-
-
-
-
-
-
- 348 std::shared_ptr<ByteBuffer> createDictionaryRecord();
- 349 void writeTrailer(
bool writeIndex, uint32_t recordNum);
-
+ 302 std::vector<RecordWriter> recordWriterThreads;
+
+ 305 std::vector<RecordCompressor> recordCompressorThreads;
+
+ 308 std::shared_ptr<RecordRingItem> ringItem;
+
+
+ 312 bool addingTrailer =
true;
+ 314 bool addTrailerIndex =
false;
+
+
+ 320 bool haveDictionary =
false;
+ 322 bool haveFirstEvent =
false;
+ 324 bool haveUserHeader =
false;
+
+
+
+
+
+
+ 331 WriterMT(
const ByteOrder & order, uint32_t maxEventCount, uint32_t maxBufferSize,
+
+
+
+
+
+ 337 uint32_t maxEventCount = 0,
+ 338 uint32_t maxBufferSize = 0,
+ 339 const std::string & dictionary =
"",
+ 340 uint8_t* firstEvent =
nullptr,
+ 341 uint32_t firstEventLen = 0,
+
+ 343 uint32_t compressionThreads = 1,
+ 344 bool addTrailerIndex =
false,
+ 345 uint32_t ringSize = 16);
+
+ 347 explicit WriterMT(
const std::string & filename);
+
+ 349 WriterMT(
const std::string & filename,
const ByteOrder & order, uint32_t maxEventCount, uint32_t maxBufferSize,
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- 366 void open(
const std::string & filename);
- 367 void open(
const std::string & filename, uint8_t* userHdr, uint32_t userLen,
bool overwrite =
true);
-
- 369 std::shared_ptr<ByteBuffer>
createHeader(uint8_t* userHdr, uint32_t userLen);
-
-
-
-
-
+
+
+
+ 358 std::shared_ptr<ByteBuffer> createDictionaryRecord();
+ 359 void writeTrailer(
bool writeIndex, uint32_t recordNum);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 376 void addEvent(uint8_t* buffer, uint32_t offset, uint32_t length);
- 377 void addEvent(std::shared_ptr<ByteBuffer> buffer);
-
- 379 void addEvent(std::shared_ptr<EvioBank> bank);
- 380 void addEvent(std::shared_ptr<EvioNode> node);
-
-
-
-
-
-
-
-
-
-
+ 376 void open(
const std::string & filename);
+ 377 void open(
const std::string & filename, uint8_t* userHdr, uint32_t userLen,
bool overwrite =
true);
+
+ 379 std::shared_ptr<ByteBuffer>
createHeader(uint8_t* userHdr, uint32_t userLen);
+
+
+
+
+
+
+ 386 void addEvent(uint8_t* buffer, uint32_t offset, uint32_t length);
+ 387 void addEvent(std::shared_ptr<ByteBuffer> buffer);
+
+ 389 void addEvent(std::shared_ptr<EvioBank> bank);
+ 390 void addEvent(std::shared_ptr<EvioNode> node);
+
+
+
+
+
+
+
+
+
+