Class OutputCollector

Class Documentation

class OutputCollector

Public Functions

OutputCollector()
OutputCollector(std::string outFile)
template<class T>
OutputCollector(T &&arg)
OutputCollector(const OutputCollector&)
void Write(long sourceId, const std::string &best1, const std::string &bestn, bool nbest)
void setPrintingStrategy(Ptr<PrintingStrategy> strategy)

Protected Types

typedef std::map<long, std::pair<std::string, std::string>> Outputs

Protected Attributes

Outputs outputs_
long nextId_
UPtr<std::ostream> outStrm_
Ptr<PrintingStrategy> printing_
std::mutex mutex_