tahamajs's picture
download
raw
509 Bytes
#ifndef GENRE_PROCESSOR_HPP
#define GENRE_PROCESSOR_HPP
#include <string>
#include <vector>
#include "named_pipe.hpp"
#include "log.hpp"
class GenreProcessor {
public:
GenreProcessor(const std::string& genre_name, Log log);
void run();
~GenreProcessor();
private:
std::string genre_name_;
int count_ = 0;
NamedPipeClient genre_counter_pipe_;
NamedPipeServer server_pipe_;
Log log_;
void updateCount(const std::string& new_count);
void sendResult();
};
#endif

Xet Storage Details

Size:
509 Bytes
·
Xet hash:
cd475a5fdfb224c3949944570777f54e0c2c20bfc62f9e208a14fe610f630d1b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.